LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Significant digit causing wrong value?

I have been using a simple IF formula w/o any problem for several weeks until
now. The IF statement just calculates the amount of product from a meter
every week. This simple formula compares the 1st of the week vs the last of
the week readings and even if this meter rolls over this IF statement
calculates out the correct amount of product.

IF(Z15<Y15,100000000-Y15+Z15,Z15-Y15) Y=1st of week reading & Z=Last of week
reading.

The meter goes up to 99,999,999 units. Problem developed that caused the IF
product results to be backwards. After noticing this I flipped the < to
and it worked correctly to my surprise - but how? After trying Cell Format
options w/o any luck I tried placing a zero in front of the "Y" number when
typing it in with Cell Format set on Numbers w/o decimals (sometimes the
meter has just rolled over and the number is small w/one or more zeros in the
ten million place and downward in value). I now keep the cell in Text format
and place the zeros in (ie: 00012345) and this works fine as well but why
has this issue just begun presenting itself? There has been many same type
scenarios in the past w/o any issue. Also the file is always renewed every
week using the "Save as" option and just renamed.
 
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
conditional format on first & last digit on 3 digit cell data caprey New Users to Excel 3 December 17th 08 05:24 PM
HOW DO I CONVERT A NUMBER'S MOST SIGNIFICANT DIGIT TO A SINGLE DI. maxq777 Excel Worksheet Functions 4 March 23rd 08 10:40 PM
Color a single digit in a mult-digit number cell Phyllis Excel Discussion (Misc queries) 6 November 17th 05 12:46 AM
Tell users how to sort 5 digit and 9 digit zipcodes correctly aft. [email protected] New Users to Excel 1 February 18th 05 12:59 AM
When we enter a 16 digit number (credit card) the last digit chan. ceking Excel Discussion (Misc queries) 5 December 8th 04 11:45 PM


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