+ Reply to Thread
Results 1 to 4 of 4

Populate a cell based on a value being found in an array

  1. #1
    Registered User
    Join Date
    03-21-2013
    Location
    Dublin
    MS-Off Ver
    Excel 2007
    Posts
    4

    Populate a cell based on a value being found in an array

    Hi,

    Thanks for reading, my brain has shut down and i need to finish this soon.

    I have a list of email addresses as part of a large workbook, i need to pour through them and see if any of them are included in a smaller list. If one is found i need to populate a cell on the same row with a "Y".

    so in pseudo i think its something like this

    if cell1 included in array then "Y" otherwise "blank"

    tried lookup, vlookup, index/match, no success, why is this killing me?

    Cheers in advance
    Col

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Populate a cell based on a value being found in an array

    Assuming that your list starts in A2, then in B2 and copy down maybe something like this, will work.

    =if(countif("small list",a1)>0,"y","")

    "small list" is the range that your small list exists.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    03-21-2013
    Location
    Dublin
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Populate a cell based on a value being found in an array

    It works and i cant see why! i need to sleep.

    thanks bud

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Populate a cell based on a value being found in an array

    ................................

+ 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