Move cells into catergories

steffen82

New Member
Joined
Jan 26, 2017
Messages
4
Hi

Someone's help would be very appreciated. I have a list of addresses where there are multiple street names and all of them have a different house number in the cell to the left of street name. I would like all of the house numbers to come under the street name. I have removed duplicates of street names and transposed them from column to top row.

Below is an example of what I would like to happen (with a formula a bit like a vlookup or an array)

How Data LooksHow would like data to look
Sheet 1Sheet 2
Column EColumn FColumn AColumn BColumn CColumn D
House 1Street 1Street 1Street 2Street 3Street 4
House 2Street 1House 1House 1House 1House 1
House 3Street 1House 2House 2House 2House 2
House 4Street 1House 3House 3House 3House 3
House 1Street 2House 4House 4House 4House 4
House 2Street 2House 5House 5
House 3Street 2
House 4Street 2
House 1Street 3
House 2Street 3
House 3Street 3
House 4Street 3
House 5Street 3
House 1Street 4
House 2Street 4
House 3Street 4
House 4Street 4
House 5Street 4

<tbody>
</tbody><colgroup><col span="7"></colgroup>
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Welcome to the MrExcel board!

I have done this on a single sheet. Hopefully you can adapt to get the results on to a second sheet if it does what you want.

Formula in H2 is copied across and down.

Excel Workbook
EFGHIJK
1House 1Street 1Street 1Street 2Street 3Street 4
2House 2Street 1House 1House 1House 1House 1
3House 3Street 1House 2House 2House 2House 2
4House 4Street 1House 3House 3House 3House 3
5House 1Street 2House 4House 4House 4House 4
6House 2Street 2House 5House 5
7House 3Street 2
8House 4Street 2
9House 1Street 3
10House 2Street 3
11House 3Street 3
12House 4Street 3
13House 5Street 3
14House 1Street 4
15House 2Street 4
16House 3Street 4
17House 4Street 4
18House 5Street 4
19
Rearrange
 
Upvote 0

Forum statistics

Threads
1,214,798
Messages
6,121,636
Members
449,043
Latest member
farhansadik

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