+ Reply to Thread
Results 1 to 3 of 3

Formula R1C1 reference a column

  1. #1
    Forum Contributor
    Join Date
    03-05-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    301

    Formula R1C1 reference a column

    Hi all

    i am trying to automatically enter a formular into a cell.

    Please Login or Register  to view this content.
    This works just find to calculate two cells along a row. I need to calculate a cell along a row, and the cell directly above the cell in which the formula is entered.

    It might look something like this:

    Please Login or Register  to view this content.
    Of course, thats not going to work.

    How do I reference a new row in this vba function.

    Cheers

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,410

    Re: Formula R1C1 reference a column

    For a basic overview of how R1C1 notation works, read through the section here: http://office.microsoft.com/en-us/ex...es_in_formulas
    Note that, just as you use brackets to contain relative references for columns (C[-8]), you use the same notation for relative references to rows. R[-1] refers to the row immediately above. So =SUM(RC[-8],R[-1]C) adds the value from the cell in the same row 8 columns to the left with the value in the same column one row above.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Forum Contributor
    Join Date
    03-05-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    301

    Re: Formula R1C1 reference a column

    Thanks MrShorty. Your help is appreciated.

    Cheers

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Using Range Name reference as part of R1C1 Formula
    By BEEJAY in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-14-2012, 01:32 PM
  2. Use Match or Lookup to create dynamic cell reference in VBA R1C1 formula
    By rmunsun1 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-20-2012, 06:10 AM
  3. absolute cell reference in R1C1 reference style
    By Prorocentrum in forum Excel General
    Replies: 1
    Last Post: 06-18-2007, 04:59 PM
  4. [SOLVED] R1C1 reference style
    By Peg P in forum Excel General
    Replies: 2
    Last Post: 11-15-2005, 02:50 PM
  5. R1C1 reference
    By Tony S in forum Excel General
    Replies: 1
    Last Post: 05-10-2005, 01:06 PM

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