Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 19
Default Sumproduct, two factors, wildcard, and three dimensions... is there a way?


So a few days ago I posted regarding a script I was trying to get
working to give me two-part analysis of cells in a sheet. Bob
Phillips posted with a working script that used the ISNUMBER/FIND
method for doing the same thing as using straight arrays (which I was
doing previously).

The solution is great, but I have one lingering problem; I'd really
like the ability to do this same calculation three dimensionally
(multiple sheets) as opposed to two dimensionally (single sheet).
FIND, as I've discovered in my brief Excel ramp-up, only works in two-
dimenions in formulas...

While I could pull all the results I need into a single sheet, I'm
dealing with 66 interviews that have 45 questions each, and the amount
of data I would need to aggregate to one sheet to do it would be
enormous.

So, is there any way to make the following formula three dimensional?

=IF(AND($A$79<"",E$99<""),IF($E$94<0,
SUMPRODUCT((ISNUMBER(FIND($A$79,$K$8:$K$74)))*
(ISNUMBER(FIND(E$99,$C$8:$C$74)))/$E$94),0),"")

If anyone has any thoughts I'd appreciate. I'd like to do this in
formula if possible, but any ideas or insights are welcome.

Thanks,
Rick

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 340
Default Sumproduct, two factors, wildcard, and three dimensions... is there a way?

=SUMPRODUCT(COUNTIF(INDIRECT("'"&Shts&"'!k"&ROW(K8 :K74)),
TEXT(A79,"0;-0;¦;\*@\*"))*COUNTIF(INDIRECT("'"&Shts&"'!
c"&ROW(C8:C74)),
TEXT(E99,"0;-0;¦;\*@\*"))/TEXT(N(INDIRECT("'"&Shts&"'!
e94")),"0;-0;9\e307"))

maybe? Where "Shts" is a defined name referring to "=get.workbook(1)"
for all sheets in the workbook, or otherwise to a row of cells
containing the sheet names.

[The Text(...) functions provide a compact way to deal with the "if"
conditions.]

On 14 Mar, 05:34, wrote:
So a few days ago I posted regarding a script I was trying to get
working to give me two-part analysis of cells in a sheet. Bob
Phillips posted with a working script that used the ISNUMBER/FIND
method for doing the same thing as using straight arrays (which I was
doing previously).

The solution is great, but I have one lingering problem; I'd really
like the ability to do this same calculation three dimensionally
(multiple sheets) as opposed to two dimensionally (single sheet).
FIND, as I've discovered in my brief Excel ramp-up, only works in two-
dimenions in formulas...

While I could pull all the results I need into a single sheet, I'm
dealing with 66 interviews that have 45 questions each, and the amount
of data I would need to aggregate to one sheet to do it would be
enormous.

So, is there any way to make the following formula three dimensional?

=IF(AND($A$79<"",E$99<""),IF($E$94<0,
SUMPRODUCT((ISNUMBER(FIND($A$79,$K$8:$K$74)))*
(ISNUMBER(FIND(E$99,$C$8:$C$74)))/$E$94),0),"")

If anyone has any thoughts I'd appreciate. I'd like to do this in
formula if possible, but any ideas or insights are welcome.

Thanks,
Rick



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sumproduct + wildcard Saintsman Excel Worksheet Functions 3 January 12th 07 02:38 PM
Sumproduct w/ multiple factors: Correct and Incorrect return value Rachel Excel Discussion (Misc queries) 3 December 12th 06 06:40 PM
Sumproduct or ??? for non-same dimensions Corey Excel Discussion (Misc queries) 3 May 18th 06 05:22 PM
wildcard in sumproduct? cjjoo Excel Worksheet Functions 2 October 17th 05 01:08 PM
Sumproduct Wildcard RB Excel Discussion (Misc queries) 6 May 17th 05 04:27 AM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"