Forum Discussion

Mbala365's avatar
Mbala365
Copper Contributor
Mar 17, 2022
Solved

Issues using Ampersand (&) to combine numbers from two different cells

I am trying to combine two different cells that contain numbers into one cell and it is bringing over incorrect values.  In my example below the first part of the data is in cell B2 and the second part is in C2. When I combine them in D2 they show the correct numbers:

 

CustomerInvoiceSpecial Inv No
6687879910040066131966878799100400661319

 

When I remove  the formula from D2 it is converted to text:

 

When I convert it to number it changes the combination I had to something that shouldn't be:

 

CustomerInvoiceSpecial Inv No
6687879910040066131966878799100400600000

 

Why is this happening and what can I do to fix it? Is there a different formula I should use for combing numbers in a cell? Appreciate any help!

 

4 Replies

  • Detlef_Lewin's avatar
    Detlef_Lewin
    Silver Contributor

    Mbala365 

    Excel display only 15 digits (of precision). Any other digit reverts to 0.

    Do you have to do further calculations (adding, subtracting, ...)?

    If not then leave it as text. Otherwise you may look for other applications or addins which can handle numbers with more than 15 digits.

     

     

    • Mbala365's avatar
      Mbala365
      Copper Contributor
      I do need to do further calculations as I am using a SUMIF formula to total the amounts received based on the special invoice number. Do you know of any add one as you suggested?

Resources