brenda1996
New Member
- Joined
- Aug 30, 2018
- Messages
- 29
Hi all and thanks in advance for your help.
I am working a simple spreadsheet I can't wrap my head around a formula to return either OK or NOT OK.
The formula is =IF(AND(D2="C00"),OR(AND(LEFT(E2,1)="C"),OR(AND(LEFT(F2,1)="C"),"OK","NOT OKAY")))
I would like to Search for Column D2 C00 and in E2 and F2 any word that begins with a C would return a value of OK, else NOT OKAY.
This formula would then carry down to other lines.
I am missing something simple. The formula works but returns either a TRUE or FALSE instead of and OK or NOT OKAY.
Once that formula works I want to add to it to also return a OK value if anything in Column D begins with a R by using the LEFT(D2,1="R") statement but baby steps to get there.
If anyone can see what I am doing wrong with the formula above I sure would appreciate some guidance.
Kind regards and thanks in advance!
Brenda
I am working a simple spreadsheet I can't wrap my head around a formula to return either OK or NOT OK.
The formula is =IF(AND(D2="C00"),OR(AND(LEFT(E2,1)="C"),OR(AND(LEFT(F2,1)="C"),"OK","NOT OKAY")))
I would like to Search for Column D2 C00 and in E2 and F2 any word that begins with a C would return a value of OK, else NOT OKAY.
This formula would then carry down to other lines.
I am missing something simple. The formula works but returns either a TRUE or FALSE instead of and OK or NOT OKAY.
Once that formula works I want to add to it to also return a OK value if anything in Column D begins with a R by using the LEFT(D2,1="R") statement but baby steps to get there.
If anyone can see what I am doing wrong with the formula above I sure would appreciate some guidance.
Kind regards and thanks in advance!
Brenda