+ Reply to Thread
Results 1 to 3 of 3

Keeping part of Formula constant whilst the rest changes.

  1. #1
    Registered User
    Join Date
    03-16-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2007
    Posts
    15

    Keeping part of Formula constant whilst the rest changes.

    Hi all.

    I am busy with an excel spreadsheet that will track 200 employees's daily hours, Productivity, attendance, payslips and bonuses over a period of 12 months.

    I have managed to resolve some of the bigger issues, but I need to know how to copy a formula where some parts must change whilst another part must stay exactly the same throughout.

    EG:
    =SUM(A5:D5)-B2
    =SUM(A6:D6)-B2
    =SUM(F5:I5)-B2
    =SUM(F6:I6)-B2

    As yon can see, I Need the range in the columns to change, but where they are subtracted from must stay constant.

    Any help with this will be appreciated.

    Thanks
    Manny
    Last edited by Manuel Pedro; 05-14-2012 at 12:00 PM.

  2. #2
    Forum Contributor
    Join Date
    08-22-2011
    Location
    Texas, United States
    MS-Off Ver
    Excel 2007 and 2010
    Posts
    516

    Re: Formula Help

    This would be =SUM(A5:D5)-$B$2 once you type your formula, click on anything you want to stay constant and press F4, this will put dollar signs around the column and the row, press it again and you can keep only the row locked down, again and it keeps only the column locked, and again turns it off. In your case you would click on B2 in your formula and press F4 once and just drag your formula down from there.

  3. #3
    Registered User
    Join Date
    03-16-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Formula Help

    To Amotto11

    Thank you very much. It works great, thanks.

+ 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