Highlight Cells

Pigeon

New Member
Joined
Nov 8, 2017
Messages
9
Dear Friends

A1 2
A2 3
A3 5

Cell A3 contains sum of cell A1 and A2.

What I want is that if i select (and not double-click) cell A3, all the cells involved in formula get highlighted.

In above case if i select A3, the cells involved in formula A1 and A2 get highlighted.

How?

Regards
Pigeon
INDIA
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Hi Joe

I know this method but my requirement is that by simple selection of the cell containing formula, all the dependent cells get highlighted.

Regards
 
Upvote 0
I think that is going to be some complex VBA code. A Google search does not appear to be returning anything anyone might have done to do this (though maybe I just haven't found it). If this is something you really want done, and cannot find anything on the internet, and cannot find anyone willing to write the needed advanced VBA code to do it (it might be beyond the scope of "free help"), it may be something that you might need to look at a Consultant to do.

I did come across this other method, which is much easier than the first I referenced. It simply involves hitting two keys when in your selected cell to highlight the dependents.
https://www.pcmag.com/article2/0,2817,2387013,00.asp
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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