Computing.Net > Forums > Office Software > how to resolve a formula?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

how to resolve a formula?

Reply to Message Icon

Name: amoralis
Date: September 19, 2009 at 17:25:09 Pacific
OS: Windows XP
Product: Microsoft Excel 2007
Subcategory: General
Comment:

hi

anyone can give me advice about this formula?
=IF(BY7>=0;BY7*I7;" ")

-----------
it reads from some cells, which may appear with empty result (" "). function below shows error, when reading empty result in it's calculation.

normally " " is a good solution, but currently it gives " " when value is less <0, but when read cell value is empty - error.

thanks in advance
Igal'.



Sponsored Link
Ads by Google

Response Number 1
Name: paulsep
Date: September 19, 2009 at 18:16:36 Pacific
Reply:

Hmm, I couldn't see any problem.
I tested it in Excel 2003 and it works.
Is there something additional, I should aware of.
Did you get the error on the cell, where the formula is in or is the error related on another cell or function or maybe a diagram?

Or perhaps it's one of the features in Office 2007, Microsoft offers the users and you have to wait for a fix of Microsoft.


0

Response Number 2
Name: DerbyDad03
Date: September 19, 2009 at 20:12:21 Pacific
Reply:

It might help if you told us what error you are getting.

" " is not empty.

" " is a space, which is text.

A space in I7 or BY7 will result in an #VALUE error since you can't perform an arithmetic operation on a cell that contains text.

The real way to create an empty cell with an IF statement is as follows:

=IF(BY7>=0;BY7*I7;"")

However, if you want to perform an arithmetic operation on the results of that formula, you have to use:

=IF(BY7>=0;BY7*I7;0) then use Tools..Options and uncheck the Zero Values option so a cell that equates to zero will appear empty.


0

Response Number 3
Name: paulsep
Date: September 19, 2009 at 20:21:36 Pacific
Reply:

Excel interprets empty cells as 0.
E.g.
A1 (empty)
B1=A1
B1 shows 0


0

Response Number 4
Name: DerbyDad03
Date: September 20, 2009 at 06:40:45 Pacific
Reply:

re: "Excel interprets empty cells as 0."

True, but what was your point as it relates to this question? I'm just curious.


0

Response Number 5
Name: amoralis
Date: September 20, 2009 at 11:49:20 Pacific
Reply:

thanks,
eventually I decided to change the formula.

the problem I see consistently happens in Excel 2007 & 2010 is that some functions fails in long range sells (cells like BB or further)

in my case, BY can show an empty sell, while getting formula result as error (it's written in similar way, to ignore errors happening due to math function to an empty cell)

normally =IF(COUNT(xxx)=0;" ";xxx) works great, but as I said above - it may stop showing empty cell.

in addition, it may not subtract negative values, when similar function used (for example: BY-A10 (A10=-150) ==> it will come empty. rest works fine.

is there any other solution, rather than using: ? =IF(COUNT(xxx)=0;" ";xxx)

(I need it, because some cells come with error, as results)

thanks!


0

Related Posts

See More



Response Number 6
Name: DerbyDad03
Date: September 20, 2009 at 19:58:26 Pacific
Reply:

re: "because some cells come with error"

I said it before, I'll say it again:

It might help if you told us what error you are getting.

I said it before, I'll say it again:

" " is not an empty cell - it's a space.

=IF(COUNT(xxx)=0;" ";xxx) will never, ever result in an empty cell. This formula will either evaluate to a space or to whatever is in xxx.

Try this test:

Open a new spreadsheet.

Put this formula in A1: =IF(C1=0," ",C1)

Leave C1 empty

Put this formula in B1: =LEN(A1)
Put this formula in B2: =LEN(A2)

B1 will display 1, B2 will display 0.

That's because A2 is empty, but A1 contains a space. In other words, it's not empty.



0

Sponsored Link
Ads by Google
Reply to Message Icon

Excel help Excel nesting AND and If ...


Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: how to resolve a formula?

How to writ a formula in Excel www.computing.net/answers/office/how-to-writ-a-formula-in-excel/311.html

How to create a folded booklet??? www.computing.net/answers/office/how-to-create-a-folded-booklet/3299.html

how to make a text file www.computing.net/answers/office/how-to-make-a-text-file/8172.html