Return a value from an intersection.

Nemo74

New Member
Hello all, ok here is what is kicking my butt:

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!

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 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

<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))

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!

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!

Replies
1
Views
150
Replies
2
Views
381
Replies
22
Views
596
Replies
0
Views
113
Replies
7
Views
370

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.

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

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