+ Reply to Thread
Results 1 to 2 of 2

Returning a value if a match is found

  1. #1
    Registered User
    Join Date
    06-25-2015
    Location
    Vancouver, Canada
    MS-Off Ver
    2010
    Posts
    19

    Returning a value if a match is found

    I am been thinking about how to do this and I am stuck.
    I have text in C2 and what I need to do is return a 1 (if the text is found) or blank (if the text isn't found) in D2. The search area is between Q9:105 and AH9:105.

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Returning a value if a match is found

    Maybe this...

    =IF(COUNTIF(Q9:Q105,C2)+COUNTIF(AH9:AH105,C2),1,"")
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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] Returning a match given value found in column
    By BWellman in forum Excel General
    Replies: 3
    Last Post: 07-15-2015, 11:10 AM
  2. Replies: 4
    Last Post: 08-04-2014, 04:48 AM
  3. [SOLVED] Vlookup returning different text to what it has found
    By se15 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-14-2013, 12:06 PM
  4. Looking up arrays and returning entire rows if match is found
    By Carlsbergen in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-05-2009, 06:18 AM
  5. Using vlookup but returning a zero value if nothing found
    By Neil Green in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-01-2008, 12:03 PM
  6. Replies: 3
    Last Post: 04-25-2007, 08:27 AM
  7. Replies: 0
    Last Post: 08-25-2005, 03:46 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