+ Reply to Thread
Results 1 to 2 of 2

Calculate a weighted average based on text category

  1. #1
    Registered User
    Join Date
    11-27-2013
    Location
    Miami
    MS-Off Ver
    Excel 2007
    Posts
    6

    Calculate a weighted average based on text category

    I am developing a formula to calculate a weighted average based on category (red, yellow, green). Each row will be assigned a weighted value adding up to 1.

    The idea would be to determine if the overall state is red, yellow, green based on the weighted score. There is more info in the spreadsheet I attached. Thanks.

    Book1.xlsx

  2. #2
    Valued Forum Contributor
    Join Date
    09-07-2006
    Posts
    520

    Re: Calculate a weighted average based on text category

    One simple tinker ..

    In O19:O21, put these labels
    GREEN
    YELLOW
    RED

    Then in P19: =SUMIF($O$12:$O$17,O19,$G$12:$G$17)
    Copy down to P21 to calculate the total weights per stoplight

    Then in P12: =INDEX(O19:O21,MATCH(MAX(P19:P21),P19:P21,0))
    In the event of any ties in the max weight, the less severe stoplight will be indicated.
    Flip the labels order in O19:O21 if you want it the other way around
    -----------------------------------------
    Any good? Wave it, click the little star at the bottom left of my response

+ 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. [SOLVED] Calculate a weighted average in a single cell based on multiple criteria
    By _Bryan in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-14-2013, 04:38 PM
  2. [SOLVED] Help with IF and SUMPRODUCT to calculate weighted average??
    By consulttk in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-02-2012, 03:56 PM
  3. How can I calculate a weighted average in a Pivot Table?
    By petevang in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-23-2012, 12:56 PM
  4. [SOLVED] Weighted average among multi-category column
    By wildlifeduke in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-27-2012, 04:46 PM
  5. Weighted Average with NA...can't calculate
    By salmanjan in forum Excel General
    Replies: 5
    Last Post: 04-18-2008, 08:24 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