+ Reply to Thread
Results 1 to 12 of 12

How can i create a formula for Rounding average Value

  1. #1
    Registered User
    Join Date
    06-24-2019
    Location
    Banglore
    MS-Off Ver
    2010
    Posts
    5

    Lightbulb How can i create a formula for Rounding average Value

    Hi All,

    how can I create a formula for Rounding an Average Value? for Ex: if get the average value for 2 numbers for 4,3 is 3.5 for this i need to show 3 only. above 3.5 only i need to show 4.

    how can i achieve this.

    Thanks

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: How can i create a formula for Rounding average Value

    Hi
    try the MROUND function

  3. #3
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: How can i create a formula for Rounding average Value

    Excel along with general mathematical convention rounds .5 up and not down

    then it is just round(average(4,3),1)

    otherwise
    =(MOD(AVERAGE(A1,B1),1)>0.5)+INT(AVERAGE(A1,B1))

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: How can i create a formula for Rounding average Value

    In A1 Cell
    4

    In B1 Cell
    3

    In C1 Cell
    =ROUND(AVERAGE(A1:A2),0)


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  5. #5
    Registered User
    Join Date
    06-24-2019
    Location
    Banglore
    MS-Off Ver
    2010
    Posts
    5

    Re: How can i create a formula for Rounding average Value

    Hi Pepe,

    i have used like the below.


    =MROUND(AVERAGEIF(A1:B5,A7,B1:B5),1)

    but it gives for 3.5 as 4. but i need the 3 only. Please advise.

    Best,
    V

  6. #6
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: How can i create a formula for Rounding average Value

    Quote Originally Posted by PReddy2830 View Post
    but it gives for 3.5 as 4. but i need the 3 only. Please advise.
    What about =Int(YourFormula) ?

  7. #7
    Registered User
    Join Date
    06-24-2019
    Location
    Banglore
    MS-Off Ver
    2010
    Posts
    5

    Re: How can i create a formula for Rounding average Value

    also same only if i use INT

  8. #8
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: How can i create a formula for Rounding average Value

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  9. #9
    Registered User
    Join Date
    06-24-2019
    Location
    Banglore
    MS-Off Ver
    2010
    Posts
    5

    Post Re: How can i create a formula for Rounding average Value

    attached is the current formula
    Attached Files Attached Files

  10. #10
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: How can i create a formula for Rounding average Value

    In B7 Cell
    =INT(AVERAGEIF(A1:B5,A7,B1:B5))

    In B8 Cell
    =INT(AVERAGEIF(A1:B5,A8,B1:B5))
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    06-24-2019
    Location
    Banglore
    MS-Off Ver
    2010
    Posts
    5

    Re: How can i create a formula for Rounding average Value

    for the attached average value for BofA - is 4.6. so for this, I need to display as 5 now it's showing the 4 only. Please advise.
    Attached Files Attached Files

  12. #12
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: How can i create a formula for Rounding average Value

    Why did you not use the formula I provided or amend it, since there was no mention of average if in the original post?

    =(MOD(AVERAGEIF(A1:B5,A8,B1:B5),1)>0.5)+INT(AVERAGEIF(A1:B5,A8,B1:B5))

+ 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. How to create a rolling average conditional formula
    By MHayward in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-14-2014, 06:33 AM
  2. [SOLVED] Looking for formula that would create an average from certain criteria with in excell
    By bdouglas1011 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 07-26-2014, 10:20 AM
  3. Replies: 16
    Last Post: 06-27-2012, 04:30 PM
  4. Rounding a Average formula?
    By rwhite713 in forum Excel General
    Replies: 4
    Last Post: 07-21-2010, 04:22 PM
  5. Rounding up:create a formula
    By melfarmer in forum Excel General
    Replies: 3
    Last Post: 12-11-2008, 08:11 PM
  6. YTD average - How do I create a formula?
    By Dana in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-01-2006, 02:50 AM
  7. How do I create a formula to calculate the average percentage rat
    By LD in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-13-2005, 03:06 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