Help With formula

VinceF

Board Regular
Joined
Sep 22, 2007
Messages
192
Office Version
  1. 2016
Platform
  1. Windows
Help with formula to achieve desired result

VinceF
Win10
Office 2016

UNDER CONSTRUCTION CAM BOWLING MASTER TEMPLET.xlsm
BCDEFGHI
1
2PLAYERSELIMRESULT
3NAMEYES /NO ELIMINATORELIMINATOR
4JOENOMIKE
5MIKEYESBOB
6BOBYESVINCE
7VINCEYESPETE
8SAMNOJEFF
9EDNOSTEVE
10PETEYESJIM
11JEFFYESRON
12ERICNOCOOP
13MARKNODAVE
14STEVEYESJAMES
15JIMYESTYLOR
16BRENTNOFRANK
17ARTNO
18RONYES
19COOPYES
20JACKNO
21GARYNOFormula to: If column C = "YES", then
22DAVEYESpopulate column E with corresponding players name
23JAMESYES
24TIMNO
25KELLYNO
26TYLORYESColumn G is what it should look like
27DREWNO
28FRANKYES
Sheet1
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
How about
Fluff.xlsm
ABCDEFG
1
2PLAYERSELIMRESULT
3NAMEYES /NO ELIMINATORELIMINATOR
4JOENOMIKEMIKE
5MIKEYESBOBBOB
6BOBYESVINCEVINCE
7VINCEYESPETEPETE
8SAMNOJEFFJEFF
9EDNOSTEVESTEVE
10PETEYESJIMJIM
11JEFFYESRONRON
12ERICNOCOOPCOOP
13MARKNODAVEDAVE
14STEVEYESJAMESJAMES
15JIMYESTYLORTYLOR
16BRENTNOFRANKFRANK
17ARTNO 
18RONYES 
19COOPYES 
20JACKNO 
21GARYNO
22DAVEYES
23JAMESYES
24TIMNO
25KELLYNO
26TYLORYES
27DREWNO
28FRANKYES
29
Sheet6
Cell Formulas
RangeFormula
E4:E20E4=IFERROR(INDEX(B:B,AGGREGATE(15,6,ROW($B$4:$B$30)/($C$4:$C$30="yes"),ROWS(E$4:E4))),"")
 
Upvote 0
Solution
Try this
(Edit: Oops - a bit slow :biggrin:)

23 12 07.xlsm
BCDE
1
2PLAYERSELIM
3NAMEYES /NO ELIMINATOR
4JOENOMIKE
5MIKEYESBOB
6BOBYESVINCE
7VINCEYESPETE
8SAMNOJEFF
9EDNOSTEVE
10PETEYESJIM
11JEFFYESRON
12ERICNOCOOP
13MARKNODAVE
14STEVEYESJAMES
15JIMYESTYLOR
16BRENTNOFRANK
17ARTNO 
18RONYES 
19COOPYES 
20JACKNO 
21GARYNO 
22DAVEYES 
23JAMESYES 
24TIMNO 
25KELLYNO 
26TYLORYES 
27DREWNO 
28FRANKYES 
List
Cell Formulas
RangeFormula
E4:E28E4=IFERROR(INDEX(B:B,AGGREGATE(15,6,ROW(B$4:B$28)/(C$4:C$28="Yes"),ROWS(E$4:E4))),"")
 
Upvote 0
Peter....Thank you so much, it worked perfectly...!!!

VinceF
 
Upvote 0
Peter....Thank you so much, it worked perfectly...!!!
You're welcome. Glad we could help. :)
However, I have changed the marked solution to @Fluff's post since it is the same formula and was posted before mine. ;)
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,217
Members
452,619
Latest member
Shiv1198

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