![]() |
VLOOKUP Dates in a Pivot Table
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? |
VLOOKUP Dates in a Pivot Table
You could try changing the lookup value to text in the formula:
=VLOOKUP(TEXT(H13,"mmm-yy"),$B$11:$E$200,2,0) RL wrote: 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? -- Debra Dalgleish Contextures http://www.contextures.com/tiptech.html |
All times are GMT +1. The time now is 08:59 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com