Home |
Search |
Today's Posts |
#9
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I am getting closer.
I changed it some because it was putting a 1 in every column from the first time a date constraint was met throughout the rest of the year. I figured out why, there should be a nested AND after the OR statement for the first two arguments, then the OR should pertain to the two nested AND statements. I also added a infront of the equal for the first argument in each set. Please tell me what I am doing wrong. =IF(AND($I$5="",$J$5=""),OR(AND($G$5=K3,$G$5<=K2) ,(AND($H$5=K3,$H$5<=K2),1,""))),OR(AND($I$5=K3,$ I$5<=K2),(AND($J$5=K3,$J$5<=K2),1,"")))) Thanks. "David Biddulph" wrote: =IF(AND($I$5="",$J$5=""),IF(OR($G$5=K3,$G$5<=K2),1 ,IF(OR($H$5=K3,$H$5<=K2),1,"")),IF(OR($I$5=T3,$I$5 <=K2),1,IF(OR($J$5=K3,$J$5<=K2),1,""))) or simplify it to =IF(AND($I$5="",$J$5=""),IF(OR($G$5=K3,$G$5<=K2,$H $5=K3,$H$5<=K2),1,""),IF(OR($I$5=T3,$I$5<=K2,$J$5= K3,$J$5<=K2),1,"")) -- David Biddulph "Gayla" wrote in message ... Here are the formulas I am trying to put together into one formula but cannot seem to get it right. IF((AND($I$5="",$J$5="") IF TRUE THEN DO THE FOLLOWING CALCULATION: SEE IF ONE OF THE FOLLOWING APPLY: OR($G$5=K3,$G$5<=K2),1,""), OR($H$5=K3,$H$5<=K2),1,"") IF FALSE DO THE FOLLOWING: SEE IF ONE OF THE FOLLOWING APPLY: OR($I$5=T3,$I$5<=K2),1,""), OR($J$5=K3,$J$5<=K2),1,"") Any help will be appreciated. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Help with formula €“ too many nested IFs | Excel Worksheet Functions | |||
Nested Formula help | Excel Worksheet Functions | |||
nested formula | Excel Worksheet Functions | |||
Nested Formula | Excel Worksheet Functions | |||
Nested Formula | Excel Worksheet Functions |