Find "nth" input, whilst using a filter

ellison

Active Member
Joined
Aug 1, 2012
Messages
343
Office Version
  1. 365
Platform
  1. Windows
Hi, we are trying to find a way to find the "nth" input when our data (in Col A) has got a filter on it.

i.e. find a quick way to accurately find the correct item in the list (in order for the updated info to be manually included in Column D after checking it against external sources) .

I've been told that hitting Ctrl+F is slowing people down too much as the entries (in Col A) are often very long (grr!), so they've asked if we could use a helper column to find the "nth" input...

So far, we've got a helper column (Col B) and an "nth counter" (Col C) but it's pretty clunky and depends on people updating the Col B helper column to reflect that a new filter has been put on.


Book1
ABCDE
1InputNth-helperNthUpdated InfoThis would be the nth based on selecting all of the available inputs
2AlphaY1
3BetaY2
4CharlieY3
5Y4
6DeltaY5
7EchoY6
8FoxtrotY7
91Y8
102Y9
113Y10
Sheet1
Cell Formulas
RangeFormula
C2:C11C2=COUNTIF(B$2:B2,B2)



And here's the alternative where we've made a filter for inputs in Col A that "contain A"

Book1
ABCDE
1InputNth-helperNthUpdated InfoThis would be the nth based on selecting Input which contain "A"
2AlphacontainsA1
3BetacontainsA2
4CharliecontainsA3
6DeltacontainsA4
Sheet1
Cell Formulas
RangeFormula
C2:C4,C6C2=COUNTIF(B$2:B2,B2)



I'm wondering if there is a better way to deal with this

Is there maybe a way that the nth counter could reflect the data filter which has been added?

Added issue: the lists are literally thousands of rows long & sometimes contain blanks, alpha, numeric or alphanumeric entries


Any help much appreciated, huge thanks for taking a look!
 

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,)
Not sure that I follow. I made a filterable table where the users might filter for any old combination of things. You want to see the running count of the filtered list.

MrExcelPlayground20.xlsx
ABCD
1InputOther thingNthUpdated Info
2AlphaA1
3BetaA2
4CharlieB3
5FredA4
6DeltaB5
Sheet27
Cell Formulas
RangeFormula
C2:C6C2=SUBTOTAL(103,A$2:A2)


When this is filtered, the column C value recalculates based on the 'visible' subtotal of counta.
 
Upvote 0
Solution
absolutely brilliant - and huge thanks for understanding my waffling!!!

"running count of the filtered list",superb 💪 💪(y)(y)(y)💪
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,952
Members
449,095
Latest member
nmaske

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