Help with if statement.....

W

WalterT.

I am trying to create a time sheet for the 15th of the month through the end.
I have an empty column for the 31st (S). I want this header (S13) to be blank
if cell R7 does not contain */31/*. If R7 does contain */31/* I want the date
displayed in S13. Is this possible?
 
W

WalterT.

The equation that I am trying (that is not working) in S13 is:
=IF(R7=*/31/*,=R7,"")
 
R

Roger Govier

Hi Walter

Assuming R7 holds true Excel dates, then
=IF(DAY(R7)=31,R7,"")

Regards

Roger Govier
 
Top