ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   IF AND (https://www.excelbanter.com/excel-worksheet-functions/210664-if.html)

Bob

IF AND
 
If J2 = "to"

AND

If L2 = any alpha value and N2 = a blank cell (empty), then Y2 = 1

OR

If L2 = a blank cell (empty) and N2 = any alpha value, then Y2 = 1

OR

If L2 = any alpha value and N2 = any alpha value, then Y2 = 0.5


Can anyone kindly provide a formula for this? Thanks.

Bob


Sheeloo[_3_]

IF AND
 
Try

=IF(J2="To",IF(AND(L2<"",N2<""),0.5,IF(OR(L2<"" ,N2<""),1,"L2 & N2 both
blank")),"J2 < TO")


"bob" wrote:

If J2 = "to"

AND

If L2 = any alpha value and N2 = a blank cell (empty), then Y2 = 1

OR

If L2 = a blank cell (empty) and N2 = any alpha value, then Y2 = 1

OR

If L2 = any alpha value and N2 = any alpha value, then Y2 = 0.5


Can anyone kindly provide a formula for this? Thanks.

Bob



All times are GMT +1. The time now is 02:38 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com