+ Reply to Thread
Results 1 to 7 of 7

change value in cell by sum

  1. #1
    Registered User
    Join Date
    07-11-2012
    Location
    Amsterdam, holland
    MS-Off Ver
    Excel 2010
    Posts
    17

    change value in cell by sum

    Hi there,

    For almost a couple a day's I' am trying to find an solution in excel 2010 but so far no good. I 'am a newbie in VBA so that is possibile one reason why many tryings doesn't work good.

    What I like to find is an macro with do an calculation of an value in an cell (example: 100,5 * 1,19 OR 45 * 1,19). All the value's to calculate with are in the same colom and I like to change the value in the same cell with te outcome of the calculation.

    example:
    the colom before running a macro:

    A
    1 100,5
    2 45
    3 1125
    4 50,5

    The colom after running a macro (always ..*1,19):

    A
    1 119,60
    2 53,55
    3 1338,75
    4 60,01

    Can somebody helping me on how to make an good macro for this.

    Kind regards,
    Harry Hof
    Last edited by Harry Hof; 07-11-2012 at 06:02 AM. Reason: advice to change Title

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,054

    Re: calculate

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    Never use Merged Cells in Excel

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,458

    Re: calculate

    One way:

    Please Login or Register  to view this content.


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,458

    Re: calculate

    @zbor: sorry ... busy working up a solution and didn't refresh thread.

  5. #5
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,054

    Re: calculate

    No problem TMS.
    I'll restore your solution once that title is changed.

  6. #6
    Registered User
    Join Date
    07-11-2012
    Location
    Amsterdam, holland
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: calculate

    Sorry for a wrong title choice. I've changed it.

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,458

    Re: change value in cell by sum

    Are you happy with the solution? If so, please mark the thread as Solved.

    Regards, TMS

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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