+ Reply to Thread
Results 1 to 6 of 6

Formula to add two cells

  1. #1
    Registered User
    Join Date
    07-30-2015
    Location
    Denver, CO
    MS-Off Ver
    2013
    Posts
    3

    Formula to add two cells

    Trying to add two cells together, but I need to copy it down the spreadsheet. How do I keep the one cell constant, but let the other change as I copy it down the spreadsheet? I think there is a character or something that needs to be in the formula...

  2. #2
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Formula to add two cells

    the Character is Dollar sign

    When you put a dollar sign.
    For the Column the column doesn't change $A1 but the row will change 1,2,3,4......
    For the Row A$1 the column changes A,B,C,D,.... but the row doesn't
    Row and column don't change $A$1
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  3. #3
    Registered User
    Join Date
    07-30-2015
    Location
    Denver, CO
    MS-Off Ver
    2013
    Posts
    3

    Re: Formula to add two cells

    I knew it was something simple...could not remember! Thanks for the help! Now I'll be going to bed on time, not after midnight!!!

  4. #4
    Registered User
    Join Date
    07-30-2015
    Location
    Denver, CO
    MS-Off Ver
    2013
    Posts
    3

    Re: Formula to add two cells

    I have not written formula's in a while more extreme than a1+b1. Having said that, what is wrong with my formula?

    =$b6*g3

    the $b6 is changing to the next cell address as I copy it down the spreadsheet.

  5. #5
    Valued Forum Contributor quekbc's Avatar
    Join Date
    01-18-2010
    Location
    Sydney, Australia
    MS-Off Ver
    2010, 2013, 2016
    Posts
    1,149

    Re: Formula to add two cells

    As you are copying it down, you want to lock down the 6 of B6. So, rather than $B6, you use B$6
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  6. #6
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Formula to add two cells

    Relative And Absolute References In Formulas


    Excel accepts cell references in what are called absolute and relative ranges. Absolute ranges have a $ character before the column portion of the reference and/or the row portion of the reference. Relative ranges do not use the $ character. The $ character indicates to Excel that it should not increment the column and/or row reference as you fill a range with a formula or as you copy a range. For example A1 is a relative range, while $A$1 is an absolute range. If you enter =A1 in a cell and then fill that cell down a column, the '1' in the reference will increment in each row. Thus, the formula in row 50 would be =A50. However, if you enter =$A$1 in a cell and fill down, the range reference will remain $A$1 -- it will not increment as you fill or copy down a column.

    There are three absolute styles:

    Reference Style Meaning
    $A$1 Both the column and row reference are fixed. Neither will be incremented or changed during a copy or fill operation.
    $A1 Only the column reference is fixed. It will not change during a fill or copy, but the row will change.
    A$1 Only the row reference is fixed. It will not change during a fill or copy, but the column will change.

    If you select all or part of a formula in the formula, you can press F4 to cycle range reference between the 4 styles (1 relative and 3 absolute).

    Even with an absolute referencing style, Excel will still change row and column references when you insert a row or column. To have a truly absolute cell reference that will not change under any circumstances, use the INDIRECT function. For example =INDIRECT("A1") will always refer to cell A1, regardless of any changes made to the worksheet. This works because Excel does not interpret the string "A1" as an address. Instead, it treats it as plain text and therefore does not change it.

    A common use of mixing absolute and relative range specifications is to create a running total of a column of number. For example, if you have data in cells A1:A10, the formula =SUM(A$1:A1) in cell B1 and filled down to cell B10 will return the running total for the numbers in column A.

    Source:-

    http://www.cpearson.com/excel/relative.aspx


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

+ 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. Formula checks multiple cells for words and outputs answer depending on cells
    By keez1993 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-15-2015, 09:18 AM
  2. Replies: 2
    Last Post: 05-14-2015, 03:19 PM
  3. Replies: 3
    Last Post: 07-26-2014, 06:12 AM
  4. Replies: 1
    Last Post: 03-29-2014, 09:56 AM
  5. Formula needed for dividing 2 sets of cells and excluding adjacent text cells
    By excelteam777 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-07-2013, 06:45 PM
  6. Replies: 1
    Last Post: 11-20-2012, 10:08 AM
  7. Formula: Drop Down List -> Choose Option Finds Cells & Replace Cells with Cells
    By g00glethis1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-14-2010, 01:10 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