+ Reply to Thread
Results 1 to 5 of 5

Comparing a tex cell with text column by countif formula

  1. #1
    Registered User
    Join Date
    11-13-2019
    Location
    Poznań, Poland
    MS-Off Ver
    Google Sheets
    Posts
    2

    Comparing a tex cell with text column by countif formula

    Hello!

    I'm trying to solve a problem for about 3 hours now and while it seems trivial I really can't figure a way to do it.

    I'm trying to compare a cell in Google Sheets against a column and I need to check if the text in cell match contains the text in column and then if there is a match, the cell should highlight.
    I used the CountIf formula but it works only if there is an exact match.

    The formula is in the second spreadsheet (Mid Tech Recruiter) in columne E.
    What I need to achieve is that if in column D the text is eg. "Consdata spk" and in column A one of the cells is named "Consdata" then the formula will count.
    Attached Files Attached Files

  2. #2
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Comparing a tex cell with text column by countif formula

    you can use the find function and if it returns 0 then there is no match
    Also , you migth want to use lower() to chec both in lowercase because a C is different form a c
    ---
    Hans
    "IT" Always crosses your path!
    May the (vba) code be with you... if it isn't; start debugging!
    If you like my answer, Click the * below to say thank-you

  3. #3
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Comparing a tex cell with text column by countif formula

    Use an asterix in the criteria
    I have attached your file with the correction
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    11-13-2019
    Location
    Poznań, Poland
    MS-Off Ver
    Google Sheets
    Posts
    2

    Re: Comparing a tex cell with text column by countif formula

    Thanks for help!
    Unfortunately it doesn't solve the problem, because if I write in column D eg. "Consdata X" it still doesn't count

  5. #5
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Comparing a tex cell with text column by countif formula

    If Consdata X doesn't exist in the other sheet, then no. It will just count a word or two words if they exists.

    if in A thereis a Consdata Xport and a Consdata Xtraodi then you will get two hits

+ 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. COUNTIF formula to look up text values and the colour of the cell
    By twaccess in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-16-2015, 05:56 AM
  2. How to countif a specific column based on a cell text value.
    By JamesBlack90 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-24-2015, 07:46 AM
  3. Formula Help Needed Please!!Comparing a cell to a column
    By jgkinder in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-28-2013, 06:15 PM
  4. [SOLVED] Help w/ countif formula in comparing the information in two different columns
    By scyllanbay in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-13-2012, 11:58 AM
  5. [SOLVED] Help w/ countif formula in comparing the information in two different columns
    By scyllanbay in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-13-2012, 11:34 AM
  6. Replies: 5
    Last Post: 04-28-2012, 01:54 AM
  7. Countif Function by comparing cell contents
    By lkw441 in forum Excel General
    Replies: 3
    Last Post: 02-09-2005, 12:47 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