Calculating massive numbers

Pauljj

Well-known Member
Joined
Mar 28, 2004
Messages
2,047
I have just realised that excel only calculates with precision numbers up to 999 trillion, if I want to add figures together which contain up to 17 digits (99 quadrillion) is there any way this can be done without the last 2 digits changing to zero ?

Cheers

Paul
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
I have just realised that excel only calculates with precision numbers up to 999 trillion, if I want to add figures together which contain up to 17 digits (99 quadrillion) is there any way this can be done without the last 2 digits changing to zero ?

Cheers

Paul

hmm, looks like a floating point limitation in Excel

how about splitting up the numbers in third

eg. 123456789012345678901234567 into 1234567890 | 1234567890 | 1234567000

then adding up the columns?
 
Upvote 0
Hi Paul

You can add numbers with 17 digits using decimals in vba.

I'm curious, why would you need a number with 17 significant digits in a real life application?
 
Upvote 0

Forum statistics

Threads
1,214,990
Messages
6,122,626
Members
449,094
Latest member
bsb1122

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top