ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   testing the value of a cell (https://www.excelbanter.com/excel-programming/280207-testing-value-cell.html)

Zeraia

testing the value of a cell
 
Curious what the code should look like to test if a cell
is empty of both numbers and letters.

Trying to setup so that If B1 is empty then this else
this.

Dan E[_3_]

testing the value of a cell
 
=IF(A1="", "A1 is empty", "A1 is not empty")

Dan E

"Zeraia" wrote in message ...
Curious what the code should look like to test if a cell
is empty of both numbers and letters.

Trying to setup so that If B1 is empty then this else
this.




buczacz

testing the value of a cell
 
=ISBLANK(A3) where A3 is the cell being tested.

Zeraia wrote:
Curious what the code should look like to test if a cell
is empty of both numbers and letters.

Trying to setup so that If B1 is empty then this else
this.



Tom Ogilvy

testing the value of a cell
 
If isempty(range("B1")) then
' this
else
' that
End if

--
Regards,
Tom Ogilvy

Zeraia wrote in message
...
Curious what the code should look like to test if a cell
is empty of both numbers and letters.

Trying to setup so that If B1 is empty then this else
this.





All times are GMT +1. The time now is 08:45 AM.

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