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

bearcub

Well-known Member
Joined
May 18, 2005
Messages
629
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

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK

Forum statistics

Threads
1,144,370
Messages
5,723,964
Members
422,529
Latest member
mbilal429

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
Top