#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default isblank

hi - i'm trying to use the isblank formula to return "1" if the referenced
cell is blank and "2" if not. However, the cells i'm referencing are all
formulae, so the isblank function returns "2" even if the cell "looks" blank
(i.e. "" has been used in a formula so cell text is blank but formula is
picked up by 'isblank'). So basically, i'm either i) looking for an
alternative to 'isblank' which only looks at the results/values of the cell
output or ii) looking for a way to make 'isblank' work with my reference
cells by changing the reference cells somehow (e.g. similar function to the
trim function)???

many thanks in advance.
james
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default isblank

Try this:

=IF(A1="",1,2)

Hope this helps.

Pete

On Dec 18, 4:15*pm, James Irwin
wrote:
hi - i'm trying to use the isblank formula to return "1" if the referenced
cell is blank and "2" if not. However, the cells i'm referencing are all
formulae, so the isblank function returns "2" even if the cell "looks" blank
(i.e. "" has been used in a formula so cell text is blank but formula is
picked up by 'isblank'). So basically, i'm either i) looking for an
alternative to 'isblank' which only looks at the results/values of the cell
output or ii) looking for a way to make 'isblank' work with my reference
cells by changing the reference cells somehow (e.g. similar function to the
trim function)???

many thanks in advance.
james


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,533
Default isblank

Hi James

Use IsNumber.

=IF(ISNUMBER(A3),2,1)

Regards,
Per

"James Irwin" skrev i meddelelsen
...
hi - i'm trying to use the isblank formula to return "1" if the referenced
cell is blank and "2" if not. However, the cells i'm referencing are all
formulae, so the isblank function returns "2" even if the cell "looks"
blank
(i.e. "" has been used in a formula so cell text is blank but formula is
picked up by 'isblank'). So basically, i'm either i) looking for an
alternative to 'isblank' which only looks at the results/values of the
cell
output or ii) looking for a way to make 'isblank' work with my reference
cells by changing the reference cells somehow (e.g. similar function to
the
trim function)???

many thanks in advance.
james


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
IsBlank Mark Costello[_2_] Excel Discussion (Misc queries) 5 November 7th 08 12:11 PM
ISBLANK() kw_uh97 Excel Worksheet Functions 8 June 30th 07 06:42 AM
isBlank() alex Excel Worksheet Functions 6 February 8th 07 10:33 PM
ISBLANK Gimpy815 Excel Worksheet Functions 2 February 24th 06 06:09 PM
IF(ISBLANK) Bill R Excel Worksheet Functions 4 August 13th 05 07:43 PM


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

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

About Us

"It's about Microsoft Excel"