Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


OldGeek

901 posts

Ultimate Geek

ID Verified
Lifetime subscriber

#304501 9-May-2023 13:46
Send private message

I have a spreadsheet where rounding is involved, and rounded numbers reported are not carried forward in subsequent cell calculations.  I am retired and taking on voluntary roles that have exposed me to the need to use spreadsheets - so still a relative novice but a long-time user of other Office apps.

 

Example:  

 

C1 value is 94.326 and defined as a number with 3 decimal places

 

C2 value is 0.123000 and defined as a number with 6 decimal places

 

C3 value is C1*C2 - 11.60 reported but actually is 11.602098 rounded down - defined as currency with 2 decimal places

 

When C3 is used in subsequent formulae, should the value be based on the rounded number that Excel reports in the cell (11.60) or the actual number (11.602098)?

 

A follow-up question is how to ensure the rounded number is used?

 

 





-- 

OldGeek.

 

Quic referal code: https://account.quic.nz/refer/581402


Create new topic

This is a filtered page: currently showing replies marked as answers. Click here to see full discussion.

mjb

mjb
996 posts

Ultimate Geek

Trusted

  #3074217 9-May-2023 13:52
Send private message

It'll use the calculated value, not the "display" value. If you want to use the rounded number, use the ROUND() formula in the cell calculation.





contentsofsignaturemaysettleduringshipping




mjb

mjb
996 posts

Ultimate Geek

Trusted

  #3074227 9-May-2023 14:22
Send private message

OldGeek:

 

mjb:

 

It'll use the calculated value, not the "display" value. If you want to use the rounded number, use the ROUND() formula in the cell calculation.

 

Thanks but the affected cells already have a formula:  so my question is how to add the ROUND function to an existing formula.  For example, Cell C3 has this formula: =IF(B9<>0,B9*I9,"") - can I add in a ROUND statement? or do I have to use another cell with a ROUND statement referencing C3

 

 

Absolutely. You'd want:

 

 

 

=IF(B9<>0,ROUND(B9*I9,2),"")

 

 

 

You can nest expressions within expressions - as long as the ultimate result of an inner expression is in the form that the outer expression can use. In this case, IF() is expecting a value of any type in the second argument, so the result of ROUND() will work fine. The first argument (B9<>0) is expected to be an expression that evaluates to a True or False . However, this can actually be returned from many different types of expression results (integers, booleans, strings, etc), but that's a bit out of scope for your current question.





contentsofsignaturemaysettleduringshipping


Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.