+ Reply to Thread
Results 1 to 9 of 9

macro to mark up a complete column by 10%

  1. #1
    Registered User
    Join Date
    12-18-2008
    Location
    san antonio
    Posts
    6

    macro to mark up a complete column by 10%

    i have a excel file i need to markup by a 10% value. It is the L column starting at row 2 till a varying number of rows. i need to mark up all of the rows in the spreadsheet. i do not know how to make it repeat.


    This is the formula =L2*1.1(i think its the right one) but i do not understand how to make it repeat. any help would be greatly appreciated.

    I need the value to be replaced with the marked up value. TIA
    Last edited by focodelic; 12-26-2008 at 10:10 PM. Reason: solved

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Assuming you put that in M2 (next to L2), just select that cell, hover your mouse over the little square in the lower right corner of the selection box (called the 'fill handle'), left click, and drag it down.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    12-18-2008
    Location
    san antonio
    Posts
    6
    thanks for the quick reply, I have been doing alot more reading on this. I do not think this is going to be an easy task. i have a spreadsheet that is exported every 45 minutes. I need to mark up an entire column( it varies in number of rows) by 10%. I need the value to be replace with the marked up value. I am not even sure this can be done but i need to keep it in the same column.

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492
    Here's dirty little macro to up L2:L1000 by 10%. See if this does what you want. Just click the button.
    Attached Files Attached Files
    Last edited by JBeaucaire; 12-19-2008 at 03:58 AM.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  5. #5
    Forum Contributor
    Join Date
    11-23-2005
    Location
    Perth, Australia
    Posts
    218

    I need help trying to make a macro to mark up a complete column by 10%

    Or you could try something like :
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    12-18-2008
    Location
    san antonio
    Posts
    6
    Thanks that seems to work. I just need to know how to make it save after it adds the 10%. Thanks

  7. #7
    Forum Contributor
    Join Date
    11-23-2005
    Location
    Perth, Australia
    Posts
    218

    macro to mark up a complete column by 10%

    If you just need to save :
    Please Login or Register  to view this content.
    if you need to save it as something else try(change my path to where you want it saved):

    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    12-18-2008
    Location
    san antonio
    Posts
    6
    Thanks everybody for all of your help.

  9. #9
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    If you're a happy camper, would you please mark this thread as Solved?

    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ 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