ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Formula Help (https://www.excelbanter.com/excel-programming/372655-formula-help.html)

Michael Koerner

Formula Help
 
Thanks to Will Cairns who provide me with the following formula.

=IF(AND(T25<"",LEN(T25<7)),(TEXT(NOW(),"yyyy")-(TEXT(T25,"yyyy"))))

The way it works now, if the text value does not equal "yyyy" the word
"FALSE" is inserted into the cell. Is there a way to change it so that the
cell is left blank if the value of T25 is also blank?

--

Regards
Michael Koerner




[email protected]

Formula Help
 
Michael:

=IF(AND(T25<"",LEN(T25<7)),(TEXT(NOW(),"yyyy")-(TEXT(T25,"yyyy"))),"")

Alan

Michael Koerner wrote:
Thanks to Will Cairns who provide me with the following formula.

=IF(AND(T25<"",LEN(T25<7)),(TEXT(NOW(),"yyyy")-(TEXT(T25,"yyyy"))))

The way it works now, if the text value does not equal "yyyy" the word
"FALSE" is inserted into the cell. Is there a way to change it so that the
cell is left blank if the value of T25 is also blank?

--

Regards
Michael Koerner



Michael Koerner

Formula Help
 
That did it thank you so very much.

--

Regards
Michael Koerner


wrote in message
ups.com...
Michael:

=IF(AND(T25<"",LEN(T25<7)),(TEXT(NOW(),"yyyy")-(TEXT(T25,"yyyy"))),"")

Alan

Michael Koerner wrote:
Thanks to Will Cairns who provide me with the following formula.

=IF(AND(T25<"",LEN(T25<7)),(TEXT(NOW(),"yyyy")-(TEXT(T25,"yyyy"))))

The way it works now, if the text value does not equal "yyyy" the word
"FALSE" is inserted into the cell. Is there a way to change it so that
the
cell is left blank if the value of T25 is also blank?

--

Regards
Michael Koerner






All times are GMT +1. The time now is 03:19 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com