+ Reply to Thread
Results 1 to 5 of 5

Stumped with a IF foumula

  1. #1
    Forum Contributor
    Join Date
    12-05-2006
    Location
    London
    MS-Off Ver
    Excel 365 (Version 2008) [work] & 365 [home]
    Posts
    182

    Stumped with a IF foumula

    Hi all,

    This might be easy but for some reason I am struggling.

    I have two sheets:

    Data
    Sightings

    I have a list of items in the Data sheet in column A

    In the Sightings Sheet I have a list of items (sometimes multiple items of the same) in column B

    On the Data sheet in column D I have tried this formula

    =if(A2=Sightings!B114:B128,"X","")

    Basically if the item in A2 is found in the sightings column B then it places a "X" in the cell D2 if not it leave it blank.

    But it doesn't work.

    Can someone please advise ?
    A mad football researcher and Statistician - ok just mad really !

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Stumped with a IF foumula

    try this...
    =if(iserror(vlookup(A2,Sightings!B114:B128,1,0),"","X")
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Valued Forum Contributor
    Join Date
    10-10-2012
    Location
    New York
    MS-Off Ver
    Excel 2007/2010
    Posts
    337

    Re: Stumped with a IF foumula

    Try this
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Don't just use the answers provided for you. Try to understand how it works by reverse engineering or asking about it.

    Please mark the thread as [SOLVED] (Thread Tools->Mark thread as Solved) when answered.
    If you're happy with an answer given, please click the * under the person's name to boost their reputation.

  4. #4
    Forum Contributor
    Join Date
    12-05-2006
    Location
    London
    MS-Off Ver
    Excel 365 (Version 2008) [work] & 365 [home]
    Posts
    182

    Re: Stumped with a IF foumula

    Both work fine, Thanks you

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Stumped with a IF foumula

    Happy to help

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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