#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 173
Default Ignoring blank cells

Hi

I am using this formula in cell B1 =Sign(A1)

It works but if A1 is blank it shows #VALUE! I would like the formula to
ignore blank cells and appear blank.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Ignoring blank cells

This should suffice:
=IF(A1="","",SIGN(A1))

Think you were hitting the text zero length null strings: "" (return by
formulas) rather than real blanks in the VALUE error. Real blanks would be
evaluated by SIGN to return zero.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Neil" wrote:
Hi

I am using this formula in cell B1 =Sign(A1)

It works but if A1 is blank it shows #VALUE! I would like the formula to
ignore blank cells and appear blank.

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 173
Default Ignoring blank cells

Thanks Max

That is a great help

"Max" wrote:

This should suffice:
=IF(A1="","",SIGN(A1))

Think you were hitting the text zero length null strings: "" (return by
formulas) rather than real blanks in the VALUE error. Real blanks would be
evaluated by SIGN to return zero.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Neil" wrote:
Hi

I am using this formula in cell B1 =Sign(A1)

It works but if A1 is blank it shows #VALUE! I would like the formula to
ignore blank cells and appear blank.

Thanks

  #4   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Ignoring blank cells

welcome, Neil.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Neil" wrote in message
...
Thanks Max

That is a great help



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
Ignoring blank cells on getting an average Neil Excel Discussion (Misc queries) 6 July 18th 07 08:14 AM
Ignoring Blank Cells Reefaman Excel Worksheet Functions 2 June 11th 06 05:43 PM
30 Day Moving Average Ignoring Blank Cells ethatch Excel Worksheet Functions 2 January 17th 06 09:37 AM
Help with ignoring blank cells Darren Excel Discussion (Misc queries) 1 November 19th 05 07:48 PM
geomean ignoring blank cells and chars Stan Altshuller Excel Worksheet Functions 1 January 12th 05 09:21 PM


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

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"