Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Formula results inconsistent.

I have created a multiple-worksheet workbook designed to be a monthy credit
card transaction log. In my summary, I calculate the difference of the total
amount of entries inputted into the log and a field to put in the total from
the machine. This field, which uses an IF statement, displays "N/A" if a
machine value hasn't been inserted, amount of difference, or "None" if the
difference is zero.

The only problem is, even though the difference should be zero, sometimes
the difference isn't zero. Even though the formulas are straightforward and
shouldn't be producing insignificant fractions of a penny, they are.

Here's the formula flow:

Cell 1: [=SUMIF(F5:F34,"0")] - Adds up credit card charges. (0 is there
because sheet also handles credit card credits)

Cell 2: [No formula] - User enters total amount from machine

Cell 3: [=IF(Cell 2="","N/A",IF(Cell 1-Cell 2=0,"None",Cell 1-Cell 2))]

What I'm wondering is how Cell 3's formula could be producing something like
$0.000000000000227373675443232000.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default Formula results inconsistent.

On Sun, 15 Oct 2006 06:54:02 -0700, CyberTootie
wrote:

I have created a multiple-worksheet workbook designed to be a monthy credit
card transaction log. In my summary, I calculate the difference of the total
amount of entries inputted into the log and a field to put in the total from
the machine. This field, which uses an IF statement, displays "N/A" if a
machine value hasn't been inserted, amount of difference, or "None" if the
difference is zero.

The only problem is, even though the difference should be zero, sometimes
the difference isn't zero. Even though the formulas are straightforward and
shouldn't be producing insignificant fractions of a penny, they are.

Here's the formula flow:

Cell 1: [=SUMIF(F5:F34,"0")] - Adds up credit card charges. (0 is there
because sheet also handles credit card credits)

Cell 2: [No formula] - User enters total amount from machine

Cell 3: [=IF(Cell 2="","N/A",IF(Cell 1-Cell 2=0,"None",Cell 1-Cell 2))]

What I'm wondering is how Cell 3's formula could be producing something like
$0.000000000000227373675443232000.



See:

http://support.microsoft.com/kb/214118/en-us
--ron
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Formula results inconsistent.

Thanks!

"Ron Rosenfeld" wrote:

On Sun, 15 Oct 2006 06:54:02 -0700, CyberTootie
wrote:

I have created a multiple-worksheet workbook designed to be a monthy credit
card transaction log. In my summary, I calculate the difference of the total
amount of entries inputted into the log and a field to put in the total from
the machine. This field, which uses an IF statement, displays "N/A" if a
machine value hasn't been inserted, amount of difference, or "None" if the
difference is zero.

The only problem is, even though the difference should be zero, sometimes
the difference isn't zero. Even though the formulas are straightforward and
shouldn't be producing insignificant fractions of a penny, they are.

Here's the formula flow:

Cell 1: [=SUMIF(F5:F34,"0")] - Adds up credit card charges. (0 is there
because sheet also handles credit card credits)

Cell 2: [No formula] - User enters total amount from machine

Cell 3: [=IF(Cell 2="","N/A",IF(Cell 1-Cell 2=0,"None",Cell 1-Cell 2))]

What I'm wondering is how Cell 3's formula could be producing something like
$0.000000000000227373675443232000.



See:

http://support.microsoft.com/kb/214118/en-us
--ron

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
Reusing formula Tony29 Excel Discussion (Misc queries) 7 September 7th 06 03:34 AM
Array formula returning wrong results TUNGANA KURMA RAJU Excel Discussion (Misc queries) 1 November 19th 05 10:29 AM
put formula results into a different cell if it is empty PutFormula Excel Worksheet Functions 2 February 11th 05 03:31 AM
Function Formula is displayed not results iloveexcellllll Excel Worksheet Functions 0 January 11th 05 02:29 AM
I want the results of a formula to show in cell, NOT THE FORMULA! ocbecky Excel Discussion (Misc queries) 4 December 10th 04 08:39 PM


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