+ Reply to Thread
Results 1 to 5 of 5

How do i count cells where the adjacent cell is of certain string value?

  1. #1
    Registered User
    Join Date
    01-13-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    2

    How do i count cells where the adjacent cell is of certain string value?

    I have a list of countries and each county can be of a certain category (rehab, end user.. etc (there are 5)
    I want to have a counter to count the value of type (ie "rehab") if the cell containing country is of type x (ie albania).

    Please help

  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 do i count cells where the adjacent cell is of certain string value?

    Hi and welcome to the forum.

    Your requirement(for me), is not clear.

    Would you like to upload a small sample workbook?
    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
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: How do i count cells where the adjacent cell is of certain string value?

    Given you have 2010 use COUNTIFS()
    Say Column A is "Countries" and Column B is "Category"
    In say D2 your required country and in E2 the catagory to match
    Then
    Please Login or Register  to view this content.
    Does this help?
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  4. #4
    Registered User
    Join Date
    01-13-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    2

    Cool Re: How do i count cells where the adjacent cell is of certain string value?

    Thank you fotis i was about to upload but THANKYOU Marcol. i knew there was a way!
    Back in 2005 i got 98% and fastest in the class for the Microsoft's written excel test. its good to get back on the excel wagon slowly

  5. #5
    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 do i count cells where the adjacent cell is of certain string value?

    You are welcome.

    As I have said many times for me where English is not my native language, sometimes hard to understand immediately the requirement of each questioner..

+ 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