+ Reply to Thread
Results 1 to 5 of 5

Excel formula if certain text shows in 2 differnt col show value in a specific column

  1. #1
    Forum Contributor
    Join Date
    05-08-2013
    Location
    FLORENCE, ALABAMA
    MS-Off Ver
    Excel 2010
    Posts
    116

    Excel formula if certain text shows in 2 differnt col show value in a specific column

    Hello Excel Guru's,
    I am trying to show a value if only specific words do not show:

    Formula in col BL, looks for specific words in Col E and Col M, if the text isn't in Col E & M then return the value in Col BL.

    Specific words if they are in Col E & Col M:
    Raw, Prod, Fill, Orange, Apple. Show $0 in BL
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Excel formula if certain text shows in 2 differnt col show value in a specific column

    I created a defined name (Formulas > Name Manager)
    MyList2 = "RawProdFillOrangeApple"
    Then used this formula in BL2 copied down
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Does that work for you?
    Attached Files Attached Files
    Last edited by ChemistB; 01-25-2021 at 04:47 PM.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Contributor
    Join Date
    05-08-2013
    Location
    FLORENCE, ALABAMA
    MS-Off Ver
    Excel 2010
    Posts
    116

    Re: Excel formula if certain text shows in 2 differnt col show value in a specific column

    Hi ChemistB,
    Thank you so much for the offer to help. Is there a way to have the list on a second tab due to the list of text will grow. I would then name the range on the second tab column A1-A7 List3. I have uploaded the file.
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,923

    Re: Excel formula if certain text shows in 2 differnt col show value in a specific column

    Or try this in BL2

    =BK2*(SUMPRODUCT(COUNTIF(Sheet2!A:A,E2:M2))=0)

  5. #5
    Forum Contributor
    Join Date
    05-08-2013
    Location
    FLORENCE, ALABAMA
    MS-Off Ver
    Excel 2010
    Posts
    116

    Re: Excel formula if certain text shows in 2 differnt col show value in a specific column

    Hello Phuocam,
    That worked perfect.

    Thank you so much Phuocam and ChemistB for the help. You are the best and this site is awsome!!!

+ 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. Replies: 4
    Last Post: 07-22-2019, 06:21 PM
  2. [SOLVED] Show rows with specific text in a column in another file.
    By Excelforum*ser_mH7 in forum Excel General
    Replies: 5
    Last Post: 10-17-2018, 12:33 PM
  3. [SOLVED] Excel VBA If a cell contains a specific text then other cells will show specific vaules
    By elleb in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 02-23-2017, 05:14 PM
  4. [SOLVED] Formula to put differnt contries for their specific regions, ATTCD countries with region
    By raysrains in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-28-2014, 09:42 AM
  5. [SOLVED] Macro code to show only the rows with specific cell text in a particular column
    By Itachi1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-04-2013, 01:33 PM
  6. Replies: 3
    Last Post: 04-24-2012, 02:06 PM
  7. Replies: 2
    Last Post: 05-20-2011, 12:53 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