+ Reply to Thread
Results 1 to 4 of 4

Organizing rows by number of correct conditions met.

  1. #1
    Registered User
    Join Date
    12-23-2015
    Location
    San Diego, California
    MS-Off Ver
    Google Spread
    Posts
    2

    Organizing rows by number of correct conditions met.

    This week, i set up a form for people to submit entries on who they think will win each game of the 2015 week 15 NFL match ups.

    The match ups go by column, starting in 2 and ending in 159.

    The rows, which have all the entries for each game by a specific user, go from B to Q.

    I have conditions set for each column of match ups, color coding the correct team, and incorrect team.

    Now i'd like to be able to re-organize each row from the highest number of correct game selections to the lowest, without having to tediously count it 158 times.

    All the correct game winners are the same color in each column and row.

  2. #2
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Organizing rows by number of correct conditions met.

    Use a formula in R to compare the predictions in B:Q to the actual results and count the number of correct matches, similar to the method that you have probably used to set up the color coding conditions.

    You should then be able to use the integrated sort function on R to organise the sheet as required.

  3. #3
    Registered User
    Join Date
    12-23-2015
    Location
    San Diego, California
    MS-Off Ver
    Google Spread
    Posts
    2

    Re: Organizing rows by number of correct conditions met.

    I set up the color coding conditions by just opening up a new condition, inputting the range, and put a green background color for each winning team and a red background color for each losing team, i didn't use a formula for that part.

    I do not know a formula i could use that will count the number of the specific background color per row.

  4. #4
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Organizing rows by number of correct conditions met.

    Assuming that the correct winning teams to compare to are in row 1, something like

    =SUMPRODUCT(--(B$1:Q$1=B2:Q2))

    Entered into R2 and filled down.

    Without more detail on the exact layout of your sheet, or a sample version to look at, all I can provide are suggestions based on what I think you might have.

+ 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] How to get the correct result after considering a number of conditions
    By mehmetics in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 12-30-2014, 04:35 PM
  2. [SOLVED] Organizing Data Based On Conditions
    By triphex in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-08-2013, 08:29 AM
  3. Count number of rows that meet two conditions
    By travisg in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-18-2013, 12:20 PM
  4. How to only count the number of visible rows that meet 2 conditions
    By chaz123 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-04-2013, 10:15 AM
  5. [SOLVED] Formula with ROWS Function appears not to return correct number of rows
    By rzw30 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-22-2013, 07:05 AM
  6. Replies: 1
    Last Post: 09-17-2012, 09:35 AM
  7. Merging the correct number of cell rows to fit a string of wrapped text
    By iterature in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-28-2007, 02:15 PM

Tags for this Thread

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