+ Reply to Thread
Results 1 to 4 of 4

Count values in a colum if cell in same row has specific value.

  1. #1
    Registered User
    Join Date
    06-02-2011
    Location
    Nebraks
    MS-Off Ver
    2007
    Posts
    2

    Count values in a colum if cell in same row has specific value.

    Hey guys,

    I am working on a spreadsheet to assist in production for my company, since it is kinda hard to explain, I created an example of what I am working with.

    What I want to do is create a separate table that counts whats going on in each month, in my example the week of 5/30, I want to know how many of 1001, 1002, 1003 and, 1004 are being produced that week alone, then be able to just copy the same formula and see the numbers for about 52 weeks out.

    While in my example it may appear to be easier to hand count the batches per week, the real worksheet has thousands of batches and the chart snakes on for tens of pages.

    My original idea was a countif statement with a search nested inside it but I was unable to achieve much success.
    Attached Files Attached Files

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Count values in a colum if cell in same row has specific value.

    So if you have a unique list of SKUs and descriptions in Sheet2, A2:B2 down...

    Then in C2 try:

    =COUNTIFS(Sheet1!$A$2:$A$13,$A2,Sheet1!$C$2:$C$13,1)

    adjust ranges to suit and copy down and across.. assuming dates are same as in sheet1.
    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
    06-02-2011
    Location
    Nebraks
    MS-Off Ver
    2007
    Posts
    2

    Re: Count values in a colum if cell in same row has specific value.

    Quote Originally Posted by NBVC View Post
    So if you have a unique list of SKUs and descriptions in Sheet2, A2:B2 down...

    Then in C2 try:

    =COUNTIFS(Sheet1!$A$2:$A$13,$A2,Sheet1!$C$2:$C$13,1)

    adjust ranges to suit and copy down and across.. assuming dates are same as in sheet1.
    Thanks for the help,


    Im not quite understanding the formula, specificly criteria 1, and how that works. I did just have a Eureka moment where if I created a duplicate matrix for each SKU, and had a countif only if they equaled the sku I was looking up I could come out with the data I need in the format I need.

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Count values in a colum if cell in same row has specific value.

    Is this solved? Not sure by your post.

+ 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