#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default NULL Cells

Using the formula:

=IF(ISNUMBER(C2),0,IF(N2=("SOMETEXT"),0,((K2-J2)*4)))

returns a 0 in the cell if C2 is a number. Is there a way for me to have it
either delete the value of the cell or make the cell null? I don't want
anything to display if C2 is a number.

Any thoughts?

Thanks in advance,
UCG

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 751
Default NULL Cells

Replace the returned value of 0 with the empty string, "".

=IF(ISNUMBER(C2),"",IF(N2=("SOMETEXT"),"",((K2-J2)*4)))

A formula only leaves output to the cell it is entered in. It cannot
change any other cell.

HTH
Kostis Vezerides


UnderCoverGuy wrote:
Using the formula:

=IF(ISNUMBER(C2),0,IF(N2=("SOMETEXT"),0,((K2-J2)*4)))

returns a 0 in the cell if C2 is a number. Is there a way for me to have it
either delete the value of the cell or make the cell null? I don't want
anything to display if C2 is a number.

Any thoughts?

Thanks in advance,
UCG


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 618
Default NULL Cells

=IF(ISNUMBER(C2),"",IF(N2=("SOMETEXT"),0,((K2-J2)*4)))
but be aware that there are subtle differences in Excel between a blank cell
and an empty string.
--
David Biddulph

"UnderCoverGuy" wrote in message
...
Using the formula:

=IF(ISNUMBER(C2),0,IF(N2=("SOMETEXT"),0,((K2-J2)*4)))

returns a 0 in the cell if C2 is a number. Is there a way for me to have
it
either delete the value of the cell or make the cell null? I don't want
anything to display if C2 is a number.

Any thoughts?

Thanks in advance,
UCG



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default NULL Cells

Works perfectly - thanks all for the fix...

Much appreciated...


UCG

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
cntrl + down arrow and null values in cells Craig Excel Discussion (Misc queries) 2 October 26th 05 10:23 PM
how do i protect cells in a shared worksheet Debi Excel Discussion (Misc queries) 3 September 30th 05 11:15 PM
Checking that any cells are null RFJ Excel Worksheet Functions 5 June 21st 05 01:21 PM
Convert data type of cells to Text,Number,Date and Time Kevin Excel Worksheet Functions 1 December 31st 04 12:57 PM
Skipping Blank Or Null Cells In a Lookup Function Bill Johnson Excel Worksheet Functions 8 December 24th 04 01:06 AM


All times are GMT +1. The time now is 06:32 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"