PDA

View Full Version : Required an excel formula to combine first and last 3 letters of a text



PRADEEPB270
03-07-2014, 11:01 AM
I want an excel formula who combine first and last 3 letters of a text.

For an example:-SPPADRKCCRCRD
the formula should show me as 'SPPCRD'.

Regards

Admin
03-07-2014, 12:16 PM
Hi Pradeep,

Welcome to board !!

if your text is in A2, in B2:

=IF(LEN(A2)>3,LEFT(A2,3)&RIGHT(A2,3),A2)

PRADEEPB270
03-07-2014, 12:56 PM
Thanks for a lot.Glad to find the nice solution.

Regards

salim hasan
04-03-2014, 01:51 PM
Enter the formula:
=LEFT(E2,3)&RIGHT(E2,3) ,replace E2 with the cell when the text is on