+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : 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 Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    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 TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,588

    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
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ 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