+ Reply to Thread
Results 1 to 7 of 7

Rounding particular columns to the nearest 5

  1. #1
    Forum Contributor
    Join Date
    08-12-2013
    Location
    vancouver
    MS-Off Ver
    Excel 2010
    Posts
    106

    Rounding particular columns to the nearest 5

    I have columns A-Q in my worksheet, and I want to scan through four of the columns (D,I,N,P) and round their value to the nearest 5. I have the following formula but do not know how to apply it to a macro.

    Please Login or Register  to view this content.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,524

    Re: Rounding particular columns to the nearest 5

    Is the result supposed to be negative??

  3. #3
    Forum Contributor
    Join Date
    08-12-2013
    Location
    vancouver
    MS-Off Ver
    Excel 2010
    Posts
    106

    Re: Rounding particular columns to the nearest 5

    The result could be a positive or negative number.

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,524

    Re: Rounding particular columns to the nearest 5

    Uncomment the other part if you want to negative the numbers

    Please Login or Register  to view this content.

  5. #5
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,524

    Re: Rounding particular columns to the nearest 5

    Quote Originally Posted by jaymoore View Post
    The result could be a positive or negative number.
    Your formula makes them all negative...

  6. #6
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,524

    Re: Rounding particular columns to the nearest 5

    Please Login or Register  to view this content.

  7. #7
    Forum Contributor
    Join Date
    08-12-2013
    Location
    vancouver
    MS-Off Ver
    Excel 2010
    Posts
    106

    Re: Rounding particular columns to the nearest 5

    Thank you very much, Davesexcel. I just duplicated for the additional cells and it worked perfect.

    Many thanks!

+ 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. Rounding up to the nearest .33
    By lorber123 in forum Excel General
    Replies: 16
    Last Post: 02-08-2018, 02:21 AM
  2. [SOLVED] Rounding up to the nearest 5 or 0
    By RachelMads02 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-19-2015, 11:42 PM
  3. rounding down to nearest 10
    By Alex01 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-13-2014, 08:53 AM
  4. [SOLVED] Rounding to the nearest 5?
    By shambo in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-07-2012, 09:18 AM
  5. Rounding to the nearest 9
    By perrybarnett in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-22-2010, 05:48 PM
  6. Rounding up to the nearest 0.99
    By seaniexxx in forum Excel General
    Replies: 5
    Last Post: 01-20-2009, 11:47 AM
  7. Rounding Down to Nearest 1/8
    By L.sean9 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-25-2008, 08:29 PM

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