XL2011-Extract single character & apend with dependent "+1" function

StephenK2

New Member
Joined
Jul 9, 2011
Messages
4
Ok, so here's some info and the dilemma:
Excel 2011 on Windows 7

Dilemma: I have data and am trying to extract just the first character from the cell and then appending an 8-digit number (ie: 00000001) to it. However I have two character variables: letters "J" and "P". Pictures are worth a thousand words, so...
http://www.flickr.com/photos/spk0912/5919824998/
I want Row 4 Column A to appear as: J2
I want Row 7 Column A to appear as: P2

How do I do that?!!!
P.S. I am working on my mac right now so the picture you see is from Numbers, but that was just b/c it was easier to get the picture off of my computer...I am working on Excel 2011 on a PC. And FYI, Opportunity Type COHN is actually cell F2.
My code so far is: =LEFT(F2,1)&VALUE(0)+1
But, I see how this does not take into consideration of the "P" variable or the additional seven zero's that I want to appear.
Like I said, I need some assistance and I would greatly appreciate some guidance. Thank you to all who can point me in the right direction.

-Stephen

yes, this is my 1st post....I think I will be here frequently from now on!!!!
 
Last edited:

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
I have fixed the link...sorry about that...was working on the edit screen waiting for the picture to load...didn't load so I appended the link.
 
Upvote 0
Anyone have a grasp on this? I know a lot of people are very busy so I'll be patient! Thank you in advance!
-Stephen
 
Upvote 0
Mvptomlinson......:beerchug:
Thank you so much!!! This has saved my hide. Worked perfectly!!!!
Thank you!!!!
-Stephen
 
Upvote 0

Forum statistics

Threads
1,224,503
Messages
6,179,134
Members
452,890
Latest member
Nikhil Ramesh

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