+ Reply to Thread
Results 1 to 2 of 2

How to link a single cell to several other cells, selecting only one based on a value

  1. #1
    Registered User
    Join Date
    02-11-2005
    Posts
    5

    How to link a single cell to several other cells, selecting only one based on a value

    Hi,

    I would like to do something like this:

    In column A there is a list of values. Say 5, 10, and 15. In cell B1 there is a single integer value.

    If B1 is 1, cell C1 should be 5.
    If B1 is 2, cell C1 should be 10.
    If B1 is 3, cell C1 should be 15.

    How can I link cell C1 to the values in column A, through cell B1?

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,887

    Re: How to link a single cell to several other cells, selecting only one based on a v

    Hi David,

    In this simple example, you could use something like:

    =INDEX(A:A,B1)

    This assumes the 5, 10 and 15 are in A1, A2 and A3. If not, change A:A to the actual data range, e.g. A4:A6.

+ 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