+ Reply to Thread
Results 1 to 2 of 2

Search List in a Column Return a Result From Another Column

  1. #1
    Registered User
    Join Date
    09-26-2007
    Posts
    32

    Search List in a Column Return a Result From Another Column

    Ok

    I had a working VBA for what I wanted to do here, unfortunately I have to upload this document to googlesheets. I am hoping I can do what I want in functions instead and then convert to a googlesheet.

    I have attached the file. In the sheet titles "clans" there is a list of allies and enemy. The intention is to have a lookup sheet so a user will enter a clan name into D6 on search sheet and the result will return in D10.

    As you can see I can find a clan using VLook, but I need more. These things are:

    1. Return Allies or Enemy (shown in column B in clans sheet), green background for allies and red background for enemy.
    2. If nothing found, a not found response.
    3. Only giving access to D6 to the user and hiding clans sheet. (When I hide it doesn't find).

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,362

    Re: Search List in a Column Return a Result From Another Column

    To get "Allies/Enemy"

    ==IFERROR(VLOOKUP(D6,clans!A1:B5000,2,FALSE),"Not found")

    If sheet is hidden, VLOOKUP still works. (in Excel)

+ 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] Search by a list by Keyword & copy all the relevant result by individual column
    By kitunga in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-30-2016, 01:24 PM
  2. [SOLVED] Dynamic search; using column # result to determine column used for column/row match.
    By David Brunk in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-18-2014, 09:57 PM
  3. Replies: 13
    Last Post: 06-25-2014, 09:48 AM
  4. [SOLVED] Search Value of column E if exist return value of column B put result in column P
    By hassan khansa in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-23-2013, 11:39 AM
  5. Replies: 1
    Last Post: 07-26-2011, 06:48 AM
  6. How to search text x 2 in same column and return 2nd result
    By Maxwell9 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-02-2010, 11:38 AM
  7. Search in Mulitple Columns and Return Corresponding Column/Row Result
    By JLRO in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 05-05-2008, 10:42 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