Select first row (independent of filtering)

YourBelgianDev

New Member
Joined
Jul 22, 2020
Messages
2
Office Version
  1. 365
Platform
  1. Windows
So i have a spreadsheet with 2 sheets; Cases, Case Employees
A case has a casenumber and a type.

ExcelScreenshot.png

I've inserted a row above the data to display the first row of the result.
So in the screenshot that should be 08/05407.
But if the user filters it should always display the first visible case number somthing like this:

with filter.png

That way i can use that cell to filter on case number in the sheet Case Employees
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Hi and welcome to MrExcel
Try this array formula:
varios 22jul2020.xlsm
AB
1Selected08/503
2CaseType
508/503c
608/504c
708/505c
10
Hoja5
Cell Formulas
RangeFormula
B1B1=INDEX(A3:A10,MIN(IF(SUBTOTAL(3,OFFSET(A3,ROW(A3:A10)-ROW(A3),0)),ROW(A3:A10)-ROW(A3)+1)))
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
I'm glad to help you. Thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,751
Members
448,989
Latest member
mariah3

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