+ Reply to Thread
Results 1 to 4 of 4

Adding Rounddown function to Averaging formula

  1. #1
    Registered User
    Join Date
    04-20-2012
    Location
    Saint Paul, Minnesota
    MS-Off Ver
    Excel 2010
    Posts
    52

    Adding Rounddown function to Averaging formula

    Hello friends. I have a formula that I need to add a rounddown function to and don't know how to nest it. The formula is:

    =IF(J29=0,"",1&":"&AVERAGE(IF(J12:J26=0,"",J12:J26)))

    Any help would be appreciated. Thanks.

  2. #2
    Registered User
    Join Date
    04-20-2012
    Location
    Saint Paul, Minnesota
    MS-Off Ver
    Excel 2010
    Posts
    52

    Re: Adding Rounddown function to Averaging formula

    Also, in case it helps the first potion of the formula up to the ":" is serving to avoid the 0 error and to tell Excel to display it as a 1: ratio. Everything after the ":" represents the potion of the formula where the averaging and rounding needs to occur. Thanks.

  3. #3
    Valued Forum Contributor AlvaroSiza's Avatar
    Join Date
    09-19-2007
    Location
    Staffordshire
    MS-Off Ver
    2007
    Posts
    591

    Re: Adding Rounddown function to Averaging formula

    Mod, please move to functions. OP, please post in the correct place (this is your third formula question in Programming).

    Please Login or Register  to view this content.
    Last edited by AlvaroSiza; 05-03-2012 at 11:50 AM.
    Perhaps it was the Noid who should have avoided me...
    If you are satisfied with my solution click the small star icon on the left. Thanks
    1. Make a copy of your workbook and run the following code on your copy (just in case)
    2. With excel open, press ALT+F11 to open the Visual Basic Editor (VBE). From the "Insert" menu, select "Module".
    3. Paste the code from above into the empty white space. Close the VBE.
    4. From the developer tab, choose "Macros", select the Sub Name, and click "Run".

  4. #4
    Registered User
    Join Date
    04-20-2012
    Location
    Saint Paul, Minnesota
    MS-Off Ver
    Excel 2010
    Posts
    52

    Re: Adding Rounddown function to Averaging formula

    Thank you. Apologies for the incorrect placement. In the future I will post under functions.

+ 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