+ Reply to Thread
Results 1 to 5 of 5

Countifs Formula assistance

  1. #1
    Registered User
    Join Date
    08-28-2013
    Location
    Hong Kong
    MS-Off Ver
    Excel 2007
    Posts
    2

    Countifs Formula assistance

    Hello all,

    I have a question regarding the countifs formula. In my file, I would like to count the number of different types of furniture on each floor. I have a main inventory worksheet with all the data represented with references (i.e D1 for desk workstation), a 'key' worksheet listing all my references for each type of furniture, and a 'summary table' worksheet to represent the data neatly.

    The problem that I have is counting cabinets because I need to be specific for low and mid ones. Unfortunately the references for both low cabinet and mid cabinet are the same in the 'key' workbook. Now, I can add more countifs functions to do this (as I did in the workbook) but it can be very tedious. Is there a one step option that adds a 3rd condition to check whether the item counted is a low or mid cabinet? Before, I tried something like =COUNTIFS('Main Inventory'!D:D,C4,'Main Inventory'!F:F,"CAB1",'Key'!B:B,"Mid Height Cabinet", but that is definitely wrong! Attached sample worksheet is below.

    Thanks for your help in advance.

    Wsp
    Attached Files Attached Files

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Countifs Formula assistance

    Hi,

    Not sure I understand why you've set up your Main Inventory tab the way you have. You have a Unique Key Ref (actually, there are 4 duplicates in here, so it's not quite "unique") in your Key tab - would it not make sense to have this listed in the Main Inventory tab also?

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Registered User
    Join Date
    08-28-2013
    Location
    Hong Kong
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Countifs Formula assistance

    Hi XOR,

    Yes I'm still fixing up the data, but there is about 25,000 data listings in the full main inventory sheet that I didn't upload and I figured it would be best to have a "key" to reference the data to instead.

    Wsp

  4. #4
    Forum Contributor
    Join Date
    05-24-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    291

    Re: Countifs Formula assistance

    Hi

    i think you should take vlookup of item type in summary sheet based on unique key ref (after removing duplicate key reference or make them correct) & use countifs
    Click on * below if you find this helpful

    Thanks,
    A

  5. #5
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Countifs Formula assistance

    "Yes I'm still fixing up the data, but there is about 25,000 data listings in the full main inventory sheet that I didn't upload and I figured it would be best to have a "key" to reference the data to instead."

    But why? If you already have a unique identifier, then that is all you require to ensure any lookups to/searches within that data will be correct. I appreciate the idea behind it, but I feel that you're making the formula-work unnecessarily complicated and strongly advise that you retain the unique identifiers in your main data tab.

    Regards

+ 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. Need assistance with a COUNTIFS formula
    By ariehc in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-02-2013, 02:14 PM
  2. COUNTIFS OR...multiple countifs without duplication in the numbers
    By HooligaD in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-21-2012, 09:53 AM
  3. [SOLVED] Countifs formula
    By lorber123 in forum Excel General
    Replies: 2
    Last Post: 09-25-2012, 12:44 PM
  4. Replies: 0
    Last Post: 12-16-2011, 09:01 AM
  5. Excel 2007 : COUNTIFS Formula
    By jhg1226 in forum Excel General
    Replies: 4
    Last Post: 05-02-2010, 11:40 PM

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