Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
I am trying to build a formula to place in A2 that will:
If L2 is blank I would like this formula to apply: =IF(AND(D2<"lottery",M2<"delist"),"OK") but if L2 is not blank, I would like this formula to apply: =IF(AND(D2<"lottery",L2<=N1,M2<"delist");"OK") Is there a easy way to do this ? Thank you in advance. |
#2
![]() |
|||
|
|||
![]()
Not really tested but since you want the same answer this might work
=IF(OR(AND(D2<"lottery",L2<=N1,M2<"delist"),AND( L2="",D2<"lottery",M2<"delist")),"OK","Not OK") Regards, Peo Sjoblom "carl" wrote: I am trying to build a formula to place in A2 that will: If L2 is blank I would like this formula to apply: =IF(AND(D2<"lottery",M2<"delist"),"OK") but if L2 is not blank, I would like this formula to apply: =IF(AND(D2<"lottery",L2<=N1,M2<"delist");"OK") Is there a easy way to do this ? Thank you in advance. |
#3
![]() |
|||
|
|||
![]()
Hi
one way: =IF(AND(D2<"lottery",M2<"delist"),IF(OR(L2="",AN D(L2<"",L2<=N1)),"OK","not defined"),"not defined") -- Regards Frank Kabel Frankfurt, Germany "carl" schrieb im Newsbeitrag ... I am trying to build a formula to place in A2 that will: If L2 is blank I would like this formula to apply: =IF(AND(D2<"lottery",M2<"delist"),"OK") but if L2 is not blank, I would like this formula to apply: =IF(AND(D2<"lottery",L2<=N1,M2<"delist");"OK") Is there a easy way to do this ? Thank you in advance. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
basic pie chart question | Charts and Charting in Excel | |||
Link Question | Excel Worksheet Functions | |||
COUNTIF Question | Excel Worksheet Functions | |||
Have a question on scrolling sum with Excel. | Excel Worksheet Functions | |||
Have a question on scrolling sum with Excel. | Excel Worksheet Functions |