Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 61
Default Return the color of a cell

Hi all. I have a workbook that contains over hundred rows. Each row has a
colour indicating what worksheet it relates to. In a column at the end of
the worksheet I would like to add a number that represents that colour so I
can then filter by number (tried filtering by color but that was too much
hard work). The workbook changes daily so doing it manually is a pain in the
backside. I have searched the net and found VBA codes (which I would prefer
not to use if possible) and came across this
To get the colorindex of a specific cell, simply use (this is from
xlDynamic.com)
=ColorIndex(A1)
I paste this into a cell and reference it correctly but it keeps coming up
#NAME? any ideas.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Return the color of a cell

Install the VBA function at the bottom the the webpage.
--
Gary''s Student - gsnu200768


"Woodi2" wrote:

Hi all. I have a workbook that contains over hundred rows. Each row has a
colour indicating what worksheet it relates to. In a column at the end of
the worksheet I would like to add a number that represents that colour so I
can then filter by number (tried filtering by color but that was too much
hard work). The workbook changes daily so doing it manually is a pain in the
backside. I have searched the net and found VBA codes (which I would prefer
not to use if possible) and came across this
To get the colorindex of a specific cell, simply use (this is from
xlDynamic.com)
=ColorIndex(A1)
I paste this into a cell and reference it correctly but it keeps coming up
#NAME? any ideas.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't format cell color/text color in Office Excel 2003 in fil Tony S Excel Discussion (Misc queries) 1 December 21st 07 01:41 PM
Compare Value in Cell 1 to a List, Return Value if Match otherwise Return Null Ben Excel Discussion (Misc queries) 2 March 15th 07 01:02 AM
How can I return a color instead of a value using the function "if Antonio Excel Discussion (Misc queries) 2 January 9th 07 07:32 PM
Excel: Syntax to change cell color based on color of another cell davew18 Excel Worksheet Functions 1 January 4th 07 01:24 PM
Can't format cell color/text color in Office Excel 2003 in files . albertaman Excel Discussion (Misc queries) 0 February 16th 06 03:56 AM


All times are GMT +1. The time now is 07:08 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"