Expanding/Contracting Pivot Table Row and Column 2 way lookup formula

bearcub

Well-known Member
Joined
May 18, 2005
Messages
704
Office Version
  1. 365
  2. 2013
  3. 2010
  4. 2007
Platform
  1. Windows
I am using a pivot table where the columns and row widths wil change depending upon the sales rep I am reviewing (they are paid in different categories starting with Geo NARR).

I would like to create a 2 way lookup which provide me with the total at the intersection of the Grand Total row and Grand Total Column ($3,873.70)

The next rep I'm validating might only have March-May, or only April payments which impacts the number of columns.

The rows width with vary as well because they have more or less earnings categories (e.g. Geo NARR, Regional NARR, etc).

I've been trying to use the Index match formula but I have not used this approach in a few years so I'm at a loss to set it up. Or, could I use the sumproduct function.

Thank you for your help in advance



Rep NameFebruaryMarchAprilMayGrand Total
Joseph Magnum
$230.92​
$1,767.92​
$970.58​
$904.27​
$3,873.70​
GEO NARR
$3.09​
$347.58​
$703.08​
$388.65​
$1,442.40​
Regional NARR
$6.70​
$1,091.61​
$118.87​
$169.27​
$1,386.45​
Multi Year
$1.60​
$1.60​
Professional Services
$205.00​
$219.78​
$234.44​
$659.22​
Renewal
$16.13​
$100.15​
$148.62​
$111.92​
$376.83​
Renewal - Other
$7.20​
$7.20​
Grand Total$230.92$1,767.92$970.58$904.27$3,873.70
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.

Forum statistics

Threads
1,215,053
Messages
6,122,882
Members
449,097
Latest member
dbomb1414

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