+ Reply to Thread
Results 1 to 11 of 11

Conditional Formatting Rows, and Matching and Sorting Two Sets of Data

  1. #1
    Registered User
    Join Date
    08-18-2013
    Location
    New Zealand
    MS-Off Ver
    2013
    Posts
    65

    Question Conditional Formatting Rows, and Matching and Sorting Two Sets of Data

    Hi

    I want to match and sort two groups of data as shown in the ‘Before’ and ‘After’ worksheets in the attachment.

    Basically, there are twenty students in a class with related information (ID, Gender and Tutor).

    At Checkpoint 1, tutors provide a Projected Mark based on the students’ performance to date. This data is sorted by the Projected Mark and colour coded. At Checkpoint 2 tutors provide a revised Projected Mark based on the students’ progress. This data is also sorted by Projected Mark and colour coded. See the ‘Before’ worksheet for details.

    I want to be able to keep the Checkpoint 1 data as is and move the Checkpoint 2 data so that it is in line with the ID in Checkpoint 1. See the ‘After’ worksheet for details.

    Can someone please provide me with:
    1. A formulae for Conditional Formatting that colour codes rows according to the Projected Mark (Red is < 40, Orange is ≥ 40 and ≤ 79, Light Green is ≥ 80 and ≤ 119, Dark Green ≥ 120).
    2. A formula that will enable me to move the Checkpoint 2 data so that it is in line with the ID in Checkpoint 1

    Thanks in advance and looking forward to seeing your responses

    Alan

  2. #2
    Registered User
    Join Date
    09-06-2013
    Location
    Winterville, NC, USA
    MS-Off Ver
    Excel 2013
    Posts
    23

    Re: Conditional Formatting Rows, and Matching and Sorting Two Sets of Data

    it will take 3 rules to do the conditional formatting you are requesting first click the use a formula to determine which cells to format option

    first rule =$E3<40 click format and pick your color
    2nd rule =AND(($M3>39),($M3<80)) click format and pick your color
    3rd rule =AND(($M3>79),($M3<120)) click format and pick your color

    Below is a suggested way to keep the students grades together regardless of scores.
    A B C D E F G
    2 ID Student Gender Tutor Proj Mark 1 Proj Mark 2 Proj Mark 3
    3 114 Student 6 M ARC 22 45 56
    in this example those formulas would be placed on cells E3 down to E22 and F3 down to F22 etc
    (format painter to copy and paste formulas so you do have to do a lot of typing)
    by doing it this way you have several options freeze frame column D so you will scroll between the scores with cells a3 - D3 always being seen.

    hope that helps

  3. #3
    Registered User
    Join Date
    08-18-2013
    Location
    New Zealand
    MS-Off Ver
    2013
    Posts
    65

    Re: Conditional Formatting Rows, and Matching and Sorting Two Sets of Data

    Thanks Slasherdan

    I can see how the formulae will work for the conditional formatting the cell. How can I get it to colour the row?

    The data for Checkpoints 1 and 2 are entered at different times into a database, then downloaded into a spread. So I need a formula that will match the IDs then move the Checkpoint 2 data so that it is inline with Checkpoint 1 data.

  4. #4
    Registered User
    Join Date
    06-30-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    70

    Re: Conditional Formatting Rows, and Matching and Sorting Two Sets of Data

    I think u want these type of conditional formatting check this out.....
    i did conditional formatting in before sheet....



    Conditional Formatting Rows, and Matching and Sorting Two Sets of Data.xlsx

  5. #5
    Registered User
    Join Date
    08-18-2013
    Location
    New Zealand
    MS-Off Ver
    2013
    Posts
    65

    Re: Conditional Formatting Rows, and Matching and Sorting Two Sets of Data

    pwnyadav007

    Thanks for trying. Unfortunately, there's no formulae in the before sheet.

  6. #6
    Registered User
    Join Date
    06-30-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    70

    Re: Conditional Formatting Rows, and Matching and Sorting Two Sets of Data

    i had done conditional formatting in it, when u change to marks of student it will automatically change its color according to ur condition which u provide

    1. A formulae for Conditional Formatting that colour codes rows according to the Projected Mark (Red is < 40, Orange is ≥ 40 and ≤ 79, Light Green is ≥ 80 and ≤ 119, Dark Green ≥ 120).

  7. #7
    Registered User
    Join Date
    08-18-2013
    Location
    New Zealand
    MS-Off Ver
    2013
    Posts
    65

    Re: Conditional Formatting Rows, and Matching and Sorting Two Sets of Data

    Yes you have, thanks.

    Now are you able to complete the second part of my challenge, which is to be able to produce a formula that will enable me to move the Checkpoint 2 data so that it is in line with the ID in Checkpoint 1?

  8. #8
    Registered User
    Join Date
    06-30-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    70

    Re: Conditional Formatting Rows, and Matching and Sorting Two Sets of Data

    then check this i hide ur Checkpoint 2 and create a new checkpoint using formula
    hope this will help



    Conditional Formatting Rows, and Matching and Sorting Two Sets of Data (1).xlsx

  9. #9
    Registered User
    Join Date
    08-18-2013
    Location
    New Zealand
    MS-Off Ver
    2013
    Posts
    65

    Re: Conditional Formatting Rows, and Matching and Sorting Two Sets of Data

    Cool! I'll try it out on some other data tomorrow and let you know how it goes.

    Thank you.
    Last edited by Alan L 185; 09-07-2013 at 03:31 AM.

  10. #10
    Registered User
    Join Date
    06-30-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    70

    Re: Conditional Formatting Rows, and Matching and Sorting Two Sets of Data

    Take this file in this file just put the data in before sheet( both checkpoint 1 and 2) and see the result in After sheet I hv also protect the data in after sheet so no one manipulate that
    passwrd is 123


    Conditional Formatting Rows, and Matching and Sorting Two Sets of Data (1).xlsx

  11. #11
    Registered User
    Join Date
    08-18-2013
    Location
    New Zealand
    MS-Off Ver
    2013
    Posts
    65

    Re: Conditional Formatting Rows, and Matching and Sorting Two Sets of Data

    pwnyadav007

    I want to thank you very much for helping me. Both formulae have worked well on the actual data.

    This provides me with a great tool to help my students.

    All the very best

    Alan L

+ 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. Matching two data sets
    By Lostinspreads in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-24-2013, 12:05 PM
  2. [SOLVED] Conditional formatting using Icon sets (comparing data to data in array)
    By darth.dims in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 12-27-2012, 05:36 AM
  3. Sorting sets of rows based on cell
    By mpkavanagh in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 02-17-2011, 11:35 AM
  4. Conditional Formatting with different sheets (Matching data/lookup)
    By Elegidos in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 10-11-2009, 09:07 AM
  5. Matching two sets of Data
    By ikflash in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-18-2008, 03:32 AM

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