Determine occurrence position in an array?

wbtczn

New Member
Joined
Aug 31, 2011
Messages
28
Office Version
  1. 2016
Platform
  1. Windows
I wasn't sure how to title this. This is for my NFL fantasy draft spreadsheet. I have a sheet that shows in order who has been drafted and what their position is. What I'd like to be able to do at a glance is see where a drafted person comes in order of the position. In other words, when someone drafts DJ Moore, what numbered receiver was he? The first? Tenth? Hundredth.

Here's an example. The "Occurrence" column is what I'm trying to get to.

1692395111530.png


I have Office Professional Plus 2016, so hopefully it can be done with a newer version of Excel.
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Book1
ABC
1Draft #PositionOccurrence
21REC1
32REC2
43RB1
54REC3
65RB2
76QB1
87REC4
98QB2
109REC5
1110RB3
Sheet1
Cell Formulas
RangeFormula
C2:C11C2=COUNTIF(B$2:B2,B2)
 
Upvote 1
Book1
ABC
1Draft #PositionOccurrence
21REC1
32REC2
43RB1
54REC3
65RB2
76QB1
87REC4
98QB2
109REC5
1110RB3
Sheet1
Cell Formulas
RangeFormula
C2:C11C2=COUNTIF(B$2:B2,B2)
Thanks so much! I've used COUNTIF a lot, but hadn't considered locking the first value and letting the search criteria grow like that. This will help me a TON!!!
 
Upvote 0

Forum statistics

Threads
1,224,822
Messages
6,181,165
Members
453,021
Latest member
Justyna P

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