+ Reply to Thread
Results 1 to 9 of 9

Complex Counting Function?

  1. #1
    Registered User
    Join Date
    03-03-2015
    Location
    London
    MS-Off Ver
    2010
    Posts
    7

    Complex Counting Function?

    Hi, I am a bit stumped at how to count the number of occurrences of a word. The =countIF function sort of does it but not completely. Ill give 2 example tables below

    ITEM Number

    Flat Panel TV 2
    Wall Bracket 1
    TV Connection 1

    ITEM Number

    Flat Panel TV 3
    Wall Bracket 1
    TV Connection 1

    Ok so what i would like to do is count the total number of Flat panel TVs I have. Basically what we are doing is installing new tvs in a number of rooms. In the spreadsheet there is a different table per room with different numbers of TVs. Id like to be able to tally these all up and have a total TV count.

    Thanks

    Jason

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Complex Counting Function?

    Assuming Item is in column A and Number is in column B, try this
    Please Login or Register  to view this content.
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  3. #3
    Registered User
    Join Date
    03-03-2015
    Location
    London
    MS-Off Ver
    2010
    Posts
    7

    Re: Complex Counting Function?

    Ah thank you so much! That works perfectly!

  4. #4
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Complex Counting Function?

    You are welcome, glad it worked for you

  5. #5
    Registered User
    Join Date
    03-03-2015
    Location
    London
    MS-Off Ver
    2010
    Posts
    7

    Re: Complex Counting Function?

    I'm having another small problem now

    The formula doesn't seem to detect different numbers e.g.

    50 Inch Flat Panel
    42 Inch Flat Panel

    So I would have thought i'd do =SUM(B:B,A:A,"*50 Inch Flat Panel*")

    For some reason it does not work with the number

    Is there another part that i am missing?

    Thanks

  6. #6
    Registered User
    Join Date
    03-03-2015
    Location
    London
    MS-Off Ver
    2010
    Posts
    7

    Re: Complex Counting Function?

    No worries, have it working now!

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Complex Counting Function?

    Did you leave off the "50"?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  8. #8
    Registered User
    Join Date
    03-03-2015
    Location
    London
    MS-Off Ver
    2010
    Posts
    7

    Re: Complex Counting Function?

    Essentially... I was putting 40 inch instead of 42 inch! Bit tired over here.

  9. #9
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Complex Counting Function?

    aahh ok, its the little things that trip you up lol, good catch

+ 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] complex counting file
    By Red fuji in forum Excel Programming / VBA / Macros
    Replies: 33
    Last Post: 10-14-2012, 01:19 PM
  2. More complex counting
    By DudeFromAccDept in forum Excel General
    Replies: 3
    Last Post: 03-19-2009, 01:24 PM
  3. Complex counting time function
    By beanos004 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-16-2008, 09:19 PM
  4. [SOLVED] Complex Counting 'is it possible!'
    By stewart08 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-23-2008, 04:21 PM
  5. Complex counting
    By lcarr1 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-28-2006, 06:03 PM

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