+ Reply to Thread
Results 1 to 3 of 3

countblank

Hybrid View

  1. #1
    Registered User
    Join Date
    03-30-2005
    Posts
    7

    countblank

    Hi,
    Kindly help me on the following

    I have two rows: 1st row with dates (May) and 2nd row is blank.

    I want to count the blanks automatically comparing with today's date.

    ex:
    row1: 1-May 2-May 3-May 4-May
    row2:

    if today's date is 2-May, then I want the answer as 3.

    please help me.

  2. #2
    Forum Expert
    Join Date
    06-18-2004
    Location
    Canada
    MS-Off Ver
    Office 2016
    Posts
    1,474
    Try...

    =COUNTBLANK(A2:INDEX(A2:D2,MATCH(TODAY(),A1:D1,0)))+1

    OR

    =COUNTBLANK(A2:INDEX(A2:D2,MATCH(A5,A1:D1,0)))+1

    ...where A5 contains the date of interest.

    Hope this helps!
    Last edited by Domenic; 05-13-2005 at 08:38 AM.

  3. #3
    Registered User
    Join Date
    03-30-2005
    Posts
    7

    Brilliant!!!

    Its working fine......... thx.

+ 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