Forum Discussion
Philip_H_Lytham
Mar 04, 2019Copper Contributor
Returning a value with Dates
Please could you advise how I use the If function or something similar to return a value relating to dates? So the formula is if a date is the same or later than another date then a cell shows a...
SergeiBaklan
Mar 04, 2019Diamond Contributor
Hi Philip,
If dd.mm.yy is your system date format and you use date constant, not reference on the cell with the date, when ("4.3.19"+0) or --"4.3.19" could work (it converts text with the date representation into number). In general better to use the function, e.g. DATE().
If you use reference on the cell be sure you have real dates, not texts. If in A1 is 28.2.19 you may check if =A1+1 returns March 01.