Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-07-2021, 06:16 PM
trevorc trevorc is offline SUM formula using text colours Windows 7 32bit SUM formula using text colours Office 2013
Competent Performer
SUM formula using text colours
 
Join Date: Jan 2017
Posts: 174
trevorc will become famous soon enoughtrevorc will become famous soon enough
Default SUM formula using text colours

Hi All,


Is it possible to use the text colour of a cell in a range of cells to add the value or not.

I.E. if the cell text colour is RED then don't add the value, if the cell text colour is green add the value.

What i'm trying to do is have cells filled with expected revenue and when an item is sold to change the colour of the text indicating it is sold and to add it to the totals cell at the end of the row.

Any ideas or push in the right direction is always helpful.

regards
Trevor
Reply With Quote
  #2  
Old 07-07-2021, 09:25 PM
Purfleet Purfleet is offline SUM formula using text colours Windows 10 SUM formula using text colours Office 2019
Expert
 
Join Date: Jun 2020
Location: Essex
Posts: 345
Purfleet is a splendid one to beholdPurfleet is a splendid one to beholdPurfleet is a splendid one to beholdPurfleet is a splendid one to beholdPurfleet is a splendid one to beholdPurfleet is a splendid one to beholdPurfleet is a splendid one to behold
Default

It can be done fairly easily with vba my looking at each cell information in a range and then just adding up, but i a fairly sure there is no straightforward way with a formula.

How were you planning on colouring the cells? Manually or with Conditional formatting?

If you are going to have conditional formatting it will need to have a rule (minus sign or sell etc) and if that is the case this is a much more reliable way of counting

If manual we need to ask the question of 'what is green'? is it the dark green or olive green or another shade

Adding a workbook is always a help
Reply With Quote
  #3  
Old 07-08-2021, 09:19 PM
trevorc trevorc is offline SUM formula using text colours Windows 7 32bit SUM formula using text colours Office 2013
Competent Performer
SUM formula using text colours
 
Join Date: Jan 2017
Posts: 174
trevorc will become famous soon enoughtrevorc will become famous soon enough
Default

No worries, i was hoping for a formula solution not VBA, i have seen various ways to use VBA to do it.
Thanks anyway.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with Formula to extracting text from text string Haha88 Excel 7 01-13-2019 01:33 AM
SUM formula using text colours Help with Formula to extracting text from text string Haha88 Excel 9 02-05-2018 01:04 AM
Formula to Extract text from a text string Haha88 Excel 2 11-14-2017 01:32 AM
SUM formula using text colours Typing lines of text with alternating font colours Philip Word 2 03-01-2016 03:19 PM
Font Colours fred bionics PowerPoint 1 10-18-2009 09:53 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:49 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft