+ Reply to Thread
Results 1 to 4 of 4

Randomize and highlight cell/value

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

    Randomize and highlight cell/value

    Please see the attached worksheet.

    Our company needs to randomly choose from the options listed in Column A. The user will put X's (ticks) next to the applicable options (Column C in the example. Option 1, Option 4, and Option 7 are "selected"). They will then select the Option from Column A that has the highest value/percentage.

    I was wondering if there is a cleaner way to randomly choose from designated options in Column A and have Excel highlight the highest value.

    Anyone have a better idea for how to accomplish this?
    Attached Files Attached Files
    Last edited by himey77; 02-21-2011 at 10:13 AM.

  2. #2
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481

    Re: Randomize and highlight cell/value

    Hi there,

    Take a look at the attached workbook. I may have totally misunderstood your requirements, but sheet one seems to do what I think you're looking for.
    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
    Attached Files Attached Files

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

    Re: Randomize and highlight cell/value

    That's EXACTLY what I needed!

    Thank you so much!

  4. #4
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481

    Re: Randomize and highlight cell/value

    Hi again,

    Many thanks for your feedback - glad I was able to help.

    Regards,

    Greg M

+ 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