+ Reply to Thread
Results 1 to 7 of 7

How to count matching text in A2:A7, counting only numbers in B2:B7 matching text in A9

  1. #1
    Registered User
    Join Date
    09-23-2010
    Location
    oxfordshire
    MS-Off Ver
    Excel 2003
    Posts
    72

    How to count matching text in A2:A7, counting only numbers in B2:B7 matching text in A9

    Hello
    I have a table with text in A2:A7 and numbers in B2:B7. I'd like count the numbers matching only to certain text in A9 i.e Excel matching text in A2 and A4 then counting the 2 numbers in B2 and B4 into cell B9 totalling 19

    Can you help please
    Attached Files Attached Files

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: How to count matching text in A2:A7, counting only numbers in B2:B7 matching text in A

    Did you tried the SUMIF function? In B9 and copy down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

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

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    09-23-2010
    Location
    oxfordshire
    MS-Off Ver
    Excel 2003
    Posts
    72

    Re: How to count matching text in A2:A7, counting only numbers in B2:B7 matching text in A

    Hi Fotis1991

    I've tried sumifs but it's odd as it doesn't want to work. The total still shows as 0

  4. #4
    Registered User
    Join Date
    05-08-2013
    Location
    india
    MS-Off Ver
    Excel 2010
    Posts
    43

    Re: How to count matching text in A2:A7, counting only numbers in B2:B7 matching text in A

    Put this formula in column B9,B10 & B11.

    =SUMIFS(B2:B7,A2:A7,"word")

    =SUMIFS(B2:B7,A2:A7,"Excel")

    =SUMIFS(B2:B7,A2:A7,"Powerpoint")

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,959

    Re: How to count matching text in A2:A7, counting only numbers in B2:B7 matching text in A

    It does work. In Cell A9, there is a trailing space after the d of "word". Delete it.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: How to count matching text in A2:A7, counting only numbers in B2:B7 matching text in A

    ...........................
    Attached Files Attached Files

  7. #7
    Banned User!
    Join Date
    10-29-2012
    Location
    Europe
    MS-Off Ver
    2013, 2016
    Posts
    318

    Re: How to count matching text in A2:A7, counting only numbers in B2:B7 matching text in A

    Try: SUMPRODUCT(($A$2:$A$7=A9)*($B$2:$B$7)) and drag down.

+ 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] Dynamic counting of matching text cells in column
    By Scoopdoug in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-03-2014, 10:23 PM
  2. Replies: 2
    Last Post: 04-11-2013, 11:14 AM
  3. matching text to numbers
    By holybull in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-20-2006, 02:18 AM
  4. [SOLVED] Counting & Matching Text
    By Murtaza in forum Excel General
    Replies: 2
    Last Post: 02-10-2006, 10:00 AM
  5. Counting & Matching Text
    By Murtaza in forum Excel General
    Replies: 1
    Last Post: 02-10-2006, 10:00 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