Skip to Content
author's profile photo Former Member
Former Member

HighLight Max Value in a row of data

How can I highlight the max value in each row of data

Month Col1 Col2 Col3

Jan 12 21 6 I want to highlight the 21

Feb 9 32 45 I want to highlight the 45

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Jul 28, 2016 at 03:37 AM

    Hi David,

    1) Create a formula with this code and place it anywhere on the Details Section:

    shared Numbervar array x := [{Col1},{Col2}, {Col3}];

    '';

    2) Right-click Col1 > Format Field > Border tab > Click the formula button beside 'Background' and paste this code:

    shared Numbervar array x;

    if CurrentFieldValue = Maximum(x) then

    crYellow

    else

    crNoColor

    3) Highlight Col1 > Double-click the Format Painter icon on the toolbar (It looks like a paint brush) > Apply the brush on Col2 and then on Col3. This should apply the same formatting formula on the other columns as well.

    -Abhilash

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.