Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
I have a spreadsheet with approx. 10000 rows. And i would like to select and
copy the yellow rows and paste them to another sheet. Or delete cells which are not yellow. I think that i can do it by putting an if statement in each row and filter them. For example, excel will type 1 if the is yellow, else 0. Then it will be easy to select and copy them. But how? Or do you have any idea other than "if statement" I need yor help. Thanks. |
#2
![]() |
|||
|
|||
![]()
If you are comfortable with VBA this function:
Function clr(R As Range) As Integer With R.Interior clr = .ColorIndex End With End Function will return a number representing the background color of a cell. For example, if you enter =clr(A1) in a cell you will have the color of the backgroun in call A1 Good Luck -- Gary's Student "Melkett" wrote: I have a spreadsheet with approx. 10000 rows. And i would like to select and copy the yellow rows and paste them to another sheet. Or delete cells which are not yellow. I think that i can do it by putting an if statement in each row and filter them. For example, excel will type 1 if the is yellow, else 0. Then it will be easy to select and copy them. But how? Or do you have any idea other than "if statement" I need yor help. Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Why does my format keep changing in the cell? | Excel Discussion (Misc queries) | |||
how do I format a cell reference to move as source changes | Excel Worksheet Functions | |||
Show Blank is cell value=0 but count as a zero in sum. How to format this cell ? | Excel Worksheet Functions | |||
VBA Command to Look at cell in an If statement | New Users to Excel | |||
How do I unhide the cell format function in Excel 2000 | Excel Worksheet Functions |