+ Reply to Thread
Results 1 to 6 of 6

refer to the f(x)th cell...

  1. #1
    Registered User
    Join Date
    07-09-2009
    Location
    uk
    MS-Off Ver
    Excel 2007
    Posts
    18

    refer to the f(x)th cell...

    hi,

    suppose for simplicity f(x) = 3x+1

    i wish to display the contents of cell A4 in cell B1, A7 in Cells B2, A10 in cell B3, and so on.

    i.e. in cell Bx, I want to display the contents of cell Af(x).

    How do I do this?

  2. #2
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: refer to the f(x)th cell...

    In B1, =Index(A:A,Row()*3+1) and drag down.

  3. #3
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: refer to the f(x)th cell...

    Type the following in B1 and drag down:

    =INDIRECT("A"&ROW()*3+1)
    Last edited by Cutter; 01-10-2010 at 03:32 PM. Reason: correction

  4. #4
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: refer to the f(x)th cell...

    Cutter, you generally want to stay away from Indirect if you can help it just because it's a volatile function. See this link for more on why.

  5. #5
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: refer to the f(x)th cell...

    Thanks for the link Darkyam, good to know.

  6. #6
    Registered User
    Join Date
    07-09-2009
    Location
    uk
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: refer to the f(x)th cell...

    thanks everyone!

+ 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