schang_825
Board Regular
- Joined
- Feb 19, 2010
- Messages
- 66
Hi All,
I currently have a spreadsheet without both numbers and text in the cell. The text is required for conditional formatting. At the bottom of the columns, I wanted to sum only the numbers and also to exclude hidden rows. I currently have an array formula to sum the numbers, but can't seem to figure out how to exclude the hidden rows:
=SUM(IF(ISNUMBER(SEARCH("Pre-Con",E12:E66)),SUBSTITUTE(E12:E66,CHAR(10)&"Pre-Con","")+0))+SUM(IF(ISNUMBER(SEARCH("Const",E12:E66)),SUBSTITUTE(E12:E66,CHAR(10)&"Const","")+0))+ SUM(IF(ISNUMBER(SEARCH("Post-Con",E12:E66)),SUBSTITUTE(E12:E66,CHAR(10)&"Post-Con","")+0))
Any help would be greatly appreciated!!
Thanks!!
I currently have a spreadsheet without both numbers and text in the cell. The text is required for conditional formatting. At the bottom of the columns, I wanted to sum only the numbers and also to exclude hidden rows. I currently have an array formula to sum the numbers, but can't seem to figure out how to exclude the hidden rows:
=SUM(IF(ISNUMBER(SEARCH("Pre-Con",E12:E66)),SUBSTITUTE(E12:E66,CHAR(10)&"Pre-Con","")+0))+SUM(IF(ISNUMBER(SEARCH("Const",E12:E66)),SUBSTITUTE(E12:E66,CHAR(10)&"Const","")+0))+ SUM(IF(ISNUMBER(SEARCH("Post-Con",E12:E66)),SUBSTITUTE(E12:E66,CHAR(10)&"Post-Con","")+0))
Any help would be greatly appreciated!!
Thanks!!