Filter Sheet 1, formula on filtered cells on Sheet B

StephanV

Board Regular
Joined
Jun 25, 2008
Messages
93
I've got a database on Sheet 1, containing several projects, with dates, actions and errors.

Sheet 1:
A1:A5000 = Project Name
B1:B5000 = Start date
C1:C5000 = End date
D1:D5000 = No. actions
E1:E5000 = Error on action

From these values I would like to calculate averages, based on project, dates etc on sheet 2.

Is it possible to calculate these averages based on the filtered / visible cells in sheet 1?

So for example, I filter sheet 1 on project name, and then calculate the error percentage on the visible cells (Ex/Dx)

Is this possible?
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Another try:

Sheet 2: A1: subtotal(9;'Sheet 1'!E1:E5000)
Sheet 2: A2: subtotal(9;'Sheet 1'!D1:D5000)
Sheet 2: A3: =A1/A2

Can someone with more excel knowledge confirm that this is the average of my filtered data on sheet 1? My first check says it is, but I cant take the risk of error :P
 
Upvote 0

Forum statistics

Threads
1,224,574
Messages
6,179,628
Members
452,933
Latest member
patv

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