+ Reply to Thread
Results 1 to 3 of 3

Copy & Paste Formula

  1. #1
    Registered User
    Join Date
    08-22-2008
    Location
    Michigan
    Posts
    71

    Copy & Paste Formula

    I have a supply worksheet that is set up where the new data is added into a new column, so that the report extends horizontally. All of the pricing is in Column I, quantities are listed in the new column, and then totals at the bottom with the following formula:

    =(SUM(AF7:AF10)*I7)+(AF12*I12)+(AF13*I13)+(SUM(AF15:AF18)*I15)+(SUM(AF20:AF23)*I20)

    When I copy and paste the cell, into the next column for a new order, it changes the quantity column from "AF" to "AG", which I want it to do, but it also changes the pricing column from "I" to "J". I then have to go in manually and change all the J's to I's. When I copy the just the formula, it keeps everything the same, and then I have to manually change "AF" to "AG".

    Is there a way to copy and paste so that the pricing column stays fixed within the formula, but the quantity column changes?
    Last edited by oldchippy; 10-23-2008 at 03:45 PM.

  2. #2
    Valued Forum Contributor ratcat's Avatar
    Join Date
    03-07-2008
    Location
    Rural NSW, Australia
    MS-Off Ver
    Vista 2007
    Posts
    1,111
    G'day

    Try this,

    =(SUM(AF7:AF10)*$I7)+(AF12*$I12)+(AF13*$I13)+(SUM(AF15:AF18)*$I15)+(SUM(AF20:AF23)*$I20)

    Read this also
    http://www.excelforum.com/excel-work...ml#post1963458

    HTH
    Last edited by ratcat; 09-04-2008 at 09:48 AM. Reason: made the font size bigger
    Have I made you happy ??? If yes, please make me happy by pressing the http://www.excelforum.com/images/buttons/reputation-40b.png Add Reputation button in my post.
    Please don't forget to do the same to other contributors of this forum.

    Thanks
    I don't void confusion, I create it

  3. #3
    Registered User
    Join Date
    08-22-2008
    Location
    Michigan
    Posts
    71
    Thanks! That is exactly what I was looking for! This will be a big time saver.

    Thanks for the link. I never knew what the $ was used for in the formulas.

+ 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. Can't Cut, Copy or Paste
    By oldchippy in forum Excel General
    Replies: 7
    Last Post: 03-01-2010, 04:47 AM
  2. Copy / Paste Pivot Table to PPT
    By skizz135 in forum Excel General
    Replies: 1
    Last Post: 07-08-2008, 02:36 PM
  3. How to select part of row to copy and paste?
    By shane john in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-13-2008, 03:31 PM
  4. Excel formula does not copy over
    By cruzio in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 09-07-2007, 12:47 PM
  5. How to copy and paste row formula only???
    By iturnrocks in forum Excel General
    Replies: 4
    Last Post: 11-14-2006, 07:26 AM

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