+ Reply to Thread
Results 1 to 4 of 4

Add two critera containing dates

  1. #1
    Registered User
    Join Date
    12-05-2007
    Posts
    2

    Add two critera containing dates

    In need of help, please.

    I am needing to count the number of attendees of a meeting arriving and departing on separate dates.

    Example:

    Arrival (column A) Departure (column B)

    1/25/2008 2/1/2008
    1/25/2008 2/2/2008
    1/25/2008 2/1/2008
    1/26/2008 2/1/2008
    1/25/2008 2/2/2008

    If I want to know (count) how many people are arriving on 1/25 AND are departing on 2/1. Or, if I want to know(count) how many people are arriving on 1/25 AND departing on 2/2.

    I tried this in my spreadsheet, but got 0 as the result (registered as of 12-5 is the tab name:
    =SUMPRODUCT(--('Registered as of 12-5'!U$3:U$424="1/25/2008"),--('Registered as of 12-5'!V$3:V$424="2/1/2008"))

    Thanks in advance for your help!!!

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    just add +0 after each of the dates to convert the text strings to numerics...

    =SUMPRODUCT(--('Registered as of 12-5'!U$3:U$424="1/25/2008"+0),--('Registered as of 12-5'!V$3:V$424="2/1/2008"+0))
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    12-05-2007
    Posts
    2
    That was it !!

    Thanks so very much...this website ROCKS !!

  4. #4
    Forum Contributor corinereyes's Avatar
    Join Date
    12-02-2003
    Location
    Philippines
    MS-Off Ver
    MS Excel 2016
    Posts
    520
    Or:

    Please Login or Register  to view this content.
    Corine

+ 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