Hi,
I have the following 3 formulas
=TEXT(A4,"YYYY")
=TEXT(A4,"MMM")
=WEEKNUM(A4)
I would like to modify these formulas so that where if A4 is blank the formula to returns a blank cell rather than 1900 for year or Jan for month
Thanks.
Hi,
I have the following 3 formulas
=TEXT(A4,"YYYY")
=TEXT(A4,"MMM")
=WEEKNUM(A4)
I would like to modify these formulas so that where if A4 is blank the formula to returns a blank cell rather than 1900 for year or Jan for month
Thanks.
Try
=IF(A4="","",TEXT(A4,"YYYY"))
For the TEXT functions you could also use this approach
=TEXT(A4,"YYYY;;")
Audere est facere
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks