+ Reply to Thread
Results 1 to 3 of 3

Formula to round a cell's value down to the nearest 8?

  1. #1
    Registered User
    Join Date
    05-09-2013
    Location
    Portland, OR
    MS-Off Ver
    Excel 2007
    Posts
    12

    Formula to round a cell's value down to the nearest 8?

    I have a list of values that I need to round down to the nearest 8.

    For example, here are some values:


    $742.00
    $717.80
    $3,958.80

    I would need a formula that would produce:

    $738.00
    $708.00
    $3958.00

    Any suggestions? I'm stuck on this one! Thanks so much.

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,738

    Re: Formula to round a cell's value down to the nearest 8?

    If your value is in A2 then try this formula to round as required

    =FLOOR(A2+2,10)-2
    Audere est facere

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,049

    Re: Formula to round a cell's value down to the nearest 8?

    Hi and welcome to the forum

    This is a bit big, but I think it gives you what you want...
    =IF(RIGHT(ROUNDDOWN(A1,0),1)=8,ROUNDDOWN(A1,0),ROUNDUP(A1,-1)-12)

    edit: well la te da DDL lol
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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