Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Adding figures in excel if text is a certain colour
I have a spreadsheet with a lot of figures in it that
evolves on a monthly basis. When the figures are added each month the figures are changed in colour from red to blue to denote going from budget costs to actual costs. I want excel to sum the figures based on colour. How can it be done. I have looked at the IF statement, but not sure. Thanks in advance Paul |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Adding figures in excel if text is a certain colour
Paul,
You need to use some VBA code to do this. See www.cpearson.com/excel/colors.htm for example code, specifically SumByColor. -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "vipa2000" wrote in message ... I have a spreadsheet with a lot of figures in it that evolves on a monthly basis. When the figures are added each month the figures are changed in colour from red to blue to denote going from budget costs to actual costs. I want excel to sum the figures based on colour. How can it be done. I have looked at the IF statement, but not sure. Thanks in advance Paul |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Adding figures in excel if text is a certain colour
Managed to integrate and on initial input works fine, however the cell
does not update automatically as I update colours of the cells. What am i doing wrong? thanks in advance Paul *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Adding figures in excel if text is a certain colour
Absolutely nothing wrong. Read that big note at Chip's site once more.
http://www.cpearson.com/excel/colors.htm It's right near the top. Paul Walker wrote: Managed to integrate and on initial input works fine, however the cell does not update automatically as I update colours of the cells. What am i doing wrong? thanks in advance Paul *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! -- Dave Peterson |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
Adding figures in excel if text is a certain colour
Thanks chaps. ALT F9 to recalculate. No other way around this but it
works! Got too carried away in my excitement that I had an answer and did not fully read to the end of the document :-) *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Adding custom colour palette in excel | Excel Discussion (Misc queries) | |||
Adding by font colour in Excel | Excel Worksheet Functions | |||
Excel is not adding up figures correctly | Excel Discussion (Misc queries) | |||
Excel, adding figures from one cell to a summary sheet or workbook | Excel Discussion (Misc queries) | |||
Adding figures of only one colour | Excel Discussion (Misc queries) |