Tough excel formula; Need help solving for 2003

jshutlz

New Member
Joined
Mar 10, 2010
Messages
12
I have a formula that works fine in excel 2007, but contains too many levels of nesting to work in 2003. I don’t know if there is a solution or not, but if there is the people here will know it. <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:eek:ffice:eek:ffice" /><o:p></o:p>
<o:p></o:p>
My spreadsheet has 6 inputs: <o:p></o:p>
<o:p></o:p>
1) Time period (i.e., Daily, Weekly, or Yearly) – Cell C5<o:p></o:p>
2) Beginning Date – Cell D8 (the beginning date shows up in cell L1 and goes to V1 in increments based on the Time period selected)<o:p></o:p>
3) Today’s date – Cell D9<o:p></o:p>
4) Due Date – Cell G16<o:p></o:p>
5) Revised Due Date – Cell H16<o:p></o:p>
6) Date Completed – Cell I16<o:p></o:p>
<o:p></o:p>
Based on these inputs I want either a “” or a “1” or a “0” to show up in L16 – V16. Here are the possibilities:<o:p></o:p>
<o:p></o:p>
· 4, 5, 6 blank so I should get a “” in L16 – V16<o:p></o:p>
· Due Date < Today’s Date – results in a 0 in the cell that corresponds to the due date, all others “”<o:p></o:p>
· Due Date < Today’s Date and Revised Due Date > Today’s Date – results in a 0 in the cell corresponding with the original due date and a “” in all others<o:p></o:p>
· Due Date < Today’s Date and Revised Due Date > Today’s Date – Both receive 0 all others “”<o:p></o:p>
· Date Completed < Due Date – results in a 1 in the cell corresponding with the original due date<o:p></o:p>
· Date Completed > Due Date and Date Completed < Revised Due Date and Date Completed < Today’s Date – results in a 0 for the Due date and a 1 for the Revised Due Date<o:p></o:p>
<o:p></o:p>
Here is my formula that works (from Cell L16 - this goes over to V16):<o:p></o:p>
<o:p></o:p>
=IFERROR(IF($G16>$D$9,"",IF(AND($D$9>$G$16,OR($I16=0,$I16>$G16),IFERROR(MATCH($G16,$L$1:$AJ$1)=COLUMN()-11,"False")),0,IF(AND($H16>$D$9,$H16>0,$I16=0),"",IF(AND($I16>1,OR($I16<=$G16,$C$5<>"Daily"),$H16="",IFERROR(MATCH($G16,$L$1:$AJ$1)=COLUMN()-11,"False")),1,IF(IFERROR(MATCH($G16,$L$1:$AJ$1)=COLUMN()-11,"False"),0,IF(AND($H16>=$I16,$I16>0,MATCH($H16,$L$1:$AJ$1)=COLUMN()-11),1,IF(MATCH($H16,$L$1:$AJ$1)=COLUMN()-11,0,""))))))),"")

Thank you for any help!<o:p></o:p>
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.

Forum statistics

Threads
1,214,979
Messages
6,122,550
Members
449,088
Latest member
davidcom

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top