VLOOKUP Dates in a Pivot Table

G

Guest

I have been trying to create a vlookup to a Pivot Table. My vlookup is going
to reference a date in the pivot table. I have confirmed that the vlookup
works, it is the pivot table and how it is storing the dates that is the
problem.

For the pivot table - I checked the source data and all the date fields are
formatted as "MMM-YY". When I run the pivot table from this is will store it
as text. I even tried formatting the dates as "MM/DD/YY" and the pivot table
pulls it over in that format - but when I use the formula "ISTEXT(cell)" it
is TRUE - thus stroed as text.

How do I get the pivottable to pull the date fields over and store them in a
date format vs. text?
 
D

Debra Dalgleish

You could try changing the lookup value to text in the formula:

=VLOOKUP(TEXT(H13,"mmm-yy"),$B$11:$E$200,2,0)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top