Highlighting an appropriate line

stepan1987

Board Regular
Joined
May 6, 2011
Messages
92
Hi guys,
I have a sheet with raw data and another one - with formulas that reflect MINs, MAXs and different VLOOKUPs from the first sheet.

I want some tool that would enable me doing the following:

On sheet 2 I have a formula that reflects the MIN / MAX from column G on sheet 1. I want the row containing this MAX on sheet 1 somehow highlighted. For example, i click on the formula / or input cell address somewhere and automatically get the sheet 1 open with the needed row highlighted.

Hope there is a way

Thanks in advance!
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Here is some code that I use to find/highlight rows by using an input box, you may be able to adapt it to suit your needs
Code:
Sub find_highlight()
Range("A4:IV3140").Select
Selection.Interior.ColorIndex = xlNone
Range("A4").Select
w = InputBox("What to find?")
Cells.Find(What:=(w), After:=ActiveCell, LookIn:=xlFormulas, _
LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False).Activate
With Selection.EntireRow.Interior
.ColorIndex = 6
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
End With
End Sub

HTH
Colin
 
Upvote 0

Forum statistics

Threads
1,224,542
Messages
6,179,424
Members
452,914
Latest member
echoix

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