+ Reply to Thread
Results 1 to 3 of 3

Thread: For every change in the value of a cell, return another value in the adjacent cell

  1. #1
    Registered User
    Join Date
    02-06-2012
    Location
    Delhi
    MS-Off Ver
    Excel 2007
    Posts
    1

    For every change in the value of a cell, return another value in the adjacent cell

    I want to return a value in a cell based on the values in a range of cells, Please see the attachement for your reference and guide for the right formulae that I can write to achieve this result.
    Attached Files Attached Files

  2. #2
    Forum Guru Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    MS Excel 2010
    Posts
    2,246

    Re: For every change in the value of a cell, return another value in the adjacent cel

    Try

    =IFERROR(INDEX({18001022222,18001044444,18001066666,18001088888},MATCH(A2,{"Name 1","Name 2","Name 3","Name 4"},0)),"Not Found")

  3. #3
    Forum Guru TMShucks's Avatar
    Join Date
    07-15-2010
    Location
    Manchester, England
    MS-Off Ver
    MSO 2003 & 2007
    Posts
    6,202

    Re: For every change in the value of a cell, return another value in the adjacent cel

    That looks like a requirement for VLOOKUP.

    On a separate sheet, list the names and the associated calues/codes.

    Assuming the list were in Sheet2, it would look something like this:

    =IFERROR(VLOOKUP($A2,Sheet2!$A:$B,2,FALSE),"Not Found")


    Regards, TMS

+ 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.2.0