Forum Discussion
ajl_ahmed
Nov 15, 2024Iron Contributor
Get a value from Range
Hi Currently, I am using goole sheet. I need a function to get last date of update. Last date of update means the latest date from range (C7:H7) of the following conditions: the last column in t...
- Nov 15, 2024
=ARRAYFORMULA(MAX(IF(C5:H5+C6:H6+C8:H8+(C9:H18<>""),C7:H7)))
HansVogelaar
Nov 15, 2024MVP
=ARRAYFORMULA(MAX(IF(C5:H5+C6:H6+C8:H8+(C9:H18<>""),C7:H7)))
- ajl_ahmedNov 15, 2024Iron Contributor
Many thanks
If there is no valid condition then the function return this date 12/30/1899, How to avoid it? I demonstrate that in the google sheet. see the link please
- Harun24HRNov 16, 2024Bronze Contributor
When there is no valid condition, the formula is returning false, means 0 (zero). In case of date type cells, 0 means 12/30/1899. To avoid this situation use custom cell formatting M/d/yyyy;;