Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Neil M
 
Posts: n/a
Default Cant Get IF(ISBLANK) to work

This is driving me crazy!! I am sure it is somehting simple, but I can't get
it.

On several parts of my spreadsheet I have used the following formula

In Cell4 I have this:
IF(ISBLANK(Cell1),"",Cell2*Cell3)

Now Cell4 will stay blank until I select from a list in Cell1, then I get a
zero until I enter values in Cell2 and Cell3) Also Cell4 will go blank once I
clear the contents of the other cells.

Farther down the sheet in Cell8 I tried to enter the same thing

IF(ISBLANK(Cell5),"",Cell6*Cell7)

However, I get #VALUE in Cell8 until I enter values in the corresponding cells

I decided to go with this then
=PRODUCT(IF(Y1540,Y154*U154,0)) That works okay but it keeps the zero there
and I don't want it. I want it blank.

If I try =PRODUCT(IF(Y1540,Y154*U154,"")) I get #VALUE until data is
entered when I should get a blank cell, right?

I have even tried =PRODUCT(IF(ISBLANK(C154),"",(Y154,U154))
I still get #value

any ideas


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JE McGimpsey
 
Posts: n/a
Default Cant Get IF(ISBLANK) to work

Math operators (+,-,*,/,etc.) return #VALUE! if one or both of their
arguments are Text. Did you "clear" your cells using the spacebar (e.g.,
with a Text space character)?

One potential workaround:

=IF(ISBLANK(Cell1),"",IF(COUNT(Cell2,Cell3)=2,Cell 2*Cell3,""))

which will leave Cell4 blank until something is entered in Cell1, and
both Cell2 and Cell3 are numbers.

In article ,
Neil M wrote:

This is driving me crazy!! I am sure it is somehting simple, but I can't get
it.

On several parts of my spreadsheet I have used the following formula

In Cell4 I have this:
IF(ISBLANK(Cell1),"",Cell2*Cell3)

Now Cell4 will stay blank until I select from a list in Cell1, then I get a
zero until I enter values in Cell2 and Cell3) Also Cell4 will go blank once I
clear the contents of the other cells.

Farther down the sheet in Cell8 I tried to enter the same thing

IF(ISBLANK(Cell5),"",Cell6*Cell7)

However, I get #VALUE in Cell8 until I enter values in the corresponding cells

I decided to go with this then
=PRODUCT(IF(Y1540,Y154*U154,0)) That works okay but it keeps the zero there
and I don't want it. I want it blank.

If I try =PRODUCT(IF(Y1540,Y154*U154,"")) I get #VALUE until data is
entered when I should get a blank cell, right?

I have even tried =PRODUCT(IF(ISBLANK(C154),"",(Y154,U154))
I still get #value

any ideas

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
 
Posts: n/a
Default Cant Get IF(ISBLANK) to work

Nothing wrong with isblank but it only trigger when the cell is truly empty,
not containing a formula, you need to use something like this

=IF(Cell5="","",IF(OR(Cell6="",Cell7=""),"",Cell6* Cell7))

--
Regards,

Peo Sjoblom

(No private emails please)


"Neil M" wrote in message
...
This is driving me crazy!! I am sure it is somehting simple, but I can't
get
it.

On several parts of my spreadsheet I have used the following formula

In Cell4 I have this:
IF(ISBLANK(Cell1),"",Cell2*Cell3)

Now Cell4 will stay blank until I select from a list in Cell1, then I get
a
zero until I enter values in Cell2 and Cell3) Also Cell4 will go blank
once I
clear the contents of the other cells.

Farther down the sheet in Cell8 I tried to enter the same thing

IF(ISBLANK(Cell5),"",Cell6*Cell7)

However, I get #VALUE in Cell8 until I enter values in the corresponding
cells

I decided to go with this then
=PRODUCT(IF(Y1540,Y154*U154,0)) That works okay but it keeps the zero
there
and I don't want it. I want it blank.

If I try =PRODUCT(IF(Y1540,Y154*U154,"")) I get #VALUE until data is
entered when I should get a blank cell, right?

I have even tried =PRODUCT(IF(ISBLANK(C154),"",(Y154,U154))
I still get #value

any ideas



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Neil M
 
Posts: n/a
Default Cant Get IF(ISBLANK) to work



Finally tried this and got it to work, okay

=IF(OR(isblank(cell1),isblank(cell2)........,"", x*y))

Basically telling it if any cell is blank give me ("")

Thanks for the tip about arguments involving text, still don't know why it
works elsewhere on the sheet.

Neil
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
Dates and Recomended Graphing Programs to work with excel? John Charts and Charting in Excel 2 December 8th 05 07:58 PM
A search for $ in a formula use to work now it does not work JuneJuly Excel Discussion (Misc queries) 2 November 30th 05 10:13 PM
Moving a sheet from one work book to another? WTG Excel Worksheet Functions 1 November 3rd 05 07:12 PM
My links no longer work . . . mike Excel Discussion (Misc queries) 8 October 27th 05 11:59 PM
How to get saved old saved work that was saved over? Maral Excel Discussion (Misc queries) 1 February 20th 05 08:59 PM


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