+ Reply to Thread
Results 1 to 5 of 5

Multiply range with constant and round results

  1. #1
    Registered User
    Join Date
    04-18-2011
    Location
    Bucharest, Romania
    MS-Off Ver
    Excel 2019
    Posts
    90

    Multiply range with constant and round results

    Hi guys, I need a macro that will multiply all cells in a column and round the results.

    For example,

    A1:A30 is the range

    Constant is found in A33

    All cell in the range will be multiplied with A33 and the result should be rounded (it will be an int number). The result will overwrite the initial cell.

    Thanks for the help

  2. #2
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Multiply range with constant and round results

    Please Login or Register  to view this content.



  3. #3
    Registered User
    Join Date
    04-18-2011
    Location
    Bucharest, Romania
    MS-Off Ver
    Excel 2019
    Posts
    90

    Re: Multiply range with constant and round results

    thank you for the quick reply snb, but unfortunately I don't know how to use that

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Multiply range with constant and round results

    Hi,

    ..or another approach

    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  5. #5
    Registered User
    Join Date
    04-18-2011
    Location
    Bucharest, Romania
    MS-Off Ver
    Excel 2019
    Posts
    90

    Re: Multiply range with constant and round results

    Please Login or Register  to view this content.
    this part i know, managed to do it with record macro

    normally it would be
    Please Login or Register  to view this content.
    but this would mean the result is in a different cell
    Last edited by ciprian; 06-06-2011 at 05:01 AM.

+ 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