Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-04-2024, 01:44 AM
tomohawk tomohawk is offline Incorrect Value Calculated In Cell Windows 10 Incorrect Value Calculated In Cell Office 2019
Advanced Beginner
Incorrect Value Calculated In Cell
 
Join Date: Sep 2020
Location: Dublin
Posts: 60
tomohawk is on a distinguished road
Default Incorrect Value Calculated In Cell

I have a spreadsheet of banking data, so cannot share as example.

I've been using for years and updating the values every month.

I have a particular cell where I compare a cell value in one sheet with a cell value in another sheet (TRUE/FALSE) and this is suddenly returning a FALSE, where I know that the two values are the same. Both values are SUM functions of other data.

When I expand the number of decimal places of both fields, I notice that there is a 1 at the tenth decimal place in one of the 2 cells being compared. This is unexplained, as I have checked the values underlying the SUM in that cell and there is no 1 at tenth decimal place.

Calculation is turned on


Formatting (number to 2 dp's) is the same

Any ideas as to how to proceed?

Tommy
Reply With Quote
  #2  
Old 10-04-2024, 05:31 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Incorrect Value Calculated In Cell Windows 10 Incorrect Value Calculated In Cell Office 2021
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,920
Pecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond repute
Default

You are the " victim " of floating point error. The ROUND function will help you out. More info at Floating-point arithmetic may give inaccurate result in Excel - Microsoft 365 Apps | Microsoft Learn
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #3  
Old 10-04-2024, 06:47 AM
tomohawk tomohawk is offline Incorrect Value Calculated In Cell Windows 10 Incorrect Value Calculated In Cell Office 2019
Advanced Beginner
Incorrect Value Calculated In Cell
 
Join Date: Sep 2020
Location: Dublin
Posts: 60
tomohawk is on a distinguished road
Default

Thanks for the support Pecoflyer

The ROUND function has solved the issue.

Tommy
Reply With Quote
  #4  
Old 10-04-2024, 08:17 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Incorrect Value Calculated In Cell Windows 10 Incorrect Value Calculated In Cell Office 2021
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,920
Pecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond repute
Default

Glad to help
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Link (to Excel cell) Field Date Formatting Showing Incorrect Year eyefuel Word 2 06-15-2023 12:32 PM
Slow response updating cell values & calculated cells XL2013 kdash Excel 1 05-06-2015 10:05 AM
Find out whether a cell has been typed or calculated C J Squibb Excel 1 10-01-2013 11:41 AM
Incorrect Value Calculated In Cell Inserting a date calculated from a table cell theMikeD Word 2 09-11-2012 05:46 PM
Incorrect Value Calculated In Cell Calculated dates. Ziggy-R Word 10 09-28-2010 01:42 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:31 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft