Concatenating NUMBERS only

Ellenisobel

New Member
Joined
Nov 11, 2015
Messages
2
Hi Guys,

I am stuck trying to concatenate 2 numbers cells, retaining the number format - is there anyway to do this or does excel always convert the concat to text?

Example of what I am trying to do:

In one column I have a mixture of 4 digit and 5 digit numbers. All of these need to be 5 digits, so I filter out the existing 5 digits and am then trying to add a 9 in front of the 4 digiters.
One way of doing this is to just add 90000, but ideally would like the concatenate to work.

Then in the new column with the concatenate, I do a simple IF statement to reference the original cell if blank.


Sorry if that doesn't make sense!!!:eek::confused:

Thanks!

p.s. I am operating on Excel 2013
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

oldbrewer

Well-known Member
Joined
Apr 11, 2010
Messages
11,004
if 9 and 1234 are the numbers concatenate gives 91234 as text so you need =value(concatenate(...........
 

Ellenisobel

New Member
Joined
Nov 11, 2015
Messages
2
THANK YOU!!! oldbrewer, that nailed it.
Amazing what you forget when you don't use it regularly :)

Cheers.
 

Watch MrExcel Video

Forum statistics

Threads
1,129,430
Messages
5,636,227
Members
416,908
Latest member
Streetsweeper

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
Top