Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
DarkByte
 
Posts: n/a
Default Grouped Cells in Pivot Tables

I dunno if this was done already but,

One way i use pivot tables is often to layout some complex Data that i want
to VLOOKUP into afterwards. I know what i could use GetPivotData, but it
requires too much specific information at times to be an efficient way to
lookup my values.

I also often add some information from other data source in different sheets
(tables,queries,pivots,etc) in the columns following the pivot table columns.

The way the data is display is very efficient but accessing that data for
use in formulas often gets tricky.

Picture this display of pivot (not the real layout of pivot):

A | B | C |
------+-----------+-----------------+-------------------+
1 | region | salesperson | Sum of Sales |
------+-----------+----------------+--------------------+
2 | North | John | 100$ |
------+ +----------------+--------------------+
3 | | Paul | 50$ |
------+-----------+----------------+--------------------+

if in D2 and D3 i add the following formula, i get into problems

=VLOOKUP(A2&"-"&B2,MarginsPerRegionPerSalesPerson, 2, 0)

The proble comes on Row 3. Since A3 is blanked because it is grouped with
A2, A3's value will be empty.

Would it be possible that references to any cell in a grouped cell range to
return the value of the grouped cell, instead of the value of the looked up
cell ?

What i would love is for A3 to return "North" when i access it. A3 should
know it is grouped with A2 so the real value of A3 is really the same as A2.

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...lic.excel.misc
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
Refreshing Pivot Tables linked to Oracle Datasource [email protected] Excel Discussion (Misc queries) 0 April 25th 06 12:15 AM
How do I keep file sizes small when using multiple pivot tables? jester1072 Excel Discussion (Misc queries) 2 June 6th 05 06:43 PM
Pivot Tables Louise Excel Worksheet Functions 7 June 3rd 05 02:43 PM
Excel 97 - Selecting multiple cells from 2 different Pivot Tables jjones_HAB Excel Discussion (Misc queries) 0 March 1st 05 12:01 PM
Password protect cells PivotTable & allow the Pivot Table to refre KJThams Excel Worksheet Functions 2 November 30th 04 04:13 AM


All times are GMT +1. The time now is 07:33 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"