Combine Filter and Aggregate Function?

jakeman

Active Member
Joined
Apr 29, 2008
Messages
325
Office Version
  1. 365
Platform
  1. Windows
Is it possible to combine the Filter function with the Aggregate Function?

I have a table that spans several columns but I am interested in only two of them: Goal and % Completed. The Goal column has multiple rows that I want to Average the % Completed for. In the image attachment, my desired output would only show 6 rows with an average.

I've managed to get the first part shown in the attached image but I cannot figure the Aggregate function:

Excel Formula:
=FILTER(UNIQUE(FILTER(Plan_Tbl,(Plan_Tbl[#Headers]="Process / Function")+(Plan_Tbl[#Headers]="Goal")+(Plan_Tbl[#Headers]="Goal CP%"))),{1,0,1})

Would anyone be able to assist?
 

Attachments

  • Screenshot 2023-06-01 121933.png
    Screenshot 2023-06-01 121933.png
    9 KB · Views: 28
Sorry, friend. My mistake. I had typo'd one of the column names. Your solution worked brilliantly. I have to now try and understand how what you put together works. So many functions in here that I know nothing about.

Thank you so much for your effort and time, my friend!
 
Last edited:
Upvote 0

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,092
Messages
6,123,063
Members
449,090
Latest member
fragment

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