Screen Shot 2015-07-10 at 10.52.03 AM.png
Can anyone tell me how to move these values from multiple cells in a column (Column B) to a single row based on one cells value (Column A)?
Thank you in advance
Screen Shot 2015-07-10 at 10.52.03 AM.png
Can anyone tell me how to move these values from multiple cells in a column (Column B) to a single row based on one cells value (Column A)?
Thank you in advance
Last edited by Huskersippi; 07-10-2015 at 12:04 PM.
The formula answer:
1) Highlight column A
2) Use Data > Advanced Filter
- Unique Values Only
- Copy To Another Location (Select D1)
This gives you an extracted list of all your street names.
3) Enter this formula in E2, then copy across and down as far as needed:
=IF(COLUMN(A1)>COUNTIF($A:$A, $D2), "", INDEX($B:$B, MATCH($D2,$A:$A, 0) + COLUMN(A1)-1))
Last edited by JBeaucaire; 07-10-2015 at 06:43 PM.
_________________
Microsoft MVP 2010 - Excel
Visit: Jerry Beaucaire's Excel Files & Macros
If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
Always put your code between code tags. [CODE] your code here [/CODE]
?None of us is as good as all of us? - Ray Kroc
?Actually, I *am* a rocket scientist.? - JB (little ones count!)
Not sure those cells you're saying to copy to and write the formula in are correct ? I'm receiving a circular reference warning
A straight formula method that may help you:
These are ARRAY formulae that are entered with Ctrl + Shift + Enter
To get a unique listing of the streets in column D enter the following formula in D2 and fill down:
Formula:Please Login or Register to view this content.
To get the entries for each street, enter this formula in E2 and fill Across and Down:
Formula:Please Login or Register to view this content.
Remember: These are ARRAY formulae to be entered with Ctrl + Shift + Enter.
Result:
A B C D E F G H I J K 1Street Grid Street Grid1 Grid2 Grid3 Grid4 Grid5 Grid6 Grid7 2Pike St 201Pike St 201 205 3Pike St 205Johns St 201 204 207 4Johns St 201Smith St 200 5Johns St 204Main St 102 106 107 108 110 111 6Johns St 207 7Smith St 200 8Main St 102 9Main St 106 10Main St 107 11Main St 108 12Main St 110 13Main St 111
<---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.Ron W
Yes, you're correct, the formula should have been entered in E2, next to the first street name. My apologies.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks