excel developer codes

Occasional Contributor

Hi, i have recently learnt how to enter a code in to the developer to enable the auto sum of cells with the same background colour. i was wondering if there is a code out there like this that will allow me to auto sum the cells with the same border colour. if so can you tell me the code or how to do it thanks  i dont know much about the developer side of things i just copied what a youtube tutorial said. thanks kelly

1 Reply
Hi Kelly,

Using formatting of cells to do calculations isn't a very good solution. It requires VBA programming which is not very easy to maintain unless you know what you are doing. It is better (and more efficient) to base your calculations on the content of the cells so you can use built-in functions like SUMIF, SUMIFS and their look-a-likes.
Related Conversations
@links .odc event tracking
Brent_Gamble in Excel on
0 Replies
Userform/Command Button to Appear in New Worksheet
Mr_Buttons in Excel on
2 Replies
Version 2001 Excel 365 and no Dynamic Arrays
MilesWilliams in Excel on
5 Replies
$ symbol changes format of cells automatically
gbetar01 in Excel on
2 Replies
Excel table formatting best practices question
Jerry1385 in Excel on
2 Replies