reference lookup in pivot table

pmullarkey

New Member
Joined
Feb 4, 2005
Messages
1
Hi all,
I'm trying to do something a bit complex and am a little stuck and hoping for some assistance.
I have suceessfully created a pivot table which connects via odbc to an oracle database. So far so good....
A couple of the fields being returned from the oracle db are just inter values such a 1, 2 or 3. Each value corresonds to an appropriate description. For example I know that 1=good 2=bad 3=ok etc etc.
I am trying to figure out is there anyway to create a look up or reference table or something similar (or maybe VB macro) which will convert the display in the pivot table from the integer value to the descriptive value......and I haven't the faintest clue how to progress!
So any ideas or help you could give me would be greatly appriciated.
thank in advance!
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Welcome to the board!

Try =vlookup(a1,{1, "good"; 2, "bad"; 3,"ok},2,0)

where a1 has the 1, 2, or 3
 
Upvote 0

Forum statistics

Threads
1,203,397
Messages
6,055,165
Members
444,767
Latest member
bryandaniel5

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