+ Reply to Thread
Results 1 to 4 of 4

If cells contain specific values from a list Do This, if not Do This.

  1. #1
    Registered User
    Join Date
    04-27-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    79

    If cells contain specific values from a list Do This, if not Do This.

    Assistance please - if one value in a range of cells matches another value in another range, how can I get my IF formula to depict this?

    =IF(J9:AN9=Guide!A7:A29,"Related?","")

    If a user selects any value in J9:AN9 that matches my list in Guide!A7:A29 DO "Related", otherwise ""

    Thanks
    Sambo

  2. #2
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: If cells contain specific values from a list Do This, if not Do This.

    Hi ,
    Sample work book.

    Punnam

  3. #3
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: If cells contain specific values from a list Do This, if not Do This.

    =IF(SUM(INDEX((COUNTIF(J9:AN9,A7:A29)>0)*1,0))>0,"Related","")
    try this formula

  4. #4
    Registered User
    Join Date
    04-27-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    79

    Re: If cells contain specific values from a list Do This, if not Do This.

    Spot On nflsales. Many Thanks!

+ 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: 6
    Last Post: 05-14-2014, 04:56 PM
  2. Return specific values from one workbook to another, in specific cells
    By Bobbie12 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-20-2013, 03:33 PM
  3. [SOLVED] Macro to generate a random number between 2 specific values into specific cells.
    By Nerfmagnet in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-10-2013, 11:45 AM
  4. Replies: 3
    Last Post: 03-28-2011, 10:53 AM
  5. if specific value from list A equals one of the values from list b...
    By broer konijn in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-14-2006, 01:30 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