+ Reply to Thread
Results 1 to 4 of 4

Counting number of items based on two columns

  1. #1
    Registered User
    Join Date
    04-18-2012
    Location
    Ireland
    MS-Off Ver
    Excel 2007
    Posts
    2

    Counting number of items based on two columns

    Hello I have following table:
    Laptop available
    Desktop not available
    Desktop available
    Desktop not available
    Desktop available
    Laptop available
    Laptop available

    I would like to count number of available and not available items based on item name:

    TOTAL:
    Desktops:
    2 available
    2 not available

    Laptops:
    3 available
    0 not available

    Can someone please tell me how can I achieve this?

    Big thanks in advance

  2. #2
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: Counting number of items based on two columns

    Try

    =COUNTIFS(A:A,"Desktop",B:B,"available")

    etc.

  3. #3
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    wales
    MS-Off Ver
    Excel 2007
    Posts
    964

    Re: Counting number of items based on two columns

    here you go try this


    laptop.xlsx

    uses countifs and cell references (i can explain in detail if required but probably not)




    edit

    got beat to it guess i should have just posted not put a book in lol
    The Importance of INDEX - A GUIDE TO INDEX'S OTHER USES
    <--- If a post helps hit the star

  4. #4
    Registered User
    Join Date
    04-18-2012
    Location
    Ireland
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Counting number of items based on two columns

    All works perfectly - thanks guys!

+ 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