+ Reply to Thread
Results 1 to 5 of 5

Formula that recognises coloured values?

  1. #1
    Registered User
    Join Date
    03-27-2015
    Location
    UK
    MS-Off Ver
    2007
    Posts
    13

    Formula that recognises coloured values?

    Hi All,

    Is there a formula that can recognise the colour of a cell value and then calculate only them values?

    So for example:

    In Column A - I have text which might say 'REBATE' or 'BASIC' from row1-20
    In Column B - I have a list of numbers, So if A1 = 'REBATE' the number in B1 changes to red. But if A1 = 'BASIC' the number in B1 stays black

    Then in D1 i want to have a formula which calculates all the red values in Column B Row1-20

    can this be done?

    any help/advise appreciated

    regards.

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Formula that recognises coloured values?

    Try

    =SUMIF(A1:A20,"Rebate",B1:B20)

  3. #3
    Valued Forum Contributor
    Join Date
    04-12-2012
    Location
    India
    MS-Off Ver
    Excel 2007, 2010, 2013, 2016, 2019, Office 365, Google Spreadhsheet
    Posts
    640

    Re: Formula that recognises coloured values?

    Try the attachment..
    Attached Files Attached Files
    Thanks,
    Anil Dhawan


    Click *Add Reputation to say "Thanks" and don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved) if you are satisfied.

    Don't stop when you are tired. STOP when you are done!

  4. #4
    Registered User
    Join Date
    03-27-2015
    Location
    UK
    MS-Off Ver
    2007
    Posts
    13

    Re: Formula that recognises coloured values?

    Quote Originally Posted by adhawan06 View Post
    Try the attachment..
    Thankyou, that works great

  5. #5
    Valued Forum Contributor
    Join Date
    04-12-2012
    Location
    India
    MS-Off Ver
    Excel 2007, 2010, 2013, 2016, 2019, Office 365, Google Spreadhsheet
    Posts
    640

    Re: Formula that recognises coloured values?

    Glad it worked!!!

    and Thanks for adding reputation .

+ 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. Convert a string to a TextBox name that VBA recognises
    By Ian Fraser in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-24-2014, 05:56 PM
  2. How can I count coloured cells (coloured using Conditional Formatting)
    By franfry in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-15-2013, 02:40 PM
  3. Pop Up Box that recognises the Windows User Logged On
    By krishatherley in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-19-2009, 09:12 AM
  4. sum values that are coloured in red
    By stevekirk in forum Excel General
    Replies: 7
    Last Post: 10-04-2006, 05:12 AM
  5. Replies: 1
    Last Post: 08-03-2006, 08:25 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