Return a value from an intersection.

Nemo74

New Member
Joined
Mar 22, 2013
Messages
38
Hello all, ok here is what is kicking my butt:


NYC La. Dc. Tampa. Madison
Jim. 0. 4. 0. 0. 0
Joe. 4. 1. 0. 0. 0
Bob. 3. 15. 1. 0. 0
Ann. 0. 0. 0. 0. 0
Margret. 10. 3. 1. 0. 1


I need a formula to return the value at each intersection. The formula will be in another sheet. The other sheet is like this
City name. Value
NYC. Jim. ?
NYC. Joe ?
NYC. Bob. ?
NYC. Ann ?
NYC. Margret. ?
Repeats for each city.


The goal is to turn the first chart into a pivot chart that is able to select city and name via a slicer.


Big fun!


Thanks in advance!
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Sheet1, A:F, the data...
NYC La Dc Tampa Madison
Jim04000
Joe41000
Bob315100
Ann00000
Margret103101

<colgroup><col style="width: 48pt;" span="6" width="64"> <tbody>
</tbody>

Sheet2, A:C, the processing...

C2, just enter and copy down:

=INDEX(Sheet1!$B$2:$F$6,MATCH($B2,Sheet1!$A$2:$A$6,0),MATCH($A2,Sheet1!$B$1:$F$1,0))
 
Upvote 0
Thanks Aladin,
I was using the same formula set up, but I don't know how what I was doing wrong.

At least I was on the right track. Thanks for setting me stright!:cool:
 
Upvote 0

Forum statistics

Threads
1,203,221
Messages
6,054,224
Members
444,711
Latest member
Stupid Idiot

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