ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   #vlaue! (https://www.excelbanter.com/new-users-excel/65407-vlaue.html)

Rao Ratan Singh

#vlaue!
 
Sir,
=IF(ISBLANK(E24),"",(DATE(YEAR(E24),MONTH(E24)+3-MOD(MONTH(E24)-1,3),1)))
It is returning #value! Due to in e24 which have a conditional formula which
is sometimes returns blank. I want that it should be returned blank only when
e24 is blank.

How it can be.

Rao Ratan Singh


bpeltzer

#vlaue!
 
ISBLANK tests for an EMPTY cell; a formula which returns a null string
doesn't constitute an empty cell. Perhaps ISNUMBER would suit your needs in
the function below?
--Bruce

"Rao Ratan Singh" wrote:

Sir,
=IF(ISBLANK(E24),"",(DATE(YEAR(E24),MONTH(E24)+3-MOD(MONTH(E24)-1,3),1)))
It is returning #value! Due to in e24 which have a conditional formula which
is sometimes returns blank. I want that it should be returned blank only when
e24 is blank.

How it can be.

Rao Ratan Singh



All times are GMT +1. The time now is 10:57 AM.

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