Results 1 to 11 of 11

Count number of empty cells since last non-empty cell

Threaded View

  1. #11
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Count number of empty cells since last non-empty cell

    I used this method to calculate days since last time exercise was done. This is an array formula entered in a row inserted at row 2. Enter in B2 and fill across.
    Formula: copy to clipboard
    =TODAY()-INDEX($A4:$A1200,MAX(IF(B4:B1200="x",ROW(B4:B1200)))-3)

    Enter with Ctrl + Shift + Enter

    This will allow the table to be extended down to row 1200 to give you a little over 3 years of dates to be entered without doing anything other than filling in the data.
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] excel 2010 empty a cell according to other cells (without Deleting them just show empty)
    By pavlos_x in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-11-2015, 01:46 PM
  2. Replies: 1
    Last Post: 05-26-2014, 01:31 PM
  3. Replies: 5
    Last Post: 05-13-2014, 10:19 AM
  4. Need to find empty filled cells in a column and copy to the empty cell below
    By Grahamfeeley in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-30-2014, 10:09 AM
  5. Replies: 2
    Last Post: 07-25-2013, 01:01 PM
  6. Count the number of cells in a range that are not empty
    By efernandes67 in forum Excel General
    Replies: 5
    Last Post: 07-23-2010, 05:41 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