+ Reply to Thread
Results 1 to 6 of 6

Get the first filtered value visible on another cell

  1. #1
    Registered User
    Join Date
    07-23-2018
    Location
    Philippines
    MS-Off Ver
    MS Office 365 ProPlus
    Posts
    11

    Get the first filtered value visible on another cell

    Hello,

    How to get the first filtered values when filtering data and will appear into another cell. Like for example if A6 is selected value on B6 will reflect on A1.

    thanks.
    Attached Files Attached Files
    Last edited by dongzkie; 08-21-2018 at 07:28 PM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Get the first filtered value visible on another cell

    I don't quite understand your set up.

    Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? Please don't attach a picture of one (no-one will want to re-type all your stuff before starting).

    1. Make sure that your sample data are truly REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential information is removed first!!

    4. Try to avoid using merged cells. They cause lots of problems!

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    07-23-2018
    Location
    Philippines
    MS-Off Ver
    MS Office 365 ProPlus
    Posts
    11

    Re: Get the first filtered value visible on another cell

    Sir, I already updated my post. I apologize. thanks

    Quote Originally Posted by Glenn Kennedy View Post
    I don't quite understand your set up.

    Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? Please don't attach a picture of one (no-one will want to re-type all your stuff before starting).

    1. Make sure that your sample data are truly REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential information is removed first!!

    4. Try to avoid using merged cells. They cause lots of problems!

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Get the first filtered value visible on another cell

    I think I understand what you want. In A1, an array formula:

    =INDEX(B:B,MIN(IF(SUBTOTAL(3,OFFSET(B3,ROW(B3:B10)-ROW(B3),0)),ROW(B3:B10))))

    Array Formulae are a little different from ordinary formulae in that they MUST be confirmed in the FIRST CELL ONLY by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. After that, the array can be dragged down as normal, to cover the desired range.

    You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.

    Don't type the curly brackets yourself - it won't work...
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    07-23-2018
    Location
    Philippines
    MS-Off Ver
    MS Office 365 ProPlus
    Posts
    11

    Re: Get the first filtered value visible on another cell

    thank you very much.
    Quote Originally Posted by Glenn Kennedy View Post
    I think I understand what you want. In A1, an array formula:

    =INDEX(B:B,MIN(IF(SUBTOTAL(3,OFFSET(B3,ROW(B3:B10)-ROW(B3),0)),ROW(B3:B10))))

    Array Formulae are a little different from ordinary formulae in that they MUST be confirmed in the FIRST CELL ONLY by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. After that, the array can be dragged down as normal, to cover the desired range.

    You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.

    Don't type the curly brackets yourself - it won't work...

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Get the first filtered value visible on another cell

    You're welcome.



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Find Last Populated Visible Cell in a Filtered Column
    By noboffinme in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 10-26-2017, 05:45 AM
  2. Replies: 5
    Last Post: 08-03-2017, 06:19 AM
  3. [SOLVED] copy and paste in visible cell from filtered column in Excel 2007
    By irruzzz in forum Excel General
    Replies: 9
    Last Post: 12-15-2014, 08:41 AM
  4. Offset to next visible cell in filtered data
    By Varun13 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-23-2013, 04:37 AM
  5. [SOLVED] Referencing Visible Cells Only: Filtered Alternating Cell Color
    By m.r.quinton in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-13-2012, 04:03 PM
  6. Row number of first visible cell in a filtered range
    By rcdgreat in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-05-2012, 06:30 PM
  7. Replies: 0
    Last Post: 04-02-2009, 09:28 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1