Helped needed with formula moving data from one place to another

MayeskUK1

New Member
Joined
Nov 25, 2016
Messages
4
Hi there,

I am currently building a spreadsheet for a fantasy football (soccer) game. I've hit a bit of a stumbling block.I have created a simple table which includes players names, clubs, points etc. and a column at the end with a simple drop-down menu that allows you to select a player.

I am trying to create a formula so that when "Pick" is selected, the information in the row for a specific player is transferred to another table.I have attempted a number of IF and VLOOKUP formulas to try and transfer the data across with little success. I've also tried a few macros. Having a hard time!

So, I need a formula that extracts the 15 players with "Pick" selected from a list of 600 players into a new table.

Please Help! and Thanks for reading!
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Hi, welcome to the forum.

See if you can adapt this to your actual set-up. If you have difficulties try to post back with the details where the list of players names are, where the "Pick" column is, in which cell you are placing the formula and which version of Excel you are using.


Excel 2013
ABCDE
1PlayerPickedHelper Formula:6
2Player 1PickFormula Copied Down:Player 1
3Player 2Player 4
4Player 3Player 6
5Player 4PickPlayer 7
6Player 5Player 11
7Player 6PickPlayer 13
8Player 7Pick
9Player 8
10Player 9
11Player 10
12Player 11Pick
13Player 12
14Player 13Pick
Sheet1
Cell Formulas
RangeFormula
E1=COUNTIF($B$2:$B$600,"Pick")
E2=IF(ROWS($E$2:E2)>$E$1,"",INDEX($A$2:$A$600,AGGREGATE(15,6,(ROW($B$2:$B$600)-ROW($B$2)+1)/($B$2:$B$600="Pick"),ROWS($E$2:E2))))
 
Upvote 0
I am struggling to adapt this to my spreadsheet! Sadly, my excel skills are much worse than I thought!

The entire table is A2:K601. My player names are in the column A2:A601 and the "Pick" column is K2:K601. I am currently using N8:N22 on the same sheet as a separate table to move my 15 players names picked to.

I am also using Excel 2010.

Thanks so much for your help so far!
 
Upvote 0
Hi, first place this formula in a spare cell, N7 in this example:

=COUNTIF($K$2:$K$601,"Pick")

And then in N8 and copied down:

=IF(ROWS($N$8:N8)>$N$7,"",INDEX($A$2:$A$601,AGGREGATE(15,6,(ROW($K$2:$K$601)-ROW($K$2)+1)/($K$2:$K$601="Pick"),ROWS($N$8:N8))))
 
Upvote 0

Forum statistics

Threads
1,214,618
Messages
6,120,544
Members
448,970
Latest member
kennimack

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