+ Reply to Thread
Results 1 to 2 of 2

compare 2 values and return value

  1. #1
    Registered User
    Join Date
    08-13-2010
    Location
    Montreal, Canada
    MS-Off Ver
    Excel 2003
    Posts
    1

    compare 2 values and return value

    I'm looking for a formula which will compare a cell to a column and return a value located on the cell next to it.

    Example:

    A1. Hello

    Search sheet: database

    If database!a:a equals A1 then give me the price in the database!b:b colomn.
    I'm close but it always returns the first value in database!b:b being B1.

    Help!!!

    Eric

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: compare 2 values and return value

    Hi and welcome to the board

    I'm close but it always returns the first value in database!b:b being B1.
    What is the "it" you are talking about?
    At first glance you need a VLOOKUP function. Best to post a sample sheet

+ 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