Creating a list of cells' data based on criteria

scotthannaford1973

Board Regular
Joined
Sep 27, 2017
Messages
110
Office Version
  1. 2010
Platform
  1. Windows
Hi

hoping that the experts can help on this... you can see I have a basic table below A1:C39 which I'd like to summarise; basically, where the project has "Project Management" beside it in column B and "1" beside it in column C, I'd like the project to be listed in column E - with no blanks between the projects. I could do this in a pivot table, but there could be a dozen date columns and I'd rather use a formula to populate E that I could then easily replicate.

I hope that made sense... thanks in advance!

1642004943627.png
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Try:

Book1 (version 2).xlsb
ABCDE
1Project NameTeam1/3/2022Project Management and 1
2aaa
3abb
4ac 
5ad 
6ad 
7ai
8ai
9aProject Management1
10aProject Support
11aT
12at
13ba
14bb
15bc
16bd
17bd
18bi
19bi1
20bProject Management1
21bProject Support
22bt
23bt
24ca
25cb
26cc
27cd
28cd
29ci
30ci
31cProject Management
32cProject Support
33ct
34ct
35
Sheet8
Cell Formulas
RangeFormula
E2:E6E2=IFERROR(INDEX($A:$A,AGGREGATE(15,6,ROW($A$2:$A$100)/($B$2:$B$100="Project Management")/($C$2:$C$100=1),ROWS($E$2:$E2))),"")
 
Upvote 0
Solution
How about
Excel Formula:
=IFERROR(INDEX($A$2:$A$100,AGGREGATE(15,6,(ROW($A$2:$A$100)-ROW($A$2)+1)/($B$2:$B$100="Project management")/($C$2:$C$100=1),ROWS(E$2:E2))),"")
 
Upvote 0
I can work out how everything your formula does (which is fab) apart from the 15,6 what's that part do? are the numbers anything significant?

many thanks!
 
Upvote 0
The 15 tells the aggregate function to operate like the small function & the 6 tells it to ignore errors.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,004
Messages
6,122,656
Members
449,091
Latest member
peppernaut

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