ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Hiding a cell with a formula. (https://www.excelbanter.com/excel-worksheet-functions/248287-hiding-cell-formula.html)

BMoran

Hiding a cell with a formula.
 
I have the following formula: =WORKDAY(A56,5,Due!$H$1376:$H$1390)

If column A has a value, then the column with the formula returns a date.
However, if column A does not yet have a value (but will in the future) then
the column with the formula returns with 01/06/00. How can I get the column
with the formula to remain blank if there is not yet a value in column A?

Thanks!!


Jacob Skaria

Hiding a cell with a formula.
 
Use the IF()..

=IF(A56="","",WORKDAY(A56,5,Due!$H$1376:$H$1390))

If this post helps click Yes
---------------
Jacob Skaria


"BMoran" wrote:

I have the following formula: =WORKDAY(A56,5,Due!$H$1376:$H$1390)

If column A has a value, then the column with the formula returns a date.
However, if column A does not yet have a value (but will in the future) then
the column with the formula returns with 01/06/00. How can I get the column
with the formula to remain blank if there is not yet a value in column A?

Thanks!!


T. Valko

Hiding a cell with a formula.
 
One way...

=IF(COUNT(A56),WORKDAY(A56,5,Due!$H$1376:$H$1390), "")

--
Biff
Microsoft Excel MVP


"BMoran" wrote in message
...
I have the following formula: =WORKDAY(A56,5,Due!$H$1376:$H$1390)

If column A has a value, then the column with the formula returns a date.
However, if column A does not yet have a value (but will in the future)
then
the column with the formula returns with 01/06/00. How can I get the
column
with the formula to remain blank if there is not yet a value in column A?

Thanks!!





All times are GMT +1. The time now is 10:12 PM.

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