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

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
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,215,009
Messages
6,122,674
Members
449,091
Latest member
peppernaut

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