+ Reply to Thread
Results 1 to 5 of 5

Using a COUNTIF formula on one column if a specific phrase exists in another column.

  1. #1
    Registered User
    Join Date
    10-30-2012
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    37

    Using a COUNTIF formula on one column if a specific phrase exists in another column.

    Hi all,

    This has completely stumped me unfortunately. I'm trying to report on a data sheet using Excel and can't seem to make the formulas work.

    I have attached a screenshot to add context. Excel Issue.JPG

    So in short, if Column B has a 10bn in it, I would like to report on the numbers in Column H for that row.

    For example, Column B10 has a 10bn in it, so then I want to run a formula that says, if the number in Column H is over 10 then it counts as one. If it's 9 and below, it's a zero. Then I can add up how many companies have 10+ contacts associated with them.

    I could separate the sheet into only 10bn+ but and then report on that directly but I'm hoping someone can help me avoid that!

    Any help would be greatly appreciated.

    Many thanks,

    Michael
    Attached Files Attached Files
    Last edited by thingstodo123; 04-27-2020 at 08:13 AM. Reason: Adding spreadsheet

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: Using a COUNTIF formula on one column if a specific phrase exists in another column.

    There are instructions at the top of the page explaining how to attach your sample workbook.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    10-30-2012
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    37

    Re: Using a COUNTIF formula on one column if a specific phrase exists in another column.

    Ah nice, sorry been a while since I've been on, shall get one up now.

  4. #4
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Using a COUNTIF formula on one column if a specific phrase exists in another column.

    Hi

    maybe you could try

    =COUNTIFS(B$3:B$26,"10bn",H$3:H$26,">=10")

    Regards
    -----------------------------------------------------

    At Excelforum, you can say "Thank you!" by clicking the star icon ("Add Reputation") below the post.

    Please, mark your thread [SOLVED] if you received your answer.

  5. #5
    Registered User
    Join Date
    10-30-2012
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    37

    Re: Using a COUNTIF formula on one column if a specific phrase exists in another column.

    Thanks a lot, that's a great help.

    I've tried a workaround of using a vlookup to decide on tiers, then this =IF(H11>=$AB$5,$AB$7,IF(H11>=$AA$5,$AA$7,IF(H11>=$Z$5,$Z$7,""))) to sort out whether a row is complete, partial or incomplete and then filled in the table with this =COUNTIFS($I$3:$I$187,$Y8,$J$3:$J$187,Z$7)

    Although, I think your way may be simpler.

    Thanks,

    Michael

+ 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] Countif on a Specific Column Header versus a specific Column
    By usc1382 in forum Excel General
    Replies: 7
    Last Post: 07-14-2020, 02:41 AM
  2. how to exit for if specific value exists in column A
    By biznez in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-29-2016, 04:50 PM
  3. Replies: 3
    Last Post: 01-07-2015, 03:55 AM
  4. Please help !!!!Formula to replace the Phrase of column A in Column B
    By Bangera in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-14-2014, 12:00 PM
  5. Replies: 7
    Last Post: 07-25-2014, 05:08 PM
  6. [SOLVED] Find specific phrase in a column and change the row color and its border
    By kundterra in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 03-27-2014, 05:13 PM
  7. Replies: 3
    Last Post: 10-24-2013, 05:05 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