Query : Filtered column, return first value into other cell

Nouman381

New Member
Joined
Sep 13, 2020
Messages
7
Office Version
  1. 2019
Platform
  1. Windows
Hi.
I would like to ask my first question today.

"Column C" has multiple product names, many are repetitive, i applied filter on this column, to get the desired few products only.
So now in return i get 5 products

My need is that whatever returns in this filtered column , i only need only the top cell value of this filtered list, i want this first value to another sheet.

Would appreciate if i get an early kind response. Many thanks.
 

Some videos you may like

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.

Nouman381

New Member
Joined
Sep 13, 2020
Messages
7
Office Version
  1. 2019
Platform
  1. Windows
when i select different filter products and i get another filtered products list, then again i want to see only the first cell value of the column to return in other sheet.
 

Nouman381

New Member
Joined
Sep 13, 2020
Messages
7
Office Version
  1. 2019
Platform
  1. Windows
Here are the images to explain my query, I am not able to return the desired result
 

Attachments

  • Screenshot_11111.png
    Screenshot_11111.png
    17.1 KB · Views: 4
  • Screenshot_122222.png
    Screenshot_122222.png
    9.4 KB · Views: 4
  • Screenshot_133333.png
    Screenshot_133333.png
    12.8 KB · Views: 4

Nouman381

New Member
Joined
Sep 13, 2020
Messages
7
Office Version
  1. 2019
Platform
  1. Windows
=INDEX(Table1[Name],MIN(IF(SUBTOTAL(3,OFFSET(C4,ROW(Table1[Name])-ROW(C4),0)),ROW(Table1[Name])-ROW(C4)+1)))

Solved.
 

Peter_SSs

MrExcel MVP, Moderator
Joined
May 28, 2005
Messages
47,926
Office Version
  1. 365
Platform
  1. Windows
Edit: Ah, I was still composing my message when you posted. Similar formula. :)

Try this (check you table name)

BTW, I suggest that you investigate XL2BB for providing sample data to make it easier for helpers by not having to manually type out sample data to test with.

Nouman381 1.xlsm
ABCDEFG
1Samsung
2NameLocationProductsSale
4Samsung
5Huawei
7Samsung
8
Sheet1
Cell Formulas
RangeFormula
G1G1=INDEX(Table1[Products],MATCH(1,SUBTOTAL(3,OFFSET(Table1[[#Headers],[Products]],ROW(Table1[Products])-ROW(Table1[[#Headers],[Products]]),,1)),0))
 

Watch MrExcel Video

Forum statistics

Threads
1,122,657
Messages
5,597,391
Members
414,142
Latest member
Banyangt

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
Top