+ Reply to Thread
Results 1 to 9 of 9

Need help with counting cells using two criterias

  1. #1
    Registered User
    Join Date
    03-22-2019
    Location
    michigan
    MS-Off Ver
    office 365
    Posts
    4

    Need help with counting cells using two criterias

    I am working on a project for work. I work in a warehouse and am trying to come up with a way to identify a number of locations in the warehouse that contain the same part number. any help would be appreciated.

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,732

    Re: Need help with counting cells using two criterias

    can you explain how the spreadsheet is set out

    Please upload a small clean sample of your data / workbook (not a picture) to the forum, Make sure you have removed any private information, remember this is a public forum and so available to anyone
    We would like to see an example of your data and also a manual mock up of the expected results you want to achieve.

    To attach a file to your post,
    click "Go advanced" (next to quick post),
    scroll down until you see "manage Attachments",
    click that and select "Choose File" (top Left corner).
    Find your file, click "Open" click "upload" click 'close windows" Top Right. click "Submit Reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    03-22-2019
    Location
    michigan
    MS-Off Ver
    office 365
    Posts
    4

    Re: Need help with counting cells using two criterias

    project.JPGproject2.JPG

    sorry, i had to block out some of the data. but, in these two snips, the amount should equal 2 in "Number of Locations used"

  4. #4
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Need help with counting cells using two criterias

    Something like

    =SUMPRODUCT(1/COUNTIFS([Locator],[Locator],[Item],Item))

    Name in square brackets refer to the columns in the structured table, the last 'Item' refers to the item refernce in the second snip.

  5. #5
    Registered User
    Join Date
    03-22-2019
    Location
    michigan
    MS-Off Ver
    office 365
    Posts
    4

    Re: Need help with counting cells using two criterias

    So in that situation i would have to type out each locator?

  6. #6
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,732

    Re: Need help with counting cells using two criterias

    items are all zero
    are they unique?

    can you represent the correct data

    would the item simply appear twice ?

  7. #7
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Need help with counting cells using two criterias

    Quote Originally Posted by cookie1034 View Post
    So in that situation i would have to type out each locator?
    You have a structured table, so that will be the name of the whole column, however you will need to add the name of the table in front of the open square bracket for each of the 3 descriptions.

    If you need additional help, please read the second line in post #2 (etaf's first reply) again.

  8. #8
    Registered User
    Join Date
    03-22-2019
    Location
    michigan
    MS-Off Ver
    office 365
    Posts
    4

    Re: Need help with counting cells using two criterias

    there are thousands of part numbers in my entire list and hundreds of locators, the snippet is sent was of one part number though. I, unfortunately, cannot reveal additional data.

  9. #9
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,532

    Re: Need help with counting cells using two criterias

    Hello cookie1034 and Welcome to Excel Forum.
    We probably don't need actual locator and item values, just representations so that we can get an idea of what you are working with. For example the locators could be represented as a, b, c etc. and the items as 1, 2, 3 etc.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Counting Average of dd hh:mm:ss with multiple criterias
    By mark888 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 07-31-2017, 09:20 AM
  2. Counting function with multiple criterias
    By etaver87 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 05-04-2016, 12:30 PM
  3. [SOLVED] Counting with a lot of criterias across multiple sheets
    By k.m. in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-29-2015, 03:39 PM
  4. Counting words given two criterias.
    By nicolaivinther in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 06-12-2014, 04:17 AM
  5. Counting two criterias
    By jleung07 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-12-2012, 07:42 AM
  6. counting from columns using criterias
    By funkymonkUK in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-24-2007, 09:52 AM
  7. Counting cells if special criterias are true
    By a94andwi in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 05-02-2006, 02:07 AM

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