Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 2
Default Calculated Field - vLookup

Getting error message "References, names and arrays are not supported in pivot table formulas"
When entering vLookup in a pivot table calculated field.
Example:
Name: TblLu
Formula: =vlookup(Re_Num,newrates,34,false)

Please help.
Thanks,
Ken
  #2   Report Post  
Senior Member
 
Posts: 663
Default

Quote:
Originally Posted by KVJS View Post
Getting error message "References, names and arrays are not supported in pivot table formulas"
When entering vLookup in a pivot table calculated field.
Example:
Name: TblLu
Formula: =vlookup(Re_Num,newrates,34,false)

Please help.
Thanks,
Ken
Hi Ken,

Is "Re_Num" in your workbook a single cell or a range of cells?
  #3   Report Post  
Junior Member
 
Posts: 2
Default

Quote:
Originally Posted by Spencer101 View Post
Hi Ken,

Is "Re_Num" in your workbook a single cell or a range of cells?
Hi Spencer,
A single cell.
All I am trying to do using an Item Id is read a table and display info from that table. Re_Num is simply the item Id.
Thanks,
Ken
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 173
Default Calculated Field - vLookup

Ken,

It is my understanding that PivotTable Calculated Fields cannot use any formula that requires a range as one of its arguments. There are a few ways to work around it. Here are a couple of suggestions:

1. Use the CHOOSE function. If you have 29 or fewer lookup items, you could use the CHOOSE function to select the appropriate item from the list.

2. Add a column to your source data. If you are able, simply add a column to the table that feeds your PivotTable and use the VLOOKUP within that column instead. Then, that new column will be available to add as a field to your PivotTable.

3. Use the GetPivotData function. To use this option, simply use the VLOOKUP in a range of cells outside of the PivotTable and use GetPivotData to pull in any data needed from the PT.

None of these may be ideal for your needs, but hopefully one of them will work out.

Ben
Reply
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, IF function, calculated item versus calculated field NomadPurple Excel Discussion (Misc queries) 1 March 9th 10 03:17 PM
I want to create a calculated item based on a calculated field Stijn Excel Discussion (Misc queries) 1 August 25th 08 05:30 PM
Calculated Field and Calculated Item in Pivot Table Fred Smith Excel Discussion (Misc queries) 0 March 4th 07 08:15 PM
Pivot Table Formulas Calculated Item / Calculated Field Vikram Dhemare Excel Programming 2 October 10th 06 08:45 AM
pivot table formulas for calculated field or calculated item Vicky Excel Discussion (Misc queries) 3 June 6th 06 05:06 AM


All times are GMT +1. The time now is 02:13 PM.

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

About Us

"It's about Microsoft Excel"