Mar 04 2019 01:02 AM
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 value of "-", otherwise (i.e. if false) it shows a value of "DUE!!".
When I used the "If" function and ">", this did not return the correct value - for example, 28.2.19>4.3.19 does not yield a "DUE!!" value.
Mar 04 2019 02:22 PM
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.