+ Reply to Thread
Results 1 to 5 of 5

advanced countif?

  1. #1
    Registered User
    Join Date
    02-09-2004
    Posts
    52

    Is it possible to do a Countif with the find function?

    Hi, I was wondering if anyone could help.

    I'm trying to do a slightly extended countif and don't know if it's possible.

    I have two columns, one wih some report names in e.g.

    Liquid Petrolium in France
    France Liquid Petrolium
    New Liquid Petrolium in France
    Soft Drinks in Germany
    Germany Soft Drinks

    etc for a lot of countries and a lot of industries, in the next column I just have the industries on their own with no duplicates or anything. I need to do a countif but with the find function too so that excel counts the number of industries in the first column by matching just the part of the text from the second column.

    Any ideas would be great.

    Regards,

    Mark P.
    Last edited by saybut; 04-12-2005 at 11:55 AM. Reason: so it is more descriptive in the title

  2. #2
    Forum Expert
    Join Date
    06-18-2004
    Location
    Canada
    MS-Off Ver
    Office 2016
    Posts
    1,474
    It's not clear to me what you're looking for. Can you post a small sample of your data, including both columns, along with your expected results?

  3. #3
    Registered User
    Join Date
    03-30-2005
    Posts
    13
    are you trying to do a formula that in english does this...?

    count if cell A* contains cell B*

    i don't know how to do it, but i think this is what you are asking.

  4. #4
    Registered User
    Join Date
    02-09-2004
    Posts
    52

    Just got your message - image attached

    Thanks for the replys. sorry I only just recieved them now. If you still have time to look it would be great. I've attached a .jpg to my post.

    As you can see on the pic, there are various occurences of the word "Logistics" in column A (this coulmn would usually be a lot longer with a lot of other terms titles in there covernig a lot of different industries and countries, as in the image they have varying names).

    In column B, I have the text that I want to count from column A. So I want a count for the word Logistics, Machinery, Make-Up, managed Healthcare etc, but as you can see in Col A, I can't just do a striaght countif beacuse non of the terms match to the terms in Col b. So I'm trynig to do a countif but specify in it that when it looks through Col A, it counts all the occurences of the word even though it is not an exact match.

    does that make any more sense?

    thanks again.
    Attached Images Attached Images

  5. #5
    Forum Expert
    Join Date
    06-18-2004
    Location
    Canada
    MS-Off Ver
    Office 2016
    Posts
    1,474
    Try using wildcards...

    =COUNTIF(A:A,"*"&B2&"*")

    Hope this helps!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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