LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,979
Default 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

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pivot Table filtering dates KJ Excel Discussion (Misc queries) 1 April 24th 07 10:21 PM
Pivot Table Dates denhamlee Excel Worksheet Functions 3 March 21st 07 07:48 PM
Pivot Table Dates denhamlee Excel Discussion (Misc queries) 0 March 20th 07 12:20 PM
Pivot Table Dates denhamlee Excel Discussion (Misc queries) 0 March 20th 07 12:20 PM
Pivot Table Dates denhamlee Excel Discussion (Misc queries) 0 March 16th 07 02:57 PM


All times are GMT +1. The time now is 04:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"