Thread: IF Statement
View Single Post
 
Old 11-14-2021, 08:05 AM
teza2k06 teza2k06 is offline Windows 10 Office 2010 32bit
Advanced Beginner
 
Join Date: Feb 2013
Posts: 37
teza2k06 is on a distinguished road
Default IF Statement

Hi All,
For some reason I seem to be stuck on a formula which should be simple to do

Formula in cell D2
Start date in cell B2
Column D is known as "End Date"

So far I have got as far as - =IF(A2="Night", B2+1,B2)

What I have done so far is, if A2="Night" then it is adding 1 day to the start date, to give the end date. If it does not equal "Night" then the end date will be the same as the start date.
However, what I want it to do is add 1 day to the start date, if A2= Night or Night (B) - But I can't seem to get it working.

Any help would be much appreciated.
Reply With Quote