5527-31971 to 31971-5527

AMARRAJ

New Member
Joined
Jul 17, 2011
Messages
4
Hi,
Anybody plz give answer

i have cell values like
A1:5527-31971
A2:5527-31972
A3:5527-31973
A4:5565-40261
A5:5565-40262
A6:5565-40263
A7:5567-36131
A8:5567-36132
A9:5567-36133
how we can change values in one cell
from 5527-31971 to 31971-5527
plz answer
thanks:confused:
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
If the list always in : 4 digits+ 5 digits, then, :

=MID(A1,6,5)&"-"&LEFT(A1,4)

Regadrs
 
Upvote 0
If the number of digits can change then use

=MID(A1&"-"&A1,FIND("-",A1)+1,LEN(A1))
 
Upvote 0
Thanks, IT is working superb

but i want change entire column at a time plz answer me!!!!!!!!!:)
CGI
5565-40262
5565-40263
5567-36131
5567-36132
5567-36133
5567-36391
5567-36392
5567-36393
5021-50051
5021-50052
5021-50053
5686-13011
5686-13012
45-14311
45-14312
45-14313
5035-31011
5035-31012
5035-31013
5512-8091
5512-8092
5512-8093
5579-36021
5579-36022
i am waiting for ur reply..
Thanks.........
 
Last edited:
Upvote 0
and add value like 404-40- to :confused:changed entire column
for example
1)from 5527-31971 to 31971-5527
2)then from 31971-5527 to 404-40-31971-5527
 
Upvote 0

Forum statistics

Threads
1,224,566
Messages
6,179,550
Members
452,927
Latest member
rows and columns

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