+ Reply to Thread
Results 1 to 5 of 5

Count of column C by checking column A

  1. #1
    Registered User
    Join Date
    06-19-2012
    Location
    Norway
    MS-Off Ver
    Excel 2010
    Posts
    33

    Talking Count of column C by checking column A

    This one is probably quite easy, but I couldn't figure it out.

    Anyways I do this report 3 times per week, and I count how much of our equipment is on rent to customers. Now I do it manually by just dragging my mouse down and seeing how many rows there are per location.

    Basically we have two main categories; either on rent, or not allocated.

    This is how my sheet looks like:

    Please Login or Register  to view this content.
    I would like the formula to count how many equipments per Location that is on rent versus how much is not on rent. There is 1 problem, the model above is simplified, I have many different customers per location. Therefore it has to count for instance ALL equipments on Location "A" and then count how many of these are "not on rent" and then figure out how many is on rent to customers (no need to have count per customer, just total on rent)

    The output should be something like this;

    On rent A 239
    Not on rent A 312
    On rent B 218
    Not on rent B 254
    On rent C 170
    Not on rent C 190
    On rent D 293
    Not on rent D 81
    On rent E 317
    Not on rent E 177


    Hopefully I dont suck at explaining :D

    Thanks nicdyb

  2. #2
    Valued Forum Contributor
    Join Date
    12-05-2011
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010 & 2013
    Posts
    308

    Re: Count of column C by checking column A

    Hi nicdyb

    You can use CountIfs to achieve your goal (only available in Excel 2007/2010. Use SumProduct if your are using Excel 2003).

    The attached file shows you how.

    Regards, Rob.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    06-19-2012
    Location
    Norway
    MS-Off Ver
    Excel 2010
    Posts
    33

    Re: Count of column C by checking column A

    Not sure why its not working, but I guess its easier to see when you see my actual list. Guess I should have uploaded it in the first place =/

    Thanks so far

    Sheet 1 is how the data i exported from our systems. Sheet 2 is how I would like the output to be.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    06-19-2012
    Location
    Norway
    MS-Off Ver
    Excel 2010
    Posts
    33

    Re: Count of column C by checking column A

    I tried editing your formula rscsmith, but I just kept getting 0 as a value...

  5. #5
    Registered User
    Join Date
    08-03-2005
    Location
    Harpers Ferry, WV
    Posts
    26

    Re: Count of column C by checking column A

    Try this. Simply put the countifs on your sheet 2.
    Attached Files Attached Files
    Old Programmers Never Die ... They Just Lose Their Bits

+ 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