Results 1 to 10 of 10

check if text in cell is available in a column

Threaded View

  1. #1
    Registered User
    Join Date
    03-28-2017
    Location
    Australia
    MS-Off Ver
    2003
    Posts
    3

    Lightbulb check if text in cell is available in a column

    I am using excel 2003.

    I have the following -

    Column A

    Column A has the following –
    A1 - 3
    A2 - 5
    A3 - 7
    A4 - 4

    Column B has the following –
    B1 roger
    B2 kenny
    B3 harry
    B4 bernard

    Column C - Is not static as I keep pasting new lines of text into column C once everyday.
    Column C example in first paste is -
    C1 big roger
    C2 where is kenny
    C3 harry went away
    C4 lion


    Column D - Column D is where I want to use the formulae.
    I want each row in the text in Column C to be compare with Column B. If there is a section of text in column C1 that matches cell range B1:B4, then the value of the corresponding row in column A1 need to be displayed in Column D1 .

    For example -
    I paste “big roger” in cell C1. Now the formulae need to check if either of the words “big” or “roger” is contained within cell range B1:B4. So if just the word “roger” is there in B1, the corresponding A column’s value “3”. Will be displayed in cell D1.

    I have come close with the following formulae –

    =IF(COUNTIF($A$1:$A$4,C1)=1,D1,FALSE)

    However C1 in the formulae needs to consider “big roger” and then compare it with B1:B4 “roger”. I need to be able to paste new text in C1 and still get the comparison results displayed in cell D1

    There are many websites explaining how to insert “ big roger” into the formulae itself and then compare it with other columns but that is not what I want.
    Last edited by dxr346; 03-28-2017 at 09:29 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Searching TEXT in formulae, rather than results of formulae
    By Niek Otten in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2005, 06:05 AM
  2. Searching TEXT in formulae, rather than results of formulae
    By Niek Otten in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2005, 04:05 AM
  3. [SOLVED] Searching TEXT in formulae, rather than results of formulae
    By AndyE in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  4. [SOLVED] Searching TEXT in formulae, rather than results of formulae
    By AndyE in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 AM
  5. Searching TEXT in formulae, rather than results of formulae
    By AndyE in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM
  6. [SOLVED] Searching TEXT in formulae, rather than results of formulae
    By AndyE in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM
  7. [SOLVED] Searching TEXT in formulae, rather than results of formulae
    By AndyE in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM
  8. [SOLVED] Searching TEXT in formulae, rather than results of formulae
    By AndyE in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-15-2005, 06:05 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