Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel-Sum with text in cell?? 1

Status
Not open for further replies.

gdbsti

Technical User
Jul 15, 2003
29
US
Hi all, I did a search here but could not find an answer...
I need a formula to add (+1, or +9) to a cell containing letters and numbers. eg:

A
1 AB1234
2 AB1235
3 AB1236

TIA
Bruce
 
Something along the lines of:

=LEFT(A1;2)+(RIGHT(A1;4)+9)


Ilse
 
More like this (assuming all of your data has 4 numbers at the end that you want to add 1 or 9 to:

=Value(right(A1,4))+1 or
=Value(right(A1,4))+9

If you need to have the number "reconnected" to the letters:

=Left(A1,2)&Value(Right(D1,4))+1 or
=Left(A1,2)&Value(Right(D1,4))+9

I hope this helps!




Peace! [peace]

Mike

Never say Never!!!
Nothing is impossible!!!
 
Ooops,

That should read:

=Left(A1,2)&Value(Right(A1,4))+1 or
=Left(A1,2)&Value(Right(A1,4))+9


For the second formulae!

Sorry![blush]

Peace! [peace]

Mike

Never say Never!!!
Nothing is impossible!!!
 
Thank you very much Ilse and Mike..
On with the project!

Cheers
Bruce
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top