+ Reply to Thread
Results 1 to 2 of 2

Formula based off cell colors / conditional formatting?

Hybrid View

dsciola Formula based off cell colors... 07-30-2013, 02:20 AM
humdingaling Re: Formula based off cell... 07-30-2013, 03:48 AM
  1. #1
    Registered User
    Join Date
    08-24-2012
    Location
    Seattle, WA
    MS-Off Ver
    Office 2013
    Posts
    55

    Formula based off cell colors / conditional formatting?

    Question on using formula's with cell formatting.


    Say I have a list of companies and all those in red cells are considered 'tech' companies, whereas all those in blue are considered 'health-care' companies.

    Can I create a formula in another tab that will give read 'tech' or 'health-care' in a cell based on the other tab's color?


    Please see spreadsheet for more clarity.

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Formula based off cell colors / conditional formatting?

    not with regular formulas
    heres UDF example

    Function UDF(Target As Range)
    
        UDF = Replace(Target.Formula, "=", "")
        UDF = Range(UDF).Interior.ColorIndex
    End Function
    Attached Files Attached Files
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

+ 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] Conditional Formatting with colors based on date value
    By ashwin639 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-28-2013, 03:52 AM
  2. [SOLVED] Conditional Formatting to turn cell different colors
    By blackshag in forum Excel General
    Replies: 5
    Last Post: 11-02-2012, 07:52 PM
  3. Replies: 1
    Last Post: 08-20-2012, 10:36 PM
  4. Copying Conditional Formatting Colors from a Cell
    By Ridgebacks in forum Excel General
    Replies: 3
    Last Post: 10-12-2007, 07:31 PM
  5. Replies: 2
    Last Post: 08-10-2005, 11:05 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