Imran Azam
Board Regular
- Joined
- Mar 15, 2011
- Messages
- 103
Hi ,
I have the look up table below
[TABLE="width: 30"]
<tbody>[TR]
[TD] A[/TD]
[TD] B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]STATUS[/TD]
[/TR]
[TR]
[TD]YES[/TD]
[TD]YES[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]GOOD[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]NO[/TD]
[TD]NO[/TD]
[TD]FAST[/TD]
[TD]BAD[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 409"]
<tbody>[TR]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
i have a table of data below and i need to pick the correct status based on the rules in the look up table.
[TABLE="width: 40"]
<tbody>[TR]
[TD]name[/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]STATUS[/TD]
[/TR]
[TR]
[TD]craig[/TD]
[TD]yes[/TD]
[TD]yes[/TD]
[TD]no[/TD]
[TD]no[/TD]
[TD]fast[/TD]
[TD]GOOD[/TD]
[/TR]
</tbody>[/TABLE]
now i used the following statement to pick the status ( good) up IF(AND($A$2=B8,$B$2=C8),$F$2,IF(AND($C$3=D8,$D$3=E8,$E$3=F8),$F$3,""))
i want to know how i can pull back tWo true value because, the above data matches both the good and bad status rule , is this possible? IT SHOULD looks like the below
[TABLE="width: 40"]
<tbody>[TR]
[TD]name[/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]STATUS[/TD]
[TD]status2[/TD]
[/TR]
[TR]
[TD]craig[/TD]
[TD]yes[/TD]
[TD]yes[/TD]
[TD]no[/TD]
[TD]no[/TD]
[TD]fast[/TD]
[TD]GOOD[/TD]
[TD]BAD[/TD]
[/TR]
</tbody>[/TABLE]
I have the look up table below
[TABLE="width: 30"]
<tbody>[TR]
[TD] A[/TD]
[TD] B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]STATUS[/TD]
[/TR]
[TR]
[TD]YES[/TD]
[TD]YES[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]GOOD[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]NO[/TD]
[TD]NO[/TD]
[TD]FAST[/TD]
[TD]BAD[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 409"]
<tbody>[TR]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
i have a table of data below and i need to pick the correct status based on the rules in the look up table.
[TABLE="width: 40"]
<tbody>[TR]
[TD]name[/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]STATUS[/TD]
[/TR]
[TR]
[TD]craig[/TD]
[TD]yes[/TD]
[TD]yes[/TD]
[TD]no[/TD]
[TD]no[/TD]
[TD]fast[/TD]
[TD]GOOD[/TD]
[/TR]
</tbody>[/TABLE]
now i used the following statement to pick the status ( good) up IF(AND($A$2=B8,$B$2=C8),$F$2,IF(AND($C$3=D8,$D$3=E8,$E$3=F8),$F$3,""))
i want to know how i can pull back tWo true value because, the above data matches both the good and bad status rule , is this possible? IT SHOULD looks like the below
[TABLE="width: 40"]
<tbody>[TR]
[TD]name[/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]STATUS[/TD]
[TD]status2[/TD]
[/TR]
[TR]
[TD]craig[/TD]
[TD]yes[/TD]
[TD]yes[/TD]
[TD]no[/TD]
[TD]no[/TD]
[TD]fast[/TD]
[TD]GOOD[/TD]
[TD]BAD[/TD]
[/TR]
</tbody>[/TABLE]