#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Blank cells in Excel


The following formula is in cell F66
=IF(E66<=13,L66,IF(AND(E6613,E66<18),"",M66))
Thank you to John Moore for this formula. This allows me to place text
stored in cell L66 into cell F66 if the value in cell E66 is <13, and text
stored in cell M66 if the value in E66 is 18. Cell E66 is blank if the value
is between 13 and 18.
I would like to alter this formula so that all of the above does not change,
but if nothing is entered into E66 then cell F66 is also blank. As it stands
now if no value is entered into E66, then F66 defaults to the text from L66.
I saw an ISBLANK function that looked interesting but dont know how to
incorporate it into this formula without losing what I already have. Thank
you.
Danny

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Blank cells in Excel

How about:

=IF(E66="","",IF(E66<=13,L66,IF(AND(E6613,E66<18) ,"",M66)))

I used
=if(e66="",...
But I could have used:
=if(isblank(e66),...



Danny wrote:

The following formula is in cell F66
=IF(E66<=13,L66,IF(AND(E6613,E66<18),"",M66))
Thank you to John Moore for this formula. This allows me to place text
stored in cell L66 into cell F66 if the value in cell E66 is <13, and text
stored in cell M66 if the value in E66 is 18. Cell E66 is blank if the value
is between 13 and 18.
I would like to alter this formula so that all of the above does not change,
but if nothing is entered into E66 then cell F66 is also blank. As it stands
now if no value is entered into E66, then F66 defaults to the text from L66.
I saw an ISBLANK function that looked interesting but dont know how to
incorporate it into this formula without losing what I already have. Thank
you.
Danny


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,059
Default Blank cells in Excel

"Danny" wrote:
I saw an ISBLANK function that looked interesting but dont know how to
incorporate it into this formula without losing what I already have.


I would not use ISBLANK(). That is true only if there is no formula and no
value (like "") in the cell. If you want to distinguish between empty and
appearing blank due a null string, ISBLANK is the right choice. But I
suspect you want F66 to be "" if E66 __appears__ blank, be it empty or
because it contains "". In that case:

=if(E66="", "", if(E66<=13, L66, if(E66<18, "", M66)))


----- original message -----

"Danny" wrote in message
...
The following formula is in cell F66
=IF(E66<=13,L66,IF(AND(E6613,E66<18),"",M66))
Thank you to John Moore for this formula. This allows me to place text
stored in cell L66 into cell F66 if the value in cell E66 is <13, and text
stored in cell M66 if the value in E66 is 18. Cell E66 is blank if the
value
is between 13 and 18.
I would like to alter this formula so that all of the above does not
change,
but if nothing is entered into E66 then cell F66 is also blank. As it
stands
now if no value is entered into E66, then F66 defaults to the text from
L66.
I saw an ISBLANK function that looked interesting but dont know how to
incorporate it into this formula without losing what I already have. Thank
you.
Danny


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
Index/match - make blank cells return a blank value. diaare Excel Worksheet Functions 3 May 3rd 23 03:44 AM
Excel 2002: Return blank when VLOOKUP on blank cells Mr. Low Excel Discussion (Misc queries) 2 June 4th 09 05:12 PM
Maximum Number of Blank Cells between Non Blank Cells in a Range Mal Excel Worksheet Functions 5 November 3rd 07 08:21 AM
Imported Data creates blank cells that aren't really blank JackieD Excel Worksheet Functions 14 February 23rd 06 12:57 AM
Excel inserted 0's in cells linked to blank cells lburg801 Excel Discussion (Misc queries) 5 October 28th 05 11:32 PM


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