Row number of Filtered Row

HWL

Active Member
Joined
Dec 1, 2009
Messages
462
Is there a simple way of getting the row number of the filtered row (supposing the user has filtered to a single row)?

Code so far:
=IF(SUBTOTAL(3,DB_LIST!B2:B300)=1,"yes 1 row","")

Where it says "yes 1 row", I'd like to return the row number that is actually filtered. I have done this will helper columns but I should be able to do it without a helper column. Thanks
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
This worked, found it in another answer:

=MATCH(TRUE,INDEX((SUBTOTAL(3,OFFSET(DB_LIST!$B$2:$B$300,ROW(DB_LIST!$B$2:$B$300)-ROW(DB_LIST!$B$2),0,1))*ROW(DB_LIST!$B$2:$B$300))>0,0),0)+ROW(DB_LIST!$B$1)
 
Upvote 0

Forum statistics

Threads
1,224,550
Messages
6,179,459
Members
452,915
Latest member
hannnahheileen

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