#1   Report Post  
Posted to microsoft.public.excel.misc
Alan Graybosch
 
Posts: n/a
Default Ugly Problem


Here's what I've got...

Need to summarize data by person (count, median, 95th percentile) by
month for the last 12 months. I've got a query that returns ~6000 rows
x 10 columns and I did a pivot table to get all the unique person names
(~40). I then added columns for the months and entered array formulas
(for the count, median, 95th percentile) comparing the person's name
and month - pretty cool and it works to a degree...

However, in order to summarize variations of the same data I end up
with multiple array formula tables - each 40 rows by 12 cols - and
performance is terrible after the 4th table. It's been recalculating
for over 90 min. I recently implemented dynamic named ranges and that
seemed to help a bit.

In researching I understand that one of the drawbacks to array formulas
can be slow performance and the recommended solution is to use database
formulas. Problem is how do I best organize the criteria when I have 40
names to summarize over 12 months - *wouldn't I need 480 criteria
combinations*? Or is there a simpler way to handle those criteria
combinations. Regardless, as a new person is added, I lose the dynamic
nature of the array formulas. Not to mention there is no DPERCENTILE
function.

Alan


--
Alan Graybosch
------------------------------------------------------------------------
Alan Graybosch's Profile: http://www.excelforum.com/member.php...o&userid=34342
View this thread: http://www.excelforum.com/showthread...hreadid=541110

  #2   Report Post  
Posted to microsoft.public.excel.misc
Miguel Zapico
 
Posts: n/a
Default Ugly Problem

Hi,

As you have started with a pivot table, you may continue using it for the
calculations. There are some that are standard (like count), and others that
may be done either with the Field options or calculated fields.
For the ones that couldn't be made that way, you may use database functions
directly with the pivot table, as the underlying data is there, or use the
GETPIVOTDATA and craft the formulas based on that.

Hope this helps,
Miguel.

"Alan Graybosch" wrote:


Here's what I've got...

Need to summarize data by person (count, median, 95th percentile) by
month for the last 12 months. I've got a query that returns ~6000 rows
x 10 columns and I did a pivot table to get all the unique person names
(~40). I then added columns for the months and entered array formulas
(for the count, median, 95th percentile) comparing the person's name
and month - pretty cool and it works to a degree...

However, in order to summarize variations of the same data I end up
with multiple array formula tables - each 40 rows by 12 cols - and
performance is terrible after the 4th table. It's been recalculating
for over 90 min. I recently implemented dynamic named ranges and that
seemed to help a bit.

In researching I understand that one of the drawbacks to array formulas
can be slow performance and the recommended solution is to use database
formulas. Problem is how do I best organize the criteria when I have 40
names to summarize over 12 months - *wouldn't I need 480 criteria
combinations*? Or is there a simpler way to handle those criteria
combinations. Regardless, as a new person is added, I lose the dynamic
nature of the array formulas. Not to mention there is no DPERCENTILE
function.

Alan


--
Alan Graybosch
------------------------------------------------------------------------
Alan Graybosch's Profile: http://www.excelforum.com/member.php...o&userid=34342
View this thread: http://www.excelforum.com/showthread...hreadid=541110


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
Line Graph Problem Nick I Charts and Charting in Excel 2 October 6th 05 02:06 PM
Urgent Help Required on Excel Macro Problem Sachin Shah Excel Discussion (Misc queries) 1 August 17th 05 06:26 AM
Problem With Reference Update Egon Excel Worksheet Functions 17 July 16th 05 05:45 AM
Copy an Drag cell Formula Problem Nat Excel Discussion (Misc queries) 1 June 20th 05 03:24 PM
Freeze Pane problem in shared workbooks JM Excel Discussion (Misc queries) 1 February 1st 05 12:04 AM


All times are GMT +1. The time now is 07:16 AM.

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"