Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Misunderstanding isblank

If all the cells within the given range are blank, the following
formula evaluates to "#VALUE!"

=IF(AND(ISBLANK(H42:CS42)),"",CHAR(MAXA(Sheet1!32: 32)))

I'd be grateful if someone can tell me either how to correctly rewrite
the formula or, failing that, how to supress the error. The error
doesn't affect overalll performance. It's just rather unsightly.

Any help greatly appreciated.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,440
Default Misunderstanding isblank

The argument for ISBLANK can only be one cell, not a range

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"strawberry" wrote in message oups.com...
| If all the cells within the given range are blank, the following
| formula evaluates to "#VALUE!"
|
| =IF(AND(ISBLANK(H42:CS42)),"",CHAR(MAXA(Sheet1!32: 32)))
|
| I'd be grateful if someone can tell me either how to correctly rewrite
| the formula or, failing that, how to supress the error. The error
| doesn't affect overalll performance. It's just rather unsightly.
|
| Any help greatly appreciated.
|


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,574
Default Misunderstanding isblank

ISBLANK can be used over a range if it is used in an array formula.

=AND(ISBLANK(H42:Cs42)) resolves to TRUE if the range is blank and the
formula is entered with CTRL+SHIFT+ENTER.

However, even when entering your formula as an array formula I get a #VALUE!
error.

What are you trying to do with this formula?

Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.


"Niek Otten" wrote:

The argument for ISBLANK can only be one cell, not a range

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"strawberry" wrote in message oups.com...
| If all the cells within the given range are blank, the following
| formula evaluates to "#VALUE!"
|
| =IF(AND(ISBLANK(H42:CS42)),"",CHAR(MAXA(Sheet1!32: 32)))
|
| I'd be grateful if someone can tell me either how to correctly rewrite
| the formula or, failing that, how to supress the error. The error
| doesn't affect overalll performance. It's just rather unsightly.
|
| Any help greatly appreciated.
|



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,574
Default Misunderstanding isblank

This formula works, however, entered as an array formula:
=IF(ISBLANK(H42:CS42),"",(MAX(Sheet1!32:32)))

I'm not sure what you're testing for with AND, CHAR, and MAXA....

Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.


"Dave F" wrote:

ISBLANK can be used over a range if it is used in an array formula.

=AND(ISBLANK(H42:Cs42)) resolves to TRUE if the range is blank and the
formula is entered with CTRL+SHIFT+ENTER.

However, even when entering your formula as an array formula I get a #VALUE!
error.

What are you trying to do with this formula?

Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.


"Niek Otten" wrote:

The argument for ISBLANK can only be one cell, not a range

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"strawberry" wrote in message oups.com...
| If all the cells within the given range are blank, the following
| formula evaluates to "#VALUE!"
|
| =IF(AND(ISBLANK(H42:CS42)),"",CHAR(MAXA(Sheet1!32: 32)))
|
| I'd be grateful if someone can tell me either how to correctly rewrite
| the formula or, failing that, how to supress the error. The error
| doesn't affect overalll performance. It's just rather unsightly.
|
| Any help greatly appreciated.
|



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Misunderstanding isblank

On 22 Mar, 12:27, Dave F wrote:
ISBLANK can be used over a range if it is used in an array formula.

=AND(ISBLANK(H42:Cs42)) resolves to TRUE if the range is blank and the
formula is entered with CTRL+SHIFT+ENTER.

However, even when entering your formula as an array formula I get a #VALUE!
error.

What are you trying to do with this formula?

Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.

"Niek Otten" wrote:
The argument for ISBLANK can only be one cell, not a range


--
Kind regards,


Niek Otten
Microsoft MVP - Excel


"strawberry" wrote in ooglegroups.com...
| If all the cells within the given range are blank, the following
| formula evaluates to "#VALUE!"
|
| =IF(AND(ISBLANK(H42:CS42)),"",CHAR(MAXA(Sheet1!32: 32)))
|
| I'd be grateful if someone can tell me either how to correctly rewrite
| the formula or, failing that, how to supress the error. The error
| doesn't affect overalll performance. It's just rather unsightly.
|
| Any help greatly appreciated.
|


Switching to this seems to work:

=IF(COUNTA(H42:P42)=0,"",CHAR(MAXA(Sheet1!32:32)))

This is part of an Issue Sheet. It needs to keep track of the latest
revision letter (typically A-Z).
This formula simply looks at a range of cells to its right. If no data
is present, it evaluates to "". Otherwise it displays the highest
value present.
The corresponding worksheet (Sheet1) simply holds the letters as
(upper case) numeric values for comparison. Hope that makes sense.

Ta.



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,574
Default Misunderstanding isblank

Makes sense now, and if you want to avoid array formulas, COUTNA over the
range is the way to go.

Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.


"strawberry" wrote:

On 22 Mar, 12:27, Dave F wrote:
ISBLANK can be used over a range if it is used in an array formula.

=AND(ISBLANK(H42:Cs42)) resolves to TRUE if the range is blank and the
formula is entered with CTRL+SHIFT+ENTER.

However, even when entering your formula as an array formula I get a #VALUE!
error.

What are you trying to do with this formula?

Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.

"Niek Otten" wrote:
The argument for ISBLANK can only be one cell, not a range


--
Kind regards,


Niek Otten
Microsoft MVP - Excel


"strawberry" wrote in ooglegroups.com...
| If all the cells within the given range are blank, the following
| formula evaluates to "#VALUE!"
|
| =IF(AND(ISBLANK(H42:CS42)),"",CHAR(MAXA(Sheet1!32: 32)))
|
| I'd be grateful if someone can tell me either how to correctly rewrite
| the formula or, failing that, how to supress the error. The error
| doesn't affect overalll performance. It's just rather unsightly.
|
| Any help greatly appreciated.
|


Switching to this seems to work:

=IF(COUNTA(H42:P42)=0,"",CHAR(MAXA(Sheet1!32:32)))

This is part of an Issue Sheet. It needs to keep track of the latest
revision letter (typically A-Z).
This formula simply looks at a range of cells to its right. If no data
is present, it evaluates to "". Otherwise it displays the highest
value present.
The corresponding worksheet (Sheet1) simply holds the letters as
(upper case) numeric values for comparison. Hope that makes sense.

Ta.


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() 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
If(ISBLANK) Bill R Excel Worksheet Functions 1 August 13th 05 05:56 PM
ISBLANK Aaron Neunz Excel Worksheet Functions 3 November 12th 04 05:40 PM


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

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"