Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
fomula problems
 
Posts: n/a
Default Displaying certain coloured cell

I have a spreadsheet and certain cells are coloured to represent certain
criterier, I would like to display all of one coloured cells to show status
of that colour, say I want all the red cells locations to be displayed so
that i can check the status.
Alan
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
paul
 
Posts: n/a
Default Displaying certain coloured cell

if the cells are colored with conditional formats you can use the same
condtions to countif or sumif...if you have coloured manually you will have
to wait till somone posts a link to the solution....
--
paul

remove nospam for email addy!



"fomula problems" wrote:

I have a spreadsheet and certain cells are coloured to represent certain
criterier, I would like to display all of one coloured cells to show status
of that colour, say I want all the red cells locations to be displayed so
that i can check the status.
Alan

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default Displaying certain coloured cell

What do you mean exactly by displayed?

--
HTH

Bob Phillips

(replace somewhere in email address with googlemail if mailing direct)

"fomula problems" wrote in
message ...
I have a spreadsheet and certain cells are coloured to represent certain
criterier, I would like to display all of one coloured cells to show

status
of that colour, say I want all the red cells locations to be displayed so
that i can check the status.
Alan



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
fomula problems
 
Posts: n/a
Default Displaying certain coloured cell

The spread sheet has so many cells and takes ages to go through and then make
a note of the ones that are coloured is it possible to getthe different
coloured displayed on a seperate spreadsheet with the location that they come
from or is that too complicated.

"Bob Phillips" wrote:

What do you mean exactly by displayed?

--
HTH

Bob Phillips

(replace somewhere in email address with googlemail if mailing direct)

"fomula problems" wrote in
message ...
I have a spreadsheet and certain cells are coloured to represent certain
criterier, I would like to display all of one coloured cells to show

status
of that colour, say I want all the red cells locations to be displayed so
that i can check the status.
Alan




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default Displaying certain coloured cell

No, it is relatively simple

Sub GetColouredCells()
Dim i As Long
Dim cell As Range

With Worksheets("Sheet1")
For Each cell In .UsedRange
If cell.Interior.ColorIndex = 3 Then
i = i + 1
Worksheets("Sheet2").Cells(i, "A").Value = cell.Address
Worksheets("Sheet2").Cells(i, "B").Value = cell.Value
End If
Next cell
End With

End Sub

--
HTH

Bob Phillips

(replace somewhere in email address with googlemail if mailing direct)

"fomula problems" wrote in
message ...
The spread sheet has so many cells and takes ages to go through and then

make
a note of the ones that are coloured is it possible to getthe different
coloured displayed on a seperate spreadsheet with the location that they

come
from or is that too complicated.

"Bob Phillips" wrote:

What do you mean exactly by displayed?

--
HTH

Bob Phillips

(replace somewhere in email address with googlemail if mailing direct)

"fomula problems" wrote in
message ...
I have a spreadsheet and certain cells are coloured to represent

certain
criterier, I would like to display all of one coloured cells to show

status
of that colour, say I want all the red cells locations to be displayed

so
that i can check the status.
Alan








  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
fomula problems
 
Posts: n/a
Default Displaying certain coloured cell

Cheers Bob for the help I'm sure that it is the formula, have enclosed a
sample of my spreadsheet, would you put the formula in and have it display
results in sheet 2.
Thanks for help.

"Bob Phillips" wrote:

No, it is relatively simple

Sub GetColouredCells()
Dim i As Long
Dim cell As Range

With Worksheets("Sheet1")
For Each cell In .UsedRange
If cell.Interior.ColorIndex = 3 Then
i = i + 1
Worksheets("Sheet2").Cells(i, "A").Value = cell.Address
Worksheets("Sheet2").Cells(i, "B").Value = cell.Value
End If
Next cell
End With

End Sub

--
HTH

Bob Phillips

(replace somewhere in email address with googlemail if mailing direct)

"fomula problems" wrote in
message ...
The spread sheet has so many cells and takes ages to go through and then

make
a note of the ones that are coloured is it possible to getthe different
coloured displayed on a seperate spreadsheet with the location that they

come
from or is that too complicated.

"Bob Phillips" wrote:

What do you mean exactly by displayed?

--
HTH

Bob Phillips

(replace somewhere in email address with googlemail if mailing direct)

"fomula problems" wrote in
message ...
I have a spreadsheet and certain cells are coloured to represent

certain
criterier, I would like to display all of one coloured cells to show
status
of that colour, say I want all the red cells locations to be displayed

so
that i can check the status.
Alan






  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default Displaying certain coloured cell

where?

--
HTH

Bob Phillips

(replace somewhere in email address with googlemail if mailing direct)

"fomula problems" wrote in
message ...
Cheers Bob for the help I'm sure that it is the formula, have enclosed a
sample of my spreadsheet, would you put the formula in and have it display
results in sheet 2.
Thanks for help.

"Bob Phillips" wrote:

No, it is relatively simple

Sub GetColouredCells()
Dim i As Long
Dim cell As Range

With Worksheets("Sheet1")
For Each cell In .UsedRange
If cell.Interior.ColorIndex = 3 Then
i = i + 1
Worksheets("Sheet2").Cells(i, "A").Value = cell.Address
Worksheets("Sheet2").Cells(i, "B").Value = cell.Value
End If
Next cell
End With

End Sub

--
HTH

Bob Phillips

(replace somewhere in email address with googlemail if mailing direct)

"fomula problems" wrote in
message ...
The spread sheet has so many cells and takes ages to go through and

then
make
a note of the ones that are coloured is it possible to getthe

different
coloured displayed on a seperate spreadsheet with the location that

they
come
from or is that too complicated.

"Bob Phillips" wrote:

What do you mean exactly by displayed?

--
HTH

Bob Phillips

(replace somewhere in email address with googlemail if mailing

direct)

"fomula problems" wrote

in
message ...
I have a spreadsheet and certain cells are coloured to represent

certain
criterier, I would like to display all of one coloured cells to

show
status
of that colour, say I want all the red cells locations to be

displayed
so
that i can check the status.
Alan








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
Custom functions calculating time arguments Help Desperate Bill_De Excel Worksheet Functions 12 April 25th 06 02:22 AM
resetting last cell jagdish.eashwar Excel Discussion (Misc queries) 11 March 31st 06 02:06 AM
Instead of a negative number, I'd like to show zero... Dr. Darrell Excel Worksheet Functions 6 December 7th 05 08:21 PM
Displaying in a cell the formula from another cell Arjan Excel Discussion (Misc queries) 1 July 21st 05 07:17 PM
up to 7 functions? ALex Excel Worksheet Functions 10 April 12th 05 06:42 PM


All times are GMT +1. The time now is 02:55 AM.

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

About Us

"It's about Microsoft Excel"