+ Reply to Thread
Results 1 to 7 of 7

Lookup based on conditional formatting?

  1. #1
    Registered User
    Join Date
    01-07-2011
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2003
    Posts
    28

    Lookup based on conditional formatting?

    Quote Originally Posted by Greg M View Post

    Take a look at the attached workbook.
    Column D contains the percentages which correspond to the options selected by the user.
    Cell D4 contains the maximum value of these percentages.
    Columns A and B are conditionally formatted so that the option and percentage cells corresponding to this maximum percentage are highlighted.
    Pressing the F9 key recalculates the various random numbers on the worksheet, and the appropriate option and percentage cells are again highlighted


    I hope I've understood your requirements and that this helps - please let me know how you get on.

    Regards,

    Greg M
    Now I need C5 to be populated with the highlighted result from Column A.
    Attached Files Attached Files
    Last edited by romperstomper; 07-08-2011 at 05:33 PM. Reason: Mark solved

  2. #2
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Lookup based on conditional formatting?

    In C5 use:

    Please Login or Register  to view this content.
    Cheers,
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  3. #3
    Registered User
    Join Date
    01-07-2011
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2003
    Posts
    28

    Re: Lookup based on conditional formatting?

    Quote Originally Posted by ConneXionLost View Post
    In C5 use:

    Please Login or Register  to view this content.
    Cheers,
    Thank you. That worked, but my issue has become more complicated.

    I now need to keep the data in Column C, add new columns, and have columns A & B randomized/highlighted based on the data populated ("x") in the rightward most column.

    Please see attached. In this example, C5, D5, and E5 would be populated based on the index formula and would hold their relevant options.

    There may even be an easier way to accomplish this, I just want to avoid having the user clear out the X's in each subsequent column.
    Attached Files Attached Files

  4. #4
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Lookup based on conditional formatting?

    himey77,

    Is this what you intend?
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    01-07-2011
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2003
    Posts
    28

    Re: Lookup based on conditional formatting?

    Quote Originally Posted by ConneXionLost View Post
    himey77,

    Is this what you intend?
    Unfortunately, not. I need the "Chosen SPP" field to be locked in once data is added to the next column. For example, once the user has acheived a result in C5, that result will be locked into C5. The user will then move on to Column D, select their options and acheive a result in D5. That result will be lock into D5. The user will then move on to Column E... etc. etc.

  6. #6
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Lookup based on conditional formatting?

    From the first post:
    Quote Originally Posted by Greg M View Post
    ...Pressing the F9 key recalculates the various random numbers on the worksheet, and the appropriate option and percentage cells are again highlighted...
    The RAND() function will give you a new set of data every time the spreadsheet recalculates. As long as you're relying on the RAND() function as the source of your data, it will place the problem of "locking in" the selected values well beyond the capabilities of any LOOKUP formula or conditional format solution. Especially if you intend to do this with multiple examples.

    I recommend you begin a new thread with the suggested title of: "VBA method of copying values from RAND() to a range based on values in another range".

    Hopefully one of the VBA experts here can help you.

    Good luck,

  7. #7
    Registered User
    Join Date
    01-07-2011
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2003
    Posts
    28

    Re: Lookup based on conditional formatting?

    Quote Originally Posted by ConneXionLost View Post
    From the first post:

    I recommend you begin a new thread with the suggested title of: "VBA method of copying values from RAND() to a range based on values in another range".

    Hopefully one of the VBA experts here can help you.

    Good luck,
    I will do just that. Thank you for your help!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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