+ Reply to Thread
Results 1 to 7 of 7

Complex Conditional Formatting

  1. #1
    Registered User
    Join Date
    03-30-2016
    Location
    2
    MS-Off Ver
    2010
    Posts
    26

    Complex Conditional Formatting

    I am trying to figure out a way to easily format parts of worksheet WSOC 1.0; specifically I want to Conditionally Format the % cells located in WSOC 1.0 D6:O6, etc. based off of information provided in tables within the Prilepin Worksheet. Basically, I want cells such as D6 to format based off of information entered in both Cells D6 and F4, with the formatting matching the cell color of the corresponding information contained within one of the many charts in Worksheet Prilepin.

    I have been attempting to use an INDEX MATCH MATCH of Prilepin AF2:DG15 to return the correct difficulty level to WSOC 1.0 C275:F327, and then applying conditional formatting rules based off of that returned value, but it is very tedious. I was hoping that there might be a simpler way to do this?

    Basically if WSOC 1.0 D6 is 88% and WSOC 1.0 F4 is 3, then the corresponding points in Prilepin show me that that would fall under category "Very Heavy". I want WSOC 1.0 D6 to format to the cell color Red in this case.

    Any ideas and help are appreciated.
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Complex Conditional Formatting

    Are you saying you want to use CF based on the color of another cell? If so, unless there was some logic behind how that other cell got it's color, a formula wont be able to do that for you. Color is cosmetic not data, and formulas work on data
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    03-30-2016
    Location
    2
    MS-Off Ver
    2010
    Posts
    26

    Re: Complex Conditional Formatting

    I want to CF cells based on a formula return from a cell in a different worksheet. You can see in WSOC 1.0 cell D275 that I have used
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    to pull information from Prilepin, and then am Conditionally Formatting WSOC 1.0 cell D6 to a specific color based off of what was returned in D275.

    I am seeking an easier/more efficient way to get this done, while potentially addressing some of the flaws with this method.

    I want to CF cells based off of a range of options where a search is conducted somewhere within Prilepin (and I may have to find a new way to format the chart/s here), and the return value impacts the CF of a different cell.

    I want to search within Prilepin for information contained in 2 separate cells in WSOC 1.0. In Prilepin, if Reps are the Y axis, and % is the X axis, I want to find the intercept of these two points. I then want to CF a cell based off of what that intercept cell contains. Furthermore, I would love it if the % axis did not have to be an exact match, but could round down to the nearest match if it doesn't match exactly.

    Does this clear things up?

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,572

    Re: Complex Conditional Formatting

    This may not be very much help, however it may stimulate further thoughts/solutions.
    As to being able to "round down" I turned the chart in Prilepin AG3:DG15 around so that the percentages are in ascending order. In this way you can change the formula in WSOC 1.0!D275 so that it reads:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Notice: that the value in WSOC 1.0!D6 is 82.0% which is correctly (I hope) being interpreted as Medium Heavy (for 3 reps) and given the darker green fill.
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Registered User
    Join Date
    03-30-2016
    Location
    2
    MS-Off Ver
    2010
    Posts
    26

    Re: Complex Conditional Formatting

    I think that we are on the right track, but there is still an issue somewhere. The formatting is not correct depending on the percentage, if it is too high or too low it doesn't show either an error, or the new formatting rule that I set for "TOO HEAVY" and "TOO LIGHT". I think that the rounding issue is figured out... just the formatting issue.

    I really want an easier way to auto-format all of those cells. It would be great if I could do it without the helper columns, but I am not sure if that is even close to possible.

    Maybe with VBA, but that is outside my wheelhouse.

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,572

    Re: Complex Conditional Formatting

    I have now included 'Too Heavy' and 'Too Light' formatting for cell D4. I am not sure of a way to get the CF to work other than 'helpers' or perhaps VBA, which outside of my wheelhouse also. I remember that a long time back a Dr. Boyd Epley at the University of Nebraska did a lot of work along the lines of Olympic style lifting and working with utilizing sets of differing degrees of difficulty, similar to what is described in the workbook and it seemed as if they did a lot of the record keeping on spreadsheets. It might be worth your time to get in touch and see if they have anything that would be helpful.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    03-30-2016
    Location
    2
    MS-Off Ver
    2010
    Posts
    26

    Re: Complex Conditional Formatting

    I appreciate the help, and will mark this thread as Solved. I am, ironically enough, using Epley's formula for the percentage charts in Prilepin, so I am very aware of him and his work. Thank you!

+ 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 do I do a complex conditional in a conditional formatting formula
    By Ray Stevens in forum Excel General
    Replies: 6
    Last Post: 03-12-2006, 06:30 PM
  2. complex?? Q about Conditional formatting
    By AngelaG in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 07:05 PM
  3. [SOLVED] complex?? Q about Conditional formatting
    By AngelaG in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 06:05 PM
  4. complex?? Q about Conditional formatting
    By AngelaG in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 PM
  5. [SOLVED] complex?? Q about Conditional formatting
    By AngelaG in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  6. complex?? Q about Conditional formatting
    By AngelaG in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  7. [SOLVED] complex?? Q about Conditional formatting
    By AngelaG in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM
  8. [SOLVED] complex?? Q about Conditional formatting
    By AngelaG in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-18-2005, 04:05 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