+ Reply to Thread
Results 1 to 6 of 6

How to make SUM function if red marked text?

  1. #1
    Forum Contributor
    Join Date
    02-02-2008
    Location
    EU
    MS-Off Ver
    MS Excel 2007 Professional version
    Posts
    214

    How to make SUM function if red marked text?

    How to make SUM function if red marked text? I am using Excel 2007.

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: How to make SUM function if red marked text?

    what does
    red marked text
    mean
    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.

  3. #3
    Forum Contributor
    Join Date
    02-02-2008
    Location
    EU
    MS-Off Ver
    MS Excel 2007 Professional version
    Posts
    214

    Re: How to make SUM function if red marked text?

    Text is only red marked not negative values.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,987

    Re: How to make SUM function if red marked text?

    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.

  5. #5
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: How to make SUM function if red marked text?

    thanks
    as said
    otherwise if just a red font manually entered , then i suspect you will need VBA - which i do not provide answers for
    other members with VBA may help here

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,215

    Re: How to make SUM function if red marked text?

    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.
    Attached Files Attached Files
    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.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Help making marked cell stay put while i sort list taking info from marked cells.
    By The_Sunken_Swede in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 05-18-2023, 09:11 AM
  2. Sum between rows marked with text
    By glenn0004 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-14-2015, 09:50 AM
  3. [SOLVED] Format parts of text marked with $
    By Hitch75 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-29-2014, 11:49 AM
  4. Replies: 5
    Last Post: 12-24-2012, 05:25 AM
  5. Replies: 1
    Last Post: 10-17-2009, 02:23 AM
  6. Work marked late -Either VBA or Worsheet function?
    By Big Dog Dad in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 12-31-2006, 09:27 PM
  7. Marked text in TextBox!
    By separator in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-20-2005, 05:04 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1