+ Reply to Thread
Results 1 to 9 of 9

DCOUNT function not working for me on the attached spreadsheet

  1. #1
    Registered User
    Join Date
    03-10-2013
    Location
    Yorba Linda, California
    MS-Off Ver
    2010
    Posts
    13

    DCOUNT function not working for me on the attached spreadsheet

    I have attempted to follow numerous examples of DCOUNT formulas to total the number of instances of each activity type on the attached spreadsheet. I hope to show the totals next to the appropriate labels below the table starting with Row 125. Can anyone help with the syntax? I have an urgent need to use the data on a regular basis and the output will always follow the attached format.

    Thank you in advance for any help you can provide.

    Mike
    Attached Files Attached Files

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: DCOUNT function not working for me on the attached spreadsheet

    =sumproduct(($a$3:$a$119=a125)*($b$3:$ae$119<>"")) ??

    In B125 and copy down.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    03-10-2013
    Location
    Yorba Linda, California
    MS-Off Ver
    2010
    Posts
    13

    Re: DCOUNT function not working for me on the attached spreadsheet

    Thank you, Fotis, for your quick reply. I tried that formula in the sheet but it is counting all instances of the text in column A rather than totaling the number of citations for each week of that particular type (represented by the color-coded cells). Am I doing something wrong?

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: DCOUNT function not working for me on the attached spreadsheet

    Quote Originally Posted by mstone2112 View Post
    Thank you, Fotis, ....... Am I doing something wrong?
    Probably no! I am not sure that i understand your goal.. For example: For "Gerber Review"(a125) which is the expected result and why?

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: DCOUNT function not working for me on the attached spreadsheet

    Or perhaps you mean

    =SUMPRODUCT(($A$3:$A$119=$A125)*(B$3:B$119<>""))

    In B25. Copy down and across.

  6. #6
    Registered User
    Join Date
    03-10-2013
    Location
    Yorba Linda, California
    MS-Off Ver
    2010
    Posts
    13

    Re: DCOUNT function not working for me on the attached spreadsheet

    The list along the left side is something I can't help populating on the report but what I'm trying to do is capture the number of times the "G" (Gerber) appears in each of the columns. The left column only helps clarify what the G stands for. For example, the G appears twice (once at B6 and once at B47) so I would call the count for that week two instances. Those are the items I'm trying to quantify at the bottom for each week. I hope that helps.

    Mike

  7. #7
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: DCOUNT function not working for me on the attached spreadsheet

    Did you see my post#5?

  8. #8
    Registered User
    Join Date
    03-10-2013
    Location
    Yorba Linda, California
    MS-Off Ver
    2010
    Posts
    13

    Re: DCOUNT function not working for me on the attached spreadsheet

    I did not and it works perfectly!!!

    Thank you very much!

    Mike

  9. #9
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: DCOUNT function not working for me on the attached spreadsheet

    ...........

+ 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