LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35
Default Help with creating dynamic table & filtering

I have data that looks like this:

WW_Yr OpenDays Sminor Smedium Scritical Sundefined

WW01 14 1 0 0 0
WW01 1 0 1 0 0
WW02 15 1 0 0 0
WW02 129 0 0 1 0
WW03 17 0 0 0 0
WW04 13 1 0 0 0

etc.

This data starts in cell A1 and goes across to column M and the number of
rows can be different.

So in the 1st column I can have 1 or more records with the same week #
indicator. The other fields are numbers. The last 4 columns are basically
true/false. There will only be a "1" in one of the fields.

The 1st thing I want to do is to create a dynamic table based on this data,
with the data starting in cell O3, 4 columns wide and 26 rows.

The 1st column will have the distinct WW_Yr values from my source data above
dropped in from a routine.

The 2nd column needs to be an average of OpenDays for each of the 26 WWW_Yr
value where Sminor = 1 or a 0 if there are none. The other 3 columns will
work the same for Smedium, Scritical & Sundefined.

Here is a sample of what it might look like:

WW_Yr MinAvg MedAvg CriAvg UndAvg

WW01 23.567 0 0 0
WW02 0 18.88 0 0
WW03 0 0 0 7.127
WW04 42.5 0 0 0
WW05 0 0 11.11 0
WW06 0 31 0 0

etc.


The next thing I want to do is build in filtering options.

There's 7 more fields after Sundefined above and I want these to be filters.
I can use the autofilter if I have to, but I would like a way to give my
users the option to only filter on these fields from a distinct list of
values found in my source data. One of the fields is called Platform.

When a user chooses a value in a filter then I want the source data above to
filter to show only those rows and I need the dynamic table to adjust to only
calculate off of the rows showing.

Eventually, I will build a chart off of the dynamic table, but I just can't
get all the pieces to come together.

Any help will be greatly appreciated.

Thanks,
Clint
 
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
Dynamic Filtering...Need Help cmeyer Excel Worksheet Functions 0 April 16th 10 04:08 PM
Creating a new table from another - filtering out unwanted data Kamalii Excel Worksheet Functions 8 March 14th 10 11:17 AM
Dynamic Filtering Flintstone[_2_] Excel Discussion (Misc queries) 2 October 29th 09 01:58 PM
Dynamic filtering into a new range Atreides Excel Programming 3 July 21st 09 08:07 AM
Filtering a dynamic range Basil Excel Worksheet Functions 5 April 30th 07 06:05 PM


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