+ Reply to Thread
Results 1 to 3 of 3

Do I need COUNTIF? Pivot Table? I forget

  1. #1
    Registered User
    Join Date
    01-05-2012
    Location
    Dallas
    MS-Off Ver
    Excel 2007
    Posts
    2

    Question Do I need COUNTIF? Pivot Table? I forget

    I have seen this done before and can't remember for the life of me how. For a multi-office inventory, I am trying to find the number of instances that an item occurs and then sum the total that appears in the column next to said item. For example in my picture below you notice that everyone has but one desk, of course, but some people have more than one monitor. (For reference sake let's call them Columns A & B) In order to create a second spreadsheet that is an company-wide item total (not total per office) I tried to use a COUNTIF function and only got the number of occurrances that "Monitor" occurred - not the total of monitors in the cell next to all instances of "Monitor" I would like to avoid using a multi-cell SUM formula in which I have to do all the hunting for instances of "Monitor" and input the cell data from the Qty field.

    Can anyone help refresh my memory?

    Thanks

    pic1.JPG

  2. #2
    Valued Forum Contributor scottylad2's Avatar
    Join Date
    09-03-2010
    Location
    edinburgh
    MS-Off Ver
    Office 2007 Prof & Office 2010 Student Edition
    Posts
    629

    Re: Do I need COUNTIF? Pivot Table? I forget

    change your countif for a sumif, but you would need to be suming along the lines of this and your answer would be in say C1 =SUMIF(A1:20,"monitor",B1:20)

    you can either hardcode the word into the cell or type the word in a cell and reference that
    Last edited by scottylad2; 01-05-2012 at 06:03 PM.
    Windows 7 using Office 2007 & 2010

    Remember your [ code ] [ /code ] tags, makes reading soooo much easier

  3. #3
    Registered User
    Join Date
    01-05-2012
    Location
    Dallas
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Do I need COUNTIF? Pivot Table? I forget

    PERFECT! Thank you it was frying my memory to get this done. Worked like a charm!

+ 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