+ Reply to Thread
Results 1 to 14 of 14

Counting empty cells to the left

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    09-22-2009
    Location
    Henderson, KY
    MS-Off Ver
    Excel 2007
    Posts
    152

    Counting empty cells to the left

    I am trying to count the # of empty cells to the left
    I trying to work out how many days since an employee has missed
    In this worksheet, a letter is placed in the cell corresponding to the day they missed. And I need to count backwards from a date (say: July 31st) to the last day with a letter in it.
    Last edited by Befuddled; 10-06-2009 at 04:49 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Counting empty cells to the left

    A sample file is generally helpful in these situations...

    =COLUMN(Z1)-MATCH(REPT("Z",255),A1:Z1)

    would for ex. return the count of blanks between Z1 and the last text entry in A1:Z1

  3. #3
    Forum Contributor
    Join Date
    09-22-2009
    Location
    Henderson, KY
    MS-Off Ver
    Excel 2007
    Posts
    152

    Re: Counting empty cells to the left

    Here is the file, I have made it pop up an "X" if that person has been absent in the last 6 months, but now someone needs to know how long since the last absence.
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    09-22-2009
    Location
    Henderson, KY
    MS-Off Ver
    Excel 2007
    Posts
    152

    Re: Counting empty cells to the left

    Also, could you expain what the 255 was for in your formula

  5. #5
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Counting empty cells to the left

    Could you post a version with your desired output (calculated manually of course) ... based on your last file I'm not sure where you want these results to appear nor from which date the calculation is meant to be based... presumably today ?

  6. #6
    Forum Contributor
    Join Date
    09-22-2009
    Location
    Henderson, KY
    MS-Off Ver
    Excel 2007
    Posts
    152

    Re: Counting empty cells to the left

    The area highlighted in yellow is what I would like to be able to calculate, I did the ones for Team Member "A" manually
    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)

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