+ Reply to Thread
Results 1 to 6 of 6

how to find the last filled cell in row and show column header based on criteria in excel

  1. #1
    Registered User
    Join Date
    04-02-2013
    Location
    India
    MS-Off Ver
    MS Office 2016
    Posts
    38

    how to find the last filled cell in row and show column header based on criteria in excel

    HI,

    I need an excel formula to extract last allocation month based on criteria.

    Query:

    I have one allocation table with around 500 rows. Each rows is an employee month on month allocation in a program.

    My query is that I need a formula in Table-2 which shows Last Allocation month based on Employee no and program name entered.


    Sample sheet attached for your reference


    Thanks

    Nitesh
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,913

    Re: how to find the last filled cell in row and show column header based on criteria in ex

    Try
    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: how to find the last filled cell in row and show column header based on criteria in ex

    Try this
    ARRAY formula in D14 then drag down.
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by kvsrinivasamurthy; 03-19-2019 at 04:28 AM.
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  4. #4
    Forum Contributor
    Join Date
    08-14-2018
    Location
    Hanoi, Vietnam
    MS-Off Ver
    2016
    Posts
    118

    Re: how to find the last filled cell in row and show column header based on criteria in ex

    Quote Originally Posted by kvsrinivasamurthy View Post
    Try this
    ARRAY formula in D14 then drag down.
    Please Login or Register  to view this content.
    Both Emp id and Name are required so just matching $A14 is not enough.

  5. #5
    Forum Contributor
    Join Date
    08-14-2018
    Location
    Hanoi, Vietnam
    MS-Off Ver
    2016
    Posts
    118

    Re: how to find the last filled cell in row and show column header based on criteria in ex

    Since range $D$3:$O$3 contains only sorting numbers then it's safe to try
    Please Login or Register  to view this content.
    Edit: If range $D$3:$O$8 contains text then try
    Please Login or Register  to view this content.
    Last edited by congnt92; 03-19-2019 at 05:29 AM.

  6. #6
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: how to find the last filled cell in row and show column header based on criteria in ex

    In D14 then drag down
    Please Login or Register  to view this content.
    Attached Files Attached Files

+ 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. find a cell in a table based off column and row criteria
    By ctryporboy in forum Excel General
    Replies: 2
    Last Post: 02-08-2016, 05:17 PM
  2. macro to lock cell by column header based on value in another cell by column header
    By Closet Guru in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-03-2015, 12:36 PM
  3. Hide/show columns based on the year in the header of the column
    By lukelucky in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-19-2015, 04:03 AM
  4. How to find last filled in cell in a column?
    By Cat Chowdy in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-05-2014, 02:54 AM
  5. Possible to find a cell based on a row header (col A) then a sub-row header (col B)
    By lifeboat in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-14-2011, 09:03 AM
  6. Find Last Filled Cell In Column And Calculate
    By sratkins in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-06-2011, 01:50 PM
  7. [SOLVED] Excel find the content of cell using row and column header
    By intersection row and column in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-09-2005, 01:20 PM

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