• sumif — but with dates (Excel 2000)

    Author
    Topic
    #399924

    Hi All, again any help would be greatly appreciated …
    I have a Subject Log data file that contains a sheet with an InvestigatorID column (A); a SubjectID column ( and columns providing dates for visit 1 © through visit 5 (G). Every subject is unique but each Investigator can have multiple subjects. I cannot modify this data sheet. In another sheet (Status), I want to list all the Investigator IDs in one column and provide a count of how many subjects have gone through each visit.
    I do not want to do this manually. Is there a formula I could use?
    I have attached an example in case I wasn’t clear.
    Thanks,
    –cat

    Viewing 0 reply threads
    Author
    Replies
    • #776357

      In B2 enter this ARRAY formula (confirm with ctrl-shift-enter):

      =SUM(IF(('Subject Log'!$A$2:$A$8=$A2)*(ISNUMBER('Subject Log'!C$2:C$8)),1))

      Copy B2 to B3:B5. Then Copy B2:B5 to C3:F5.

      =SUMPRODUCT(('Subject Log'!$A$2:$A$8=$A2)*1,(ISNUMBER('Subject Log'!C$2:C$8))*1)

      is a “regular” formula that will work. Copy from B2 to B2:F5

      Steve

    Viewing 0 reply threads
    Reply To: sumif — but with dates (Excel 2000)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: