Question : Displaying the color index of a cell

Want i'm trying to accomplish is:
In column A I have multiple cells with different colors in them in column B I wanted the color index of each colored cell, for example.
If column A cell A1 is red I wanted in column B, B1 to display 3 and so on.

Answer : Displaying the color index of a cell

You can use XLM and range name workarounds for this (ie no VBA)
  1. Select Cell B1 
  2. Insert a range name
     
          CellColour
=GET.CELL(63,A1)
      3. in B1 put  =CellColour+RAND()*0
      4. copy down

see attached file

     

 
folours
 
Random Solutions  
 
programming4us programming4us