Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default 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.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 53
Default 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.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 19
Default 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.


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default 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.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
testing for a value in a cell Dave Eade Excel Discussion (Misc queries) 1 February 11th 10 11:54 AM
Testing cell value for greater than 0 Raj[_2_] Excel Worksheet Functions 1 November 23rd 09 01:52 AM
Testing a cell value Finance Guru Excel Worksheet Functions 2 January 19th 09 12:44 PM
Testing positions in a cell MarcusA Excel Discussion (Misc queries) 2 November 4th 05 02:25 AM
Testing cell values... Kevin Excel Programming 0 September 29th 03 06:59 PM


All times are GMT +1. The time now is 05:26 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"