Drill down like a pivot

can an expert help me out with this please. I have attached a file which I would like to act like a pivot but which is not actually a pivot. When the user clicks on one of the cell I need it to drill down to the data and return the relevant rows on a new sheet.

So if there is a number 3 in cell C5, when this cell is clicked on I would like the macro to return the relevant 3 rows from the underlying data. [have shown example in attached file]

Hope this is self explanatory together with the attached file
Like_a_Pivot.xlsm
JagwarmanAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ste5anSenior DeveloperCommented:
Why not using a pivot?

Capture.PNG
0
JagwarmanAuthor Commented:
pivots move so if there is no data in Day 3 or day 4 etc it does not show in the pivot so the user does not want to use a pivot
0
ste5anSenior DeveloperCommented:
?
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

JagwarmanAuthor Commented:
not sure what the ? was for, did you not understand my reply?

Take a look at sheet 2. That is what it must be like every day no matter if there is data in any of the days or not. Now look at the pivot. It does not show all the days.
0
ste5anSenior DeveloperCommented:
Just add the values, you want to see, in T_AGE.
0
Ejgil HedegaardCommented:
Try this file.
There was some errors in the table on Sheet2, so I have changed to formulas to count the number.
And changed the formula in column V on Fails, to match the header in row 4 on Sheet2.
Like_a_Pivot.xlsm
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
JagwarmanAuthor Commented:
That does exactly what I was looking for. Brilliant
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.