highlight the whole row based on a max value in column c + shortcut to refresh a sheet

INN

Board Regular
Joined
Feb 3, 2021
Messages
123
Office Version
  1. 365
Platform
  1. Windows
Hi
I have this table and what I want to do is 2 things

1) based on the highest %change value, I want to highlight the whole row corresponding to that value in different color.
So I did this formula but it is just highlighting the value in %change column.

=A2=MAX($C$2:$C$6)

By the way, I entered stock symbols and then used Data-->Stock option to enter the High and the %Change for each stock.

2) What is easiest way to refresh a sheet so the values in my sheet will be refreshed. I tried
CTRL+ALT+F5 and it did the job but can I create a short cut or a button in macro maybe to do that? Thank you very much

1.xlsx
ABC
1Stock NameHigh% Change
2SKYWORKS SOLUTIONS, INC. (XNAS:SWKS)$ 96.99-0.28%
3ADVANCED MICRO DEVICES, INC. (XNAS:AMD)$ 79.23-0.36%
4NVIDIA CORPORATION (XNAS:NVDA)$ 172.170.87%
5AMAZON.COM, INC. (XNAS:AMZN)$ 97.23-0.16%
6MICROSOFT CORPORATION (XNAS:MSFT)$ 256.12-0.86%
Sheet4
Cell Formulas
RangeFormula
B2:B6B2=A2.High
C2:C6C2=A2.[Change (%)]
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:C6Expression=A2=MAX($C$2:$C$6)textNO
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
You would need to use
Excel Formula:
=$C2=MAX($C$2:$C$6)
What is wrong with using Ctrl Alt F5, it is a shortcut.
 
Upvote 0
Solution
Thank you very much. That works. Thanks. I thought I can create a button (Developer-->Insert-->Form Controls-->Button) and assign CTRL+ALT+F5 to that button (just faster). Thank you again.
 
Upvote 0
Glad to help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,231
Messages
6,170,884
Members
452,364
Latest member
springate

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top