Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Is there a way to do an If statement that will evaluate the background colour
of a cell? ie. =If(B8.cell.Interior.colorindex=6, "", B8.cell_value) I want to highlight certain rows in a worksheet and have a second worksheet copy over those values unless the background color of the cell is a particular color. I've got an if stmt to filter out blank cells (without this it prints 0) =IF (+Sheet2!A1="","",+Sheet2!A1) I want to embed a 2nd IF stmnt in here to evaluate the background color of the cell. Ideally what I want to do is, create a second copy of a worksheet without the values highlighted in color and be able to delete the worksheet with the colored items for general distribution while the main workbook has limited distribution. ie. 2 worksheets full of data, some of which is confidential. Have a 3rd worksheet that replicates the data without the confidential information. Save the workbook as another name, delete the confidential worksheet and distribute. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
See:
http://www.cpearson.com/excel/colors.aspx -- Gary''s Student - gsnu200846 "Maureen" wrote: Is there a way to do an If statement that will evaluate the background colour of a cell? ie. =If(B8.cell.Interior.colorindex=6, "", B8.cell_value) I want to highlight certain rows in a worksheet and have a second worksheet copy over those values unless the background color of the cell is a particular color. I've got an if stmt to filter out blank cells (without this it prints 0) =IF (+Sheet2!A1="","",+Sheet2!A1) I want to embed a 2nd IF stmnt in here to evaluate the background color of the cell. Ideally what I want to do is, create a second copy of a worksheet without the values highlighted in color and be able to delete the worksheet with the colored items for general distribution while the main workbook has limited distribution. ie. 2 worksheets full of data, some of which is confidential. Have a 3rd worksheet that replicates the data without the confidential information. Save the workbook as another name, delete the confidential worksheet and distribute. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I'm hoping to do this just with an IF stmnt in a cell and not having to do
macros or VB code. "Gary''s Student" wrote: See: http://www.cpearson.com/excel/colors.aspx -- Gary''s Student - gsnu200846 "Maureen" wrote: Is there a way to do an If statement that will evaluate the background colour of a cell? ie. =If(B8.cell.Interior.colorindex=6, "", B8.cell_value) I want to highlight certain rows in a worksheet and have a second worksheet copy over those values unless the background color of the cell is a particular color. I've got an if stmt to filter out blank cells (without this it prints 0) =IF (+Sheet2!A1="","",+Sheet2!A1) I want to embed a 2nd IF stmnt in here to evaluate the background color of the cell. Ideally what I want to do is, create a second copy of a worksheet without the values highlighted in color and be able to delete the worksheet with the colored items for general distribution while the main workbook has limited distribution. ie. 2 worksheets full of data, some of which is confidential. Have a 3rd worksheet that replicates the data without the confidential information. Save the workbook as another name, delete the confidential worksheet and distribute. |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
No can do. That's why Chip developed his macro.
Regards, Fred. "Maureen" wrote in message ... I'm hoping to do this just with an IF stmnt in a cell and not having to do macros or VB code. "Gary''s Student" wrote: See: http://www.cpearson.com/excel/colors.aspx -- Gary''s Student - gsnu200846 "Maureen" wrote: Is there a way to do an If statement that will evaluate the background colour of a cell? ie. =If(B8.cell.Interior.colorindex=6, "", B8.cell_value) I want to highlight certain rows in a worksheet and have a second worksheet copy over those values unless the background color of the cell is a particular color. I've got an if stmt to filter out blank cells (without this it prints 0) =IF (+Sheet2!A1="","",+Sheet2!A1) I want to embed a 2nd IF stmnt in here to evaluate the background color of the cell. Ideally what I want to do is, create a second copy of a worksheet without the values highlighted in color and be able to delete the worksheet with the colored items for general distribution while the main workbook has limited distribution. ie. 2 worksheets full of data, some of which is confidential. Have a 3rd worksheet that replicates the data without the confidential information. Save the workbook as another name, delete the confidential worksheet and distribute. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Checkbox to change background color, font color and remove/ add bo | Excel Discussion (Misc queries) | |||
background color | Excel Discussion (Misc queries) | |||
how can I conditionally change font color, or background color? | Excel Worksheet Functions | |||
Default Border, Font Color, and Cell Background Color | Excel Discussion (Misc queries) | |||
Excel 2003 Font Color and Background Color | Excel Discussion (Misc queries) |