Turn Formula into Layperson's Terms

macmomma4

New Member
Joined
Jan 7, 2005
Messages
8
I know this is an odd post, but I need to put the following formula into layperson's terms and can't seem to :rolleyes: . I need to be able to explain it to a co-worker who isn't the most excel saavy. Can anyone help?

=IF(AND(ISBLANK($I7)=TRUE,ISBLANK($J7)=TRUE),"",IF(AND(ISBLANK($I7)=FALSE,ISBLANK($J7)=TRUE),MAX(0,MIN($AL$6,DATEVALUE("3/31/2005"))-MAX($I7,DATEVALUE("1/1/2005"))+1),MAX(0,MIN($J7,DATEVALUE("3/31/2005"))-MAX($I7,DATEVALUE("1/1/2005"))+1)))
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
a programmer once told me do one thing at a time. Take each piece of the formula and break it down.

IF(AND(ISBLANK($I7)=TRUE,ISBLANK($J7)=TRUE
test is the cell I7 blank? Yes
test is the cell J7 blank? Yes
now both together must be true
do something
bother together not true or just one not true
do something different.

and so on . . .
HTH
texasalynn
 
Upvote 0
  1. If both I7 and J7 are blank return nothing (an empty string)
  2. If I7 is not blank, but J7 is blank return the days between the earlier of (AL6 and 3/31/05) and the later of (I7 or 1/1/05), plus one day<ul>
  3. If the difference above is less than zero, return zero.
[*]Otherwise (J7 is not blank) return the days between the earlier of (J7 or 3/13/05) and the later of (I7 or 1/1/05) plus one day.<ul>[*]If the difference above is less than zero, return zero.[/list][/list]Also, on the Tools menu there is an option for Formula Auditing. Under Formula Auditing there is an option for Evaluate Formula. You can use the Evaluate Formula tool to step through a complex formula like this and see how each bit gets evaluated. Very helpful.
 
Upvote 0
Ahhhh...I just couldn't seem to break it down like that :oops: . Thank you texasalynn and Greg. That helped a bunch.
 
Upvote 0

Forum statistics

Threads
1,214,920
Messages
6,122,262
Members
449,075
Latest member
staticfluids

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