Adding Large Numbers and Dates together results with incorrect sum

Jamerzzzz

New Member
Joined
Feb 12, 2024
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Hi Forum,
Can someone please validate that this is an issue
I have a column with large numbers stored as text (ex. 10000001000012) and I am concatenating a date column (ex. 45265) into a larger number: 1000000100001245265

Now if i evaluate this concatenated number with the VALUE() function, (ex. VALUE(1000000100001245265)) i get a result of = 100000100001240000

Forum, why is the result ignoring the '5265' portion of the date in the evaluation?
Many thanks!
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Excel can only handle as a number up to 15 digits. When you contatenate it will turn it into text and it will keep all the details however when you try to use value and turn it into a number it will hit the 15 digit limit.
Typically when you concatenate it the way you have it is to use it as a look up key and keeping it as text works fine for that. Why do you want to convert it back to a number ?
 
Upvote 1
Solution
Thank you Alex, this answered the question, i need it for a lookup key but for a match function looking for matchType = 1 and not an exact match
 
Upvote 0

Forum statistics

Threads
1,215,093
Messages
6,123,068
Members
449,091
Latest member
remmuS24

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