+ Reply to Thread
Results 1 to 3 of 3

First Non-Blank Cell in row - returning the column header

  1. #1
    Registered User
    Join Date
    02-06-2020
    Location
    UK
    MS-Off Ver
    Professional Plus 2013
    Posts
    1

    First Non-Blank Cell in row - returning the column header

    Hi all,

    I'm wondering if there is a way to do the following in Excel. I've attached a sample dataset.

    My data is:

    Column A I have a list of tasks that run
    Row 1 (headers) I have the date the tasks are run (I must have latest date on the left)
    I log the volume of times each task runs per day in Cells B2 and onwards

    E.g. Row 2 is Task 1 and Column B is 02/02/2020. On this date Task 1 ran 13 times so in B2 I'd log the value as 13. I leave cells where the task wasn't run at all as blank

    What I want to include underneath this table is a list of all the Tasks and include the date the task was last run i.e. the date the task row had a non-blank value.

    Can this be done with formulas at all? I'd be massively grateful for help.

    Cheers
    Attached Files Attached Files

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

    Re: First Non-Blank Cell in row - returning the column header

    Try this in B16:

    =INDEX($B$1:$G$1,MATCH(TRUE,INDEX(INDEX($B$2:$G$11,MATCH(A16,$A$2:$A$11,0),0)<>"",0),0))

  3. #3
    Registered User
    Join Date
    01-24-2020
    Location
    Belgium
    MS-Off Ver
    2013
    Posts
    95

    Re: First Non-Blank Cell in row - returning the column header

    Enter an array formula in cell B16, then drag down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

+ 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] To find first non blank cell in a row then return column header
    By divi123 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-11-2022, 04:49 AM
  2. [SOLVED] Return Column Header for First Blank Cell in Row
    By jkapala in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-28-2018, 02:26 PM
  3. Replies: 5
    Last Post: 05-14-2018, 10:35 AM
  4. [SOLVED] Find last non blank cell & return column header
    By Jamidd1 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 12-18-2017, 07:07 AM
  5. [SOLVED] Find last non blank cell in a row then return column header
    By Chad B in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-13-2013, 10:33 AM
  6. Returning a Specific Cell's Column Header from a Row in an Array
    By zpenacho in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-25-2011, 07:29 PM
  7. Replies: 0
    Last Post: 08-25-2005, 03:05 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