Pivot Table Index and Match

Dastnai

New Member
Joined
Oct 26, 2018
Messages
45
Good Afternoon Everyone,

I have a table that I am trying to bring in values based upon a pivot table I created. My goal is to bring in the values for a specified date. My table is set up from the current day and out. I am struggling using get pivot data because my column of dates is a formula =now() + 1 ect. Any ideas on how to bring in the data with getpivotdata, index and match, ect?

I really appreciate anyone's input.

Here is how my table is set up:

(C)ustomer 11/16 11/17 11/18 11/19 ...............

a
b
c
d

My pivot table is set up the same way. However the pivot starts on the first day that there is data so it might look like this

(C) 11/18 11/19 .................

a values
b values
c
d
 
Last edited:

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
NOW() gives a Date+Time value. Current Day uses the TODAY() function.
 
Upvote 0
My question is in regards to looking up a value for specified dates given the same date in a pivot table. Does that make sense?
 
Upvote 0
My question is in regards to looking up a value for specified dates given the same date in a pivot table. Does that make sense?
If you are using dates in one field and using a VLOOKUP that has a Date/Time value, you'll only have success with approximate matching. Exact matching will never occur.
To use a Pivot Table for lookup, its layout and formatting must be of particular.
Without a better representation of your table, I must suggest the use of SUMPRODUCT. It avoids several issues of changing ranges of the Pivot Table. Your source data is not a proper data set as the dates are running across the top row.
SUMIFS is also another decent option.

https://www.youtube.com/watch?v=vxpeEf8MYaY

 
Upvote 0

Forum statistics

Threads
1,215,965
Messages
6,127,970
Members
449,414
Latest member
sameri

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