How to make SUM function if red marked text? I am using Excel 2007.
How to make SUM function if red marked text? I am using Excel 2007.
what doesmeanred marked text
is that if the font colour is RED
if so why is it red , is that because its a negative value , as in some financial formatting / number formatting
you can use a SUMIF - and only include numbers >0
=SUMIF( range , ">"&0 )
otherwise if just a red font manually entered , then i suspect you will need VBA - which i do not provide answers for
The forum does allow for spreadsheets to be uploaded direct to the forum -
Please see the Yellow Banner at the top of the page explaining how to attach a sample spreadsheet
A good sample workbook has just 10-20 rows of representative data that has been desensitised. The sample layout accurately matches that of your real data. It also has expected results mocked up, worked examples where required, relevant cells highlighted and a few explanatory notes.
Here are the instructions, found at the top of the page again
HOW TO ATTACH YOUR SAMPLE WORKBOOK:, Fast answers need clear examples. Post a small Excel sheet (not a picture) showing realistic & representative sample data WITHOUT confidential information (10-20 rows, not thousands...) and some manually calculated results. For a new thread (1st post), scroll to Manage Attachments, otherwise scroll down to GO ADVANCED, click, and then scroll down to MANAGE ATTACHMENTS and click again. Now follow the instructions at the top of that screen.
Wayne
if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here
If you have a solution to your thread - Please mark your thread solved do the following: >
Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.
Text is only red marked not negative values.
Is the formatting applied MANUALLY? If so, then you'll need VBA.
Cell formatting cannot be referenced in a formula.
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
thanks
as said
other members with VBA may help hereotherwise if just a red font manually entered , then i suspect you will need VBA - which i do not provide answers for
Please see yellow banner at top of page on how to attach a sample workbook.
Example code ....
Please Login or Register to view this content.
Last edited by JohnTopley; 04-16-2024 at 09:55 AM.
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks