PC Review


Reply
Thread Tools Rate Thread

Cell reading Balanced problem

 
 
jimboba
Guest
Posts: n/a
 
      8th Mar 2009
I am using the formula below to say if a cell is 0 then the message is
Balanced.
This has always worked ok until now, but if the cell is 0.009999 for
example, it reads Unbalanced. As this is a sheet with Number formatted to 2
decimal places I still want it to read Balanced. I have tried formatting the
cell in many different ways, even moving the cell elsewhere on the sheet, but
unable to find the solution.
I have checked all cells in the calculation chain for errors in inputting
which is giving me the rogue total, but to no avail.
Does it need a better formula than the one I have to specifically bar
numbers after 0.00 so that the cell will read Balanced? Help much
appreciated. Thanks.


IF(F46=0,"< Balanced >","< Unbalanced >")
 
Reply With Quote
 
 
 
 
Gary''s Student
Guest
Posts: n/a
 
      8th Mar 2009
You need to ignore anything beyond the first two decimal digits:

=IF(INT(F46*100)=0,"< Balanced >","< Unbalanced >")

--
Gary''s Student - gsnu200836


"jimboba" wrote:

> I am using the formula below to say if a cell is 0 then the message is
> Balanced.
> This has always worked ok until now, but if the cell is 0.009999 for
> example, it reads Unbalanced. As this is a sheet with Number formatted to 2
> decimal places I still want it to read Balanced. I have tried formatting the
> cell in many different ways, even moving the cell elsewhere on the sheet, but
> unable to find the solution.
> I have checked all cells in the calculation chain for errors in inputting
> which is giving me the rogue total, but to no avail.
> Does it need a better formula than the one I have to specifically bar
> numbers after 0.00 so that the cell will read Balanced? Help much
> appreciated. Thanks.
>
>
> IF(F46=0,"< Balanced >","< Unbalanced >")

 
Reply With Quote
 
francis
Guest
Posts: n/a
 
      8th Mar 2009
David
Have you test the formula? its would still return unbalance as it give 0.01
which is <> 0

Do you means =IF(ROUND(F46,0)=0,"< Balanced >","< Unbalanced >")
and Format Cells >> Number >> Number >> Decinal places >> 2

--
Hope this is helpful

Pls click the Yes button below if this post provide answer you have asked


Thank You

cheers, francis










"David Biddulph" wrote:

> Well, if you format that to 2 places, that will be 0.01.
> If that is what you want to use, you could change
> =IF(F46=0,"< Balanced >","< Unbalanced >") to
> =IF(ROUND(F46,2)=0,"< Balanced >","< Unbalanced >")
>
> If you don't want to use ROUND, you might prefer ROUNDDOWN
> --
> David Biddulph
>
> "jimboba" <(E-Mail Removed)> wrote in message
> news:6296CFEA-579B-4C89-9C1E-(E-Mail Removed)...
> >I am using the formula below to say if a cell is 0 then the message is
> > Balanced.
> > This has always worked ok until now, but if the cell is 0.009999 for
> > example, it reads Unbalanced. As this is a sheet with Number formatted to
> > 2
> > decimal places I still want it to read Balanced. I have tried formatting
> > the
> > cell in many different ways, even moving the cell elsewhere on the sheet,
> > but
> > unable to find the solution.
> > I have checked all cells in the calculation chain for errors in inputting
> > which is giving me the rogue total, but to no avail.
> > Does it need a better formula than the one I have to specifically bar
> > numbers after 0.00 so that the cell will read Balanced? Help much
> > appreciated. Thanks.
> >
> >
> > IF(F46=0,"< Balanced >","< Unbalanced >")

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
UnauthorizedAccessException when reading XML files (no problem when reading other file-types) blabla120@gmx.net Microsoft ASP .NET 0 15th Sep 2006 03:08 PM
Reading excel data cell by cell Shilpa Microsoft C# .NET 3 4th Jul 2006 05:52 PM
Reading excel data cell by cell in C# Shilpa Microsoft Excel Discussion 0 4th Jul 2006 10:17 AM
Cell Reading Problem Shashi Bhosale Microsoft Excel Programming 2 22nd Jul 2004 02:18 PM
Reading cell contents in a table to another cell automatically nomad Microsoft Powerpoint 0 15th Jul 2004 09:45 PM


Features
 

Advertising
 

Newsgroups
 


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