Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a LARGE spreadsheet in which have highlighted erroneous data in red.
I would like to know how to quickly and easily delete any row in the sheet that does not have red highlighted data in it so that I can count the number of records that have erroneous data using subtotals. Or, is there is a better way to do this than deleting the rows w/o red highlighted data? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi Linda,
The way depends on HOW are the erroneous cells highlighted: is their font or background color manually set to red or is a conditional formatting applied to them? The font or the background color is red? Are the erroneous cells in the same column or are they in different columns? Regards, Stefi €˛Linda Hudock€¯ ezt Ć*rta: I have a LARGE spreadsheet in which have highlighted erroneous data in red. I would like to know how to quickly and easily delete any row in the sheet that does not have red highlighted data in it so that I can count the number of records that have erroneous data using subtotals. Or, is there is a better way to do this than deleting the rows w/o red highlighted data? |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
The cells are MANUALLY set (not conditionally set). The FONT is colored red
(not the background). There are several columns. The row can have red colored errors in any of the columns. If there is one or more red colored errors in the row (ie, in any column), I want to keep the row. If there are no red colored cells in any column in the row, I want to delete the entire row. "Stefi" wrote: Hi Linda, The way depends on HOW are the erroneous cells highlighted: is their font or background color manually set to red or is a conditional formatting applied to them? The font or the background color is red? Are the erroneous cells in the same column or are they in different columns? Regards, Stefi €˛Linda Hudock€¯ ezt Ć*rta: I have a LARGE spreadsheet in which have highlighted erroneous data in red. I would like to know how to quickly and easily delete any row in the sheet that does not have red highlighted data in it so that I can count the number of records that have erroneous data using subtotals. Or, is there is a better way to do this than deleting the rows w/o red highlighted data? |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Install this UDF (post if you need assistance in installing), enter
=ColoredRow(ROW(),3) in all rows in an unused column! Autofilter the TRUE values in this column, and copy them into a separate sheet! Function ColoredRow(rownum, colorcode) ColoredRow = False For Each cella In Range(rownum & ":" & rownum) If cella.Font.ColorIndex = colorcode Then ColoredRow = True Exit Function End If Next cella End Function Regards, Stefi €˛Linda Hudock€¯ ezt Ć*rta: The cells are MANUALLY set (not conditionally set). The FONT is colored red (not the background). There are several columns. The row can have red colored errors in any of the columns. If there is one or more red colored errors in the row (ie, in any column), I want to keep the row. If there are no red colored cells in any column in the row, I want to delete the entire row. "Stefi" wrote: Hi Linda, The way depends on HOW are the erroneous cells highlighted: is their font or background color manually set to red or is a conditional formatting applied to them? The font or the background color is red? Are the erroneous cells in the same column or are they in different columns? Regards, Stefi €˛Linda Hudock€¯ ezt Ć*rta: I have a LARGE spreadsheet in which have highlighted erroneous data in red. I would like to know how to quickly and easily delete any row in the sheet that does not have red highlighted data in it so that I can count the number of records that have erroneous data using subtotals. Or, is there is a better way to do this than deleting the rows w/o red highlighted data? |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
This is just too wonderful for words! It saved me hours of work!!! I can't
thank you enough! "Stefi" wrote: Install this UDF (post if you need assistance in installing), enter =ColoredRow(ROW(),3) in all rows in an unused column! Autofilter the TRUE values in this column, and copy them into a separate sheet! Function ColoredRow(rownum, colorcode) ColoredRow = False For Each cella In Range(rownum & ":" & rownum) If cella.Font.ColorIndex = colorcode Then ColoredRow = True Exit Function End If Next cella End Function Regards, Stefi €˛Linda Hudock€¯ ezt Ć*rta: The cells are MANUALLY set (not conditionally set). The FONT is colored red (not the background). There are several columns. The row can have red colored errors in any of the columns. If there is one or more red colored errors in the row (ie, in any column), I want to keep the row. If there are no red colored cells in any column in the row, I want to delete the entire row. "Stefi" wrote: Hi Linda, The way depends on HOW are the erroneous cells highlighted: is their font or background color manually set to red or is a conditional formatting applied to them? The font or the background color is red? Are the erroneous cells in the same column or are they in different columns? Regards, Stefi €˛Linda Hudock€¯ ezt Ć*rta: I have a LARGE spreadsheet in which have highlighted erroneous data in red. I would like to know how to quickly and easily delete any row in the sheet that does not have red highlighted data in it so that I can count the number of records that have erroneous data using subtotals. Or, is there is a better way to do this than deleting the rows w/o red highlighted data? |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You are welcome, Linda! Thanks for the feedback!
Stefi €˛Linda Hudock€¯ ezt Ć*rta: This is just too wonderful for words! It saved me hours of work!!! I can't thank you enough! "Stefi" wrote: Install this UDF (post if you need assistance in installing), enter =ColoredRow(ROW(),3) in all rows in an unused column! Autofilter the TRUE values in this column, and copy them into a separate sheet! Function ColoredRow(rownum, colorcode) ColoredRow = False For Each cella In Range(rownum & ":" & rownum) If cella.Font.ColorIndex = colorcode Then ColoredRow = True Exit Function End If Next cella End Function Regards, Stefi €˛Linda Hudock€¯ ezt Ć*rta: The cells are MANUALLY set (not conditionally set). The FONT is colored red (not the background). There are several columns. The row can have red colored errors in any of the columns. If there is one or more red colored errors in the row (ie, in any column), I want to keep the row. If there are no red colored cells in any column in the row, I want to delete the entire row. "Stefi" wrote: Hi Linda, The way depends on HOW are the erroneous cells highlighted: is their font or background color manually set to red or is a conditional formatting applied to them? The font or the background color is red? Are the erroneous cells in the same column or are they in different columns? Regards, Stefi €˛Linda Hudock€¯ ezt Ć*rta: I have a LARGE spreadsheet in which have highlighted erroneous data in red. I would like to know how to quickly and easily delete any row in the sheet that does not have red highlighted data in it so that I can count the number of records that have erroneous data using subtotals. Or, is there is a better way to do this than deleting the rows w/o red highlighted data? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Import data and keep duplicate rows of data | Excel Discussion (Misc queries) | |||
Add or Delete Rows in Protected worksheets | Excel Discussion (Misc queries) | |||
Protect Worksheet but allow to insert or delete rows | Excel Discussion (Misc queries) | |||
How to delete rows when List toolbar's "delete" isnt highlighted? | Excel Worksheet Functions | |||
Pivot Table for survey data w/ questions as Rows & poss answrs as | Excel Discussion (Misc queries) |