Move data right and up one cell....

Marklarbear

Board Regular
Joined
Nov 6, 2003
Messages
119
Office Version
  1. 365
Platform
  1. Windows
Hi All,

Using Excel 2000 on Windows XP.

I have the following example:
Excel Workbook
AB
1ListCode
2Student, Loan
3e31713
4Car, Steering
5e31697
6Rough, Ride
7e38445
8BAMFORD (c), Jones
9c34334
10Tornado, Shoe
11e38611
12
13
14
15EVANS (c), NICK
16c04310
17Fozzy, Bear
18e31731
19LUITJES (c), STEPHEN
20c31141
21OWENS, clive
22c34418
23
24
25Scopion, Mark
26c34967
27SOMERS, DAVe
28e32153
29WEEKS, ALEX
30e38617
Sheet1
Excel 2000

What I need to do is create a formula in column B that identifies the C / E number in column A, and records the C / E number next to the item description above it in column B. to get the following:
Excel Workbook
AB
1ListCode
2Student, Loane31713
3e31713
4Car, Steeringe31697
5e31697
6Rough, Ridee38445
7e38445
8BAMFORD (c), Jonesc34334
9c34334
10Tornado, Shoee38611
11e38611
12
13
14
15EVANS (c), NICKc04310
16c04310
17Fozzy, Beare31731
18e31731
19LUITJES (c), STEPHENc31141
20c31141
21OWENS, clivec34418
22c34418
23
24
25Scopion, Markc34967
26c34967
27SOMERS, DAVee32153
28e32153
29WEEKS, ALEXe38617
30e38617
Sheet1
Excel 2000

Any help will be greatly appreciated.
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Try this:
=IF(AND(OR(LEFT(TRIM(A2),1)={"e","c"}),ISNUMBER(VALUE(MID(TRIM(A2),2,1)))),A2,"")

copy down
 
Upvote 0

Forum statistics

Threads
1,224,506
Messages
6,179,158
Members
452,892
Latest member
yadavagiri

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