Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

MS EXCEL FORMULA HELP

Options
  • 05-06-2009 4:43pm
    #1
    Closed Accounts Posts: 64 ✭✭


    Excel Formula Help

    Set of Data
    RESULT A
    RESULT B
    HIGH RESULT B OR AVERAGE A+B
    23.16
    23.42
    23.42
    23.54
    23.1
    23.32
    22.96
    23.1
    23.1

    I need help on the formula for the High Result B or Average A+B box.
    Struggling for hours to make out a formula that will choose the High B result and average A and B if B is lower than A.
    I only have a basic to moderate knowledge of Excel, appreciate any help on this.
    CHEERS


Comments

  • Registered Users Posts: 1,456 ✭✭✭FSL


    You need to use a conditional function. See the Excel help on the if function.

    If(logical test,Value if true,Value if false)


  • Registered Users Posts: 6,344 ✭✭✭Thoie


    =IF(B2>A2,B2,AVERAGE(A2:B2))


  • Registered Users Posts: 205 ✭✭Stugots


    or alternatively....
    =MAX(B2;AVERAGE(A2:B2))


  • Closed Accounts Posts: 64 ✭✭Sneakee


    I used this, another add to it is how do I round up the averages to 2 decimal places.

    if I get in the average
    22.275, how do I get the formula to bring to 22.28 instead
    I used this formula
    =IF(B2>A2,B2,AVERAGE(A2:B2))


    A2----22.77B2---22.6 Split I want
    22.69What I get----22.685


    Thanks for your help!


  • Closed Accounts Posts: 64 ✭✭Sneakee


    Format the column to decimal places....silly of me.
    Thanks anyway!


  • Advertisement
  • Registered Users Posts: 205 ✭✭Stugots


    Or....

    =ROUND(MAX(B2;AVERAGE(A2:B2));2)


Advertisement