VBA to colour cells that link elsewhere

SquareHouse

New Member
Joined
Apr 26, 2021
Messages
4
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hello everyone,

I have a sheet with amounts of historical data that then feeds to another sheet where the calculation/modelling then happens. Much of the data in the "data" sheet is never actually pulled into the modelling sheet and I would like to get an idea of which cells in the data sheet are actually used. Given I have many of these excels and many of the data tabs are thousands of lines long its not something I can envisage doing manually..... I wonder if there is a VBA script that I could use to quickly colour any cell in the "Data" tab that is then sourced by any other sheet?

Thanks
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Hi,​
or faster than coloring cells may be the use of a helper column with a formula returning TRUE or FALSE according if the cells match …​
This formula can be used as well in some conditional formatting in order to change the cell color.​
But the more cells using such formatting, the worksheet becomes heavy and that may slow down usual operations​
so it depends of the rows # within this worksheet …​
 
Upvote 0
tricky if the cells have very common data points where the value is the same but isn'
t the actual source). Useful quick and dirty first solution though, thanks
 
Upvote 0

Forum statistics

Threads
1,214,987
Messages
6,122,618
Members
449,092
Latest member
amyap

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