Very quick simple Excel query
Discussion
In column A I have a list of different dates, in column B I also have a list of different dates.
All I want to happen is if the date in column B is more than 30 days after the date in column A it says TRUE in column C or FALSE if it isn't.
I know it's a conditional formatting job but I just can't seem to get the right formula which I know is going to be very simple.
Any help very much appreciated thanks.
All I want to happen is if the date in column B is more than 30 days after the date in column A it says TRUE in column C or FALSE if it isn't.
I know it's a conditional formatting job but I just can't seem to get the right formula which I know is going to be very simple.
Any help very much appreciated thanks.
stargazer30 said:
Excel sees dates as number so it should be simple;
=IF(B1-A1>30,TRUE,FALSE)
There are dedicated date manipulation formula too but for this you should not need them as long as A and B columns have correctly formatted dates and excel is seeing them as dates and not text.
That worked perfectly thank you. I knew it was simple!=IF(B1-A1>30,TRUE,FALSE)
There are dedicated date manipulation formula too but for this you should not need them as long as A and B columns have correctly formatted dates and excel is seeing them as dates and not text.
stargazer30 said:
Excel sees dates as number so it should be simple;
=IF(B1-A1>30,TRUE,FALSE)
There are dedicated date manipulation formula too but for this you should not need them as long as A and B columns have correctly formatted dates and excel is seeing them as dates and not text.
The IF is redundant.=IF(B1-A1>30,TRUE,FALSE)
There are dedicated date manipulation formula too but for this you should not need them as long as A and B columns have correctly formatted dates and excel is seeing them as dates and not text.
=(B1-A1)>30
Gassing Station | Computers, Gadgets & Stuff | Top of Page | What's New | My Stuff


