Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8885975
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T21:26:40+00:00 2026-06-14T21:26:40+00:00

How do I determine the color of a cell equal to another, example: A4

  • 0

How do I determine the color of a cell equal to another, example:
A4 is then C2 is cyan color cyan.
A2 is then C2 orange color is orange.
enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T21:26:41+00:00Added an answer on June 14, 2026 at 9:26 pm

    There is no excel-formula to get you the color of a cell, nor is there one, to set the color of a different one.

    However, you can make a function to get the color of a specific cell – or, like in my example, the color of the function-calling cell:

    Public Function GetColor()
        Dim rng As Range
    
        If TypeName(Application.Caller) = "Range" Then
            Set rng = Application.Caller
        End If
        GetColor = rng.Cells.Interior.Color
    End Function
    

    Now you might, think, ok then I modify this, just to SET the color too. But no – does not work that way. In order to change a cells color, you would have to use Worksheet_Change event and setup each cell to the long value inside them as their color.

    Target.Interior.Color = Target.Value
    

    Would be the line for that, when using Worksheet_Change.

    You can of course use ColorIndex as well – just adapt accordingly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i'm trying to determine if a color has been supplied as an optional argument
I know you can programmatically determine the tranparency color of a .gif Is there
let's say that I have a HEX color #a08040. How can I determine in
My aim is to determine the color of object. And make a classification, for
Is it possible to use javascript to determine what color is one shade darker
I need to determine the amount/quality of color in an image in order to
How can I programatically determine what the background color of my portlet will be
I have the following working code that uses Knockout to determine what color to
I search a way to determine the real visible color of page elements. If
Duplicate How do I adjust the brightness of a color? How do I determine

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.