+ Reply to Thread
Results 1 to 4 of 4

Win/Loss Formula Based on Highest Number in each Row

  1. #1
    Registered User
    Join Date
    03-04-2023
    Location
    Oregon
    MS-Off Ver
    365
    Posts
    27

    Win/Loss Formula Based on Highest Number in each Row

    For C20 (Blue Win Cell) to count a Win

    Cell C2 (Blue 2.3 Cell) has to be

    Greater than the other colored cells (C-G Row 3) Horizontal to it

    Else it should calculate as a loss

    at cell C21


    Example:

    For Blue to be a win:
    The Orange, Yellow Purple, Red (Horizontal to Blue)
    Must individually be less than Blue

    For Orange to be a win:
    Blue, Yellow, Purple, Red (Horizontal to Orange)
    Must individually be less than Orange

    For Yellow to be a win:
    Blue, Orange, Purple, Red (Horizontal to Yellow)
    Must individually be less than Yellow

    For Purple to be a win:
    Blue, Orange, Yellow, Red (Horizontal to Purple)
    Must individually be less than Purple

    For Red to be a win:
    Blue, Orange, Yellow, Purple (Horizontal to Red)
    Must individually be less than Red

    For the example in the spreadsheet Column E (Yellow) Should count the win from Row 3 to cell E20 because it has the highest number within the row it is in

    Test_01.xlsx

    I did post at the below forum but for some reason someone thought it was a duplicate but was not. (Update: it was because it was crossed posted without reference as I was unaware of the requirement but is still locked out).
    It is a request for a new formula based on different criteria for how the data needs to be grabbed, sorted, and calculated

    Please Login or Register  to view this content.
    Sorry for the code wrap but the forum will not allow links since I just joined.
    Last edited by FXA; 03-04-2023 at 11:47 AM. Reason: Referencing

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,926

    Re: Win/Loss Formula Based on Highest Number in each Row

    I think this is what you want.

    The formula in column J finds the column position of the winning color. It does not break ties. It finds only the first of the highest score.

    Then the wins / losses are calculated with countifs formulas.
    Attached Files Attached Files
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Registered User
    Join Date
    03-04-2023
    Location
    Oregon
    MS-Off Ver
    365
    Posts
    27

    Re: Win/Loss Formula Based on Highest Number in each Row

    That sounds right. I'll test it out, thank you

  4. #4
    Registered User
    Join Date
    03-04-2023
    Location
    Oregon
    MS-Off Ver
    365
    Posts
    27

    Re: Win/Loss Formula Based on Highest Number in each Row

    That works great, thank you!
    Last edited by FXA; 03-05-2023 at 12:46 PM.

+ 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 profit & loss based off of win/loss numbers
    By CNL1982 in forum Excel General
    Replies: 3
    Last Post: 01-09-2023, 08:04 AM
  2. Profit Loss Formula Based on Negative Number (Stock Related)
    By cloves in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-18-2022, 10:18 AM
  3. Help with win loss and tie column & adding profit based on win or loss.
    By schroeder641 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-25-2016, 03:41 PM
  4. [SOLVED] Formula to report most popular product based on highest number of orders
    By lloydrees88 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-09-2015, 08:16 AM
  5. Replies: 3
    Last Post: 07-03-2012, 09:09 PM
  6. Replies: 3
    Last Post: 04-03-2012, 02:52 PM
  7. VBA code to find highest and 2nd highest number based in criteria
    By Michael007 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-25-2011, 08:38 AM

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