PC Review


Reply
Thread Tools Rate Thread

combining subtotal(9,) with an array formula?

 
 
=?Utf-8?B?bWFyaw==?=
Guest
Posts: n/a
 
      29th Jun 2007
Hi. Someone just called me about a formula that one of the managers thinks
he needs. I can do what they want in three rows, but am not seeing how to do
it in one row, and have it change with the AutoFilter.

They have something like the following, across rows and columns:
Schedule Value
Row1 1 X
Row2 2 C
Row3 3 NULL
Row4 1 NULL
Row5 2 X
Row6 3 NULL

They want to count the instances of X for each schedule, where AutoFilter is
turned on, and they pick schedule 1, 2 , or 3, from the drop down.

I can give them an array formula based upon another cell, say A12, that will
do it:

=SUM(--(B2:B9="X")*--(A2:A9=A12))

But in that example, you have to type the 1, 2, or 3 in cell A12... that is
not automatically picked up from the filtered selection.

I tried combining the array formula above with a subtotal(9,), but I didn't
get that to enter with the array. Perhaps I just had a syntax problem.

Suggestions?

Thanks.
Mark
 
Reply With Quote
 
 
 
 
=?Utf-8?B?bWFyaw==?=
Guest
Posts: n/a
 
      29th Jun 2007
sorry, I meant to put that in the Formulas discussion. I will do that, now.
Please ignore this thread.


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Combining SUMIF and SUBTOTAL PO Microsoft Excel Worksheet Functions 4 1st Oct 2008 12:37 AM
Combining subtotal and sumif functions =?Utf-8?B?VFBEaWdn?= Microsoft Excel Worksheet Functions 3 15th Nov 2006 04:52 PM
combining cells and array from different sheets into an array to pass to IRR() danyates77@yahoo.com Microsoft Excel Misc 3 11th Sep 2006 07:17 AM
Combining SUMIF and SUBTOTAL functions =?Utf-8?B?dGdhbGxhZ2FuQGFvbC5jb20=?= Microsoft Excel Worksheet Functions 1 22nd Apr 2005 06:14 AM
combining data into subtotal report =?Utf-8?B?QW1iZXIgTQ==?= Microsoft Excel Misc 6 19th Sep 2004 01:47 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:40 PM.