+ Reply to Thread
Results 1 to 6 of 6

Referencing a cell in the same row

  1. #1
    Registered User
    Join Date
    05-04-2008
    Posts
    3

    Referencing a cell in the same row

    I need help with using a formula....



    I'm trying to use an equation in which I reference a cell thats in the same row. For example, I have Row 1, and Column A full of numbers; and column B, I want to use the number from column A in an equation. So I'm trying to reference the number in row 1, column A to use in row 1, column B, without having to type

    "= A1+3" repeatedly because I would like to copy and paste this formula for multiple rows. I've tried using "= A(ROW()) +3" but it doesn't work and I've tried the search function but no luck. Thanks in advance.
    Last edited by bobisfat; 05-04-2008 at 05:36 PM. Reason: title needed specification

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,666
    If you type:
    =A1+3
    in cell B1, press ENTER, then re-select B1, you will see a small square at the bottom right corner of the selection rectangle about B1. Put the cursor on the square and the cursor will change to a cross. Click and drag the cross down column B to include all the desired rows. Excel will automatically increment the formula as you drag: A2, A3,..., A?

    "=A(ROW()) +3" gives an error because there is no such function as "A". What you did here was to try to call function A with the parameter "ROW()" then add 3 to the results returned by the function.
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    05-04-2008
    Posts
    3
    Quote Originally Posted by protonLeah
    If you type:
    =A1+3
    in cell B1, press ENTER, then re-select B1, you will see a small square at the bottom right corner of the selection rectangle about B1. Put the cursor on the square and the cursor will change to a cross. Click and drag the cross down column B to include all the desired rows. Excel will automatically increment the formula as you drag: A2, A3,..., A?

    "=A(ROW()) +3" gives an error because there is no such function as "A". What you did here was to try to call function A with the parameter "ROW()" then add 3 to the results returned by the function.
    Thanks, that was very helpful, but I forgot to mention that I have some cell references that I don't want to be changed. For example,

    =N2-MIN(N2:N17)

    But what you suggested increments the (N2:N17), which I want to be constant. Is there any way to just increment the first N2?

  4. #4
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,666
    Putting "$" in front of the columns and rows in the () will absolutize that range thus:
    Please Login or Register  to view this content.
    Then, dragging that formula down will only increment the first N2.

  5. #5
    Registered User
    Join Date
    05-04-2008
    Posts
    3
    Quote Originally Posted by protonLeah
    Putting "$" in front of the columns and rows in the () will absolutize that range thus:
    Please Login or Register  to view this content.
    Then, dragging that formula down will only increment the first N2.
    PERFECT THANKS!

  6. #6
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,666
    You're welcome.

+ 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