Please Help With Excel 2003 Formula - TechRepublic
Question
February 6, 2009 at 07:49 PM
gaminescholer

Please Help With Excel 2003 Formula

by gaminescholer . Updated 17 years, 5 months ago

Hi! I need one column to show the following text:
prxyz,(data1 here),0699,ABCD(data2 here),xxx

data1 is in column A and data2 is in column B.

the format of data1 needs to be 5 numbers (sometimes beginning with zeros).
for data2, they need to type in data that’s 9digits long and ends in a letter. if they enter 9 digits only, the letter needs to automatically be substituted with 0 (zero).

so for example i enter ‘123’ in A1, ‘12345’ in A2, ‘123456789’ in B1 and ‘987654321Z’ in B2, it needs to come out as:
A B C
1 00123 123567890 prxyz,00123,0699,ABCD1234567890,xxx
2 12345 987654321Z prxyz,12345,0699,ABCD987654321Z,xxx

I’ve formatted col A out w custom format 00000 for it to always display 5digits. But I’m stuck on Column B and C.

This is what I’ve come up with but it’s not correct: =”prxyz,”&A1&”,0699,”&”ABCD”&B1&”,xxx”

Please help?

This discussion is locked

All Comments