kumara_faith
Well-known Member
- Joined
- Aug 19, 2006
- Messages
- 951
- Office Version
- 365
HI,
I have the following table:
I am trying to have the Results column as follows:
1) If the Code is not "Standard" and there is a word in column "Type", the Results should be the value in the column "Type"
2) If the Code is "Standard" and there is #N/A in column "Type", then the Results should be "Standard"
3) If the Code is not "Standard" and there is #N/A in column "Type", the the Results should be "Error"
I am trying with this formula but did not quite get there.
Appreciate all the help.
I have the following table:
Excel Workbook | |||||
---|---|---|---|---|---|
B | C | D | |||
10 | CODE | TYPE | RESULTS | ||
11 | DC | Police | Police | ||
12 | DC | Police | Police | ||
13 | DC | #N/A | ERROR | ||
14 | DC | #N/A | ERROR | ||
15 | STANDARD | #N/A | STANDARD | ||
Sheet1 |
I am trying to have the Results column as follows:
1) If the Code is not "Standard" and there is a word in column "Type", the Results should be the value in the column "Type"
2) If the Code is "Standard" and there is #N/A in column "Type", then the Results should be "Standard"
3) If the Code is not "Standard" and there is #N/A in column "Type", the the Results should be "Error"
I am trying with this formula but did not quite get there.
Code:
=IF(AND(ISNA(C3),B3="STANDARD"),"STANDARD","ERROR")
Appreciate all the help.