+ Reply to Thread
Results 1 to 4 of 4

find last row for specific text value in cell within tabel

  1. #1
    Registered User
    Join Date
    01-25-2018
    Location
    The Netherlands
    MS-Off Ver
    2016
    Posts
    32

    find last row for specific text value in cell within tabel

    Dear All,

    I am new to this forum.
    I am trying to find a solution for the following; within a tabel with several columns I am trying to find the last row (preferably column with the date for which the last specific value has been found in the table).
    See attached example.
    With vertical look-up I can't solve it and on the internet I only see VBA solution for which I have no experience.

    Date Cat 1 Cat 2 Cat 3
    1/1 Apple Apple Apple
    1/2 Pear Nut Pear
    1/3 Apple Nut Nut

    The whole tabel I from Date (left top) to bottom right (nut)

    Output I would like to have:
    Apple 1/3
    Nut 1/3
    Pear 1/2
    Attached Files Attached Files

  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 2406
    Posts
    44,662

    Re: find last row for specific text value in cell within tabel

    Use this array formula (with ; instead of , :

    =MAX(IF($C$4:$D$10=H4,$B$4:$B$10))

    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...

    I also think there's a maxif in Excel 2016... check its syntax. Being in the Dark Ages of Excel 2013, I'm not familiar with it...
    Attached Files Attached Files
    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

  3. #3
    Registered User
    Join Date
    01-25-2018
    Location
    The Netherlands
    MS-Off Ver
    2016
    Posts
    32

    Re: find last row for specific text value in cell within tabel

    Hi Glenn, Great thanks for your help.

  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 2406
    Posts
    44,662

    Re: find last row for specific text value in cell within tabel

    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 row for specific text value in cell within tabel
    By Morte1974 in forum Excel General
    Replies: 1
    Last Post: 01-25-2018, 01:02 PM
  2. [SOLVED] Find specific text within workbook's name, copy and paste it to specific cell
    By axtryo in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-09-2017, 02:57 AM
  3. Find an specific text in a cell
    By leocsc in forum Excel General
    Replies: 9
    Last Post: 07-01-2015, 11:59 AM
  4. [SOLVED] VBA to Find Specific Text, then Copy range to next open cell under specific text
    By Remotruker in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-24-2015, 10:59 AM
  5. Replies: 2
    Last Post: 08-05-2013, 07:32 PM
  6. Pulling a Specific Cell when Pulling a Tabel from Web Based Data
    By Zallen89 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-26-2013, 05:39 PM
  7. How to find whether a cell contain specific text
    By bipin_chandarana in forum Excel General
    Replies: 3
    Last Post: 02-18-2012, 04:18 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