+ Reply to Thread
Results 1 to 8 of 8

copying from row to row

  1. #1
    Registered User
    Join Date
    05-16-2012
    Location
    uk
    MS-Off Ver
    Excel 2007
    Posts
    8

    copying from row to row

    hi ,

    i am trying to copy row 4 down to row 20 maintaining the formulas . unfortunately i have added a $ to the locations which makes it static , when i remove the $ it automatically puts it back in .


    thanks in advance wflow2.xlsm

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: copying from row to row

    Should rows 5 to 19 also have the formulae?
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: copying from row to row

    If only row 20 should have the formula, try this
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    04-18-2012
    Location
    uk
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: copying from row to row

    yes ,rows 4 to 20 are to maintain the formula but the $ i think is preventing it from copying down and it willnot allow me to remove the $ .

  5. #5
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: copying from row to row

    I am surprised that you are not able to remove the $. Are you talking about column T? In your sample file, that is the only field that has the formula and i am able to remove the $. I then used the macro given above (post 3) - though it needs to be changed a lil, and got the formula to change from S4 to S20.

  6. #6
    Registered User
    Join Date
    04-18-2012
    Location
    uk
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: copying from row to row

    Hi Arlu ,

    Sorry if i'm unclear , i'm fairly new to this , i meant the formulas in conditional formatting will not remove $ .

    thanks

  7. #7
    Valued Forum Contributor ron2k_1's Avatar
    Join Date
    09-30-2009
    Location
    Not the USA
    MS-Off Ver
    Excel 2003, 2007
    Posts
    606

    Re: copying from row to row

    You need to remove the $ to the formula and NOT to the range the conditional formula applies to. For instance in the case of the first Conditional rule I can see on your worksheet which applies to rage $A$4:$R$4 with formula =$S$4=TODAY(). Just change the formula to =$S4=TODAY() and it should do fine when copying to other rows. Do the same for each conditional formula - double click on the rule and modify the formula, not the range it applies to.

    Ron
    Ron
    Knowledge is knowing that a tomato and pepper are fruits. Wisdom is knowing whether to put these in a fruit salad

    Kindly

    [1] Use code tags. Place "[code]" before the first line of code and "[/code"]" after the last line of code. Exclude quotation marks
    [2] Mark your post [SOLVED] if it has been answered satisfactorily by editing your original post in advanced mode.
    [3] Thank (using the little scale) those that provided useful help; its nice and its very well appreciated

  8. #8
    Registered User
    Join Date
    05-16-2012
    Location
    uk
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: copying from row to row

    Hi Ron , Thanks for your help .

    I have tried this but after i copy to the next row (5) it assumes the location as $A$4:$R$5 . How do i change the location to $A$5:$R$5 automatically ?

+ 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