ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How can I adapt the included filter example to search for more th. (https://www.excelbanter.com/excel-discussion-misc-queries/14859-how-can-i-adapt-included-filter-example-search-more-th.html)

Cheryl

How can I adapt the included filter example to search for more th.
 
=SUMPRODUCT(--(SUBTOTAL(3,OFFSET(INDEX($E$16:$E$1998,1,1),ROW($E $16:$E$1998)-
ROW(INDEX($E$16:$E$1998,1,1)),0))=1),--($E$16:$E$1998="Y"))

I am using this formula to calculate cells and then sort columns also. I
would like to be able to calculate other items in the same field as well
those that are equal to "Y". For example, subtotal everything in cells
E16:E1998 that contains either a "Y", "YY" or a "YN". Is there a OR function
I can place in this formula that will enable this to happen? Thanks in
advance for any help you may offer! - Cheryl


All times are GMT +1. The time now is 12:42 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com