+ Reply to Thread
Results 1 to 22 of 22

PLEASE HELP! Count data in multiple columns meeting certain criteria of another column

  1. #1
    Registered User
    Join Date
    07-12-2012
    Location
    Devon, England
    MS-Off Ver
    Excel 2007
    Posts
    12

    PLEASE HELP! Count data in multiple columns meeting certain criteria of another column

    I'm lost, and not great with Excel. . .

    I need to count how many cells have data in column 'J' and/or column 'L' if in column 'I' there is "DCC"

    Thank you for any help, Rich

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: PLEASE HELP! Count data in multiple columns meeting certain criteria of another column

    Perhaps something like
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    07-04-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    29

    Re: PLEASE HELP! Count data in multiple columns meeting certain criteria of another column

    or maybe you can use iserror and vlookup
    =IF(ISERROR(VLOOKUP("DCC",I:I,1,0)),0,COUNT(J:J))

  4. #4
    Registered User
    Join Date
    07-12-2012
    Location
    Devon, England
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: PLEASE HELP! Count data in multiple columns meeting certain criteria of another column

    Thanks for the post but that's giving me zero
    Last edited by rtamsterdam; 07-12-2012 at 03:18 PM.

  5. #5
    Registered User
    Join Date
    07-04-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    29

    Re: PLEASE HELP! Count data in multiple columns meeting certain criteria of another column

    if you have data in column L just add column L count
    =IF(ISERROR(VLOOKUP("DCC",I:I,1,0)),0,COUNT(J:J)+COUNT(L:L))

  6. #6
    Registered User
    Join Date
    07-12-2012
    Location
    Devon, England
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: PLEASE HELP! Count data in multiple columns meeting certain criteria of another column

    I'm getting a number with that but not the right one. . .

    Thanks again

  7. #7
    Registered User
    Join Date
    07-12-2012
    Location
    Devon, England
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: PLEASE HELP! Count data in multiple columns meeting certain criteria of another column

    It's getting close, I need to pop out, sorry. I wish I knew what you were posting copying and pasting doesn't work.

    I'll try and explain more in a bit about what I'm looking for.

    Thank you

  8. #8
    Registered User
    Join Date
    07-04-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    29

    Re: PLEASE HELP! Count data in multiple columns meeting certain criteria of another column

    ok. when you get back let us know.

    how off is the count? maybe you have some cells in column J or L that we don't need to count? like a title maybe?
    the formula works like this
    =IF (look for text in column I, what happens if there is no dcc, what happens if there is dcc)

  9. #9
    Registered User
    Join Date
    07-12-2012
    Location
    Devon, England
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: PLEASE HELP! Count data in multiple columns meeting certain criteria of another column

    I think it should be OK, it's a table and I've acounted for that by replacing 'I:I' with the column heading.
    I'm after 39 and I'm getting 35 and 44.

    Column 'J' has blank cells or numbers, column 'L' the same. Column 'I' has text, either "DCC" or other text.

    I need to know, when "DCC" is present, if there is a number in column 'J' or 'L' - sometimes there is a number in both - if that's the case, I only need to count it once

    Hope that's kinda clearer, again, thank you for all the help!

  10. #10
    Registered User
    Join Date
    07-04-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    29

    Re: PLEASE HELP! Count data in multiple columns meeting certain criteria of another column

    I'm assuming that each row of J and L is in reference to the same row that I is on.
    In that case, you may probably add another column, place a formula, and then sum the numbers in that column.

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  11. #11
    Registered User
    Join Date
    07-12-2012
    Location
    Devon, England
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: PLEASE HELP! Count data in multiple columns meeting certain criteria of another column

    That doesn't seem to work. I don't think it's gonna happen is it
    Last edited by Cutter; 07-12-2012 at 05:10 PM. Reason: Removed whole post quote

  12. #12
    Registered User
    Join Date
    07-12-2012
    Location
    Devon, England
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: PLEASE HELP! Count data in multiple columns meeting certain criteria of another column

    Have I explained it clearly?

  13. #13
    Registered User
    Join Date
    07-04-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    29

    Re: PLEASE HELP! Count data in multiple columns meeting certain criteria of another column

    is it possible for you to attach your file so I could look?

  14. #14
    Registered User
    Join Date
    07-12-2012
    Location
    Devon, England
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: PLEASE HELP! Count data in multiple columns meeting certain criteria of another column

    Yeh, let me anonymise it quickly. . . cheers
    Last edited by Cutter; 07-12-2012 at 05:10 PM. Reason: Removed whole post quote

  15. #15
    Registered User
    Join Date
    07-12-2012
    Location
    Devon, England
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: PLEASE HELP! Count data in multiple columns meeting certain criteria of another column

    How do I attach?
    Last edited by Cutter; 07-12-2012 at 05:09 PM. Reason: Removed whole post quote

  16. #16
    Registered User
    Join Date
    07-12-2012
    Location
    Devon, England
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: PLEASE HELP! Count data in multiple columns meeting certain criteria of another column

    Quote Originally Posted by belle08 View Post
    is it possible for you to attach your file so I could look?
    https://www.dropbox.com/s/i4nl2xhsti0tyew/Anon.xlsx

  17. #17
    Registered User
    Join Date
    07-04-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    29

    Re: PLEASE HELP! Count data in multiple columns meeting certain criteria of another column

    you may also click on Go Advanced button lower right of the reply screen and go to Manage Attachments

  18. #18
    Registered User
    Join Date
    07-04-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    29

    Re: PLEASE HELP! Count data in multiple columns meeting certain criteria of another column

    i have the file already. let me see what i can do.

  19. #19
    Registered User
    Join Date
    07-12-2012
    Location
    Devon, England
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: PLEASE HELP! Count data in multiple columns meeting certain criteria of another column

    Feel free to fill in any of the other fields if you like
    Last edited by Cutter; 07-12-2012 at 07:24 PM. Reason: Removed whole post quote

  20. #20
    Registered User
    Join Date
    07-04-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    29

    Re: PLEASE HELP! Count data in multiple columns meeting certain criteria of another column

    place this on cell P2
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    you will have 39 counts
    Attached Files Attached Files

  21. #21
    Registered User
    Join Date
    07-12-2012
    Location
    Devon, England
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: PLEASE HELP! Count data in multiple columns meeting certain criteria of another column

    SAFE! Thank you!!
    Last edited by Cutter; 07-12-2012 at 07:25 PM. Reason: Removed whole post quote

  22. #22
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: PLEASE HELP! Count data in multiple columns meeting certain criteria of another column

    An alternative to SUMPRODUCT() would be:

    =(COUNT([@[Helping Hands]],[@[Helping Hands Finished]])>0)*([@Funder]="DCC")

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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