IF a cell is shaded?

billyphatu

New Member
Joined
Mar 7, 2019
Messages
1
Hello,
Long time lurker - thanks for all the great solutions and tips that I have harvested from this forum so far.

My question is: Is it possible to use use the IF function to react to whether a cell is shaded, and shaded a certain colour?

Context: I have a budget template document with many cost lines across several sheets. I have a particular budget that is shared with another party. The other party is responsible for covering certain specific costs, and so to identify those costs, I have highlighted them all by shading the appropriate cell with a consistent colour. Now what I would like to do is to gather all of those figures in one place for a total of just those expenses.

Or, is there another way to do this that doesn't involve shading?

Thanks for all advice.
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
With a simple IF...No !
But you could use VBA to put all of those lines onto a seperate sheet to give to the other party, OR do calculations with !
If this was an option you would need to provide cell color, the column the colored cells were in AND which sheets held these colors, unles of course you simply wanted to check ALL sheets.
 
Last edited:
Upvote 0
Formula(s) may be possible - depends upon the criteria for shading.
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,241
Members
452,622
Latest member
Laura_PinksBTHFT

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