Hi,
I need assistance with the IF/And function
B1 = Start Date "ex 16 Feb 15"
C1 = End Date ex. 22 Feb 15"
E5 = arrival date ex 31 jan 15
F5 = Departure Date ex 10 mar 2015
J5 = ? I want to calculate the number of days from the start to end date.
Below is what i have so far but it doesn't calculate correctly:
=IF(AND(E5<B1,F5>C1),"7",F5-(E5-B1))
If E6 is 31 Jan 15 and F6 is 20 Feb 15 then J6 should be 4, but above formula doesnt work.
Bookmarks