Formating a number as text inside concatenate

NextYearSox

Active Member
Joined
Oct 24, 2003
Messages
287
I have a series of numbers that are formated as A001, A002, A003, ... , B001, B002, ... , C001, C002, etc. In another cell, I reference one of more of these numbers, and want to maintain the formating. What I'm using is:

=TEXT(B7,"A000")&", "&TEXT(B9,"A000")

This works for 'A' and 'C', but not for 'B', 'D', or 'E'. Not sure why not. Is there a way around this?
 

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.
You can put a backslash in front of a character to show that you want it to be displayed literally (otherwise it can be mistaken for some other number format, e.g. "D" = day) so try like this

=TEXT(B7,"\B000")&", "&TEXT(B9,"\B000")
 
Upvote 0

Forum statistics

Threads
1,224,581
Messages
6,179,668
Members
452,936
Latest member
anamikabhargaw

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