Excel 2002 Formula

Chris Waller

Board Regular
Joined
Jan 18, 2009
Messages
183
Office Version
  1. 365
Platform
  1. Windows
I have just inherited a spreadsheet at work from someone who has left the office. The problem is with my lack of understanding about the following formula.</SPAN>
I just cannot get my head around it and I wondered if there was anyone that could explain in simple terms what it is supposed to be doing?</SPAN>

The cells A5, X2, X3 B5, Y2 and W3 ALL contain dates.

=IF(AND(A5<(X$2+1),B5<Y$2,B5>W$3),(((B5+1)-X$2)/7)*N5,IF(AND(B5<Y$2,A5>W$3),O5,IF(AND(B5>X$3,A5<Y$2,A5>X$2),(((X$3+1)-A5)/7)*N5,IF(AND(B5>X$3,A5<X$2),((Y$2-X$2)/7)*N5,0))))
 
Last edited by a moderator:

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.

Forum statistics

Threads
1,223,229
Messages
6,170,881
Members
452,364
Latest member
springate

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