Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 24
Default Summary worksheet reference to detail worksheet

I need to summarize by Division/Item # but I don't know how to refer to
the concatenatation (?) of the two fields on the Summary sheet.

Detail worksheet:
- Column A = Division Column D = Item # Column F = Quantity

Summary worksheet
- Column A = Division Column B - Item # Column D = Summary
Quantity

Can someone help me with this? Sorry I'm still learning, but the last
help I asked for (LOOKUP) - worked like a charm, so I am emboldened to
ask one more question.

Thanks.


  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 15,768
Default Summary worksheet reference to detail worksheet

Maybe something like this entered on your Summary sheet in column D:

=SUMPRODUCT(--(Detail!A$2:A$10=A2),--(Detail!D$2:D$10=B2),Detail!F$2:F$10)

Copy down if needed.

--
Biff
Microsoft Excel MVP


"Quimera" wrote in message
news:xrIEi.25460$Pd4.12841@edtnps82...
I need to summarize by Division/Item # but I don't know how to refer to the
concatenatation (?) of the two fields on the Summary sheet.

Detail worksheet:
- Column A = Division Column D = Item # Column F = Quantity

Summary worksheet
- Column A = Division Column B - Item # Column D = Summary Quantity

Can someone help me with this? Sorry I'm still learning, but the last
help I asked for (LOOKUP) - worked like a charm, so I am emboldened to
ask one more question.

Thanks.



  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 24
Default Summary worksheet reference to detail worksheet

Sorry, I tried but it didn't compute.

I have another summary sheet that summarizes by Item # only, and this
formula works fine.(Week1! is the detail worksheet)

=SUMIF(Week1!$D:$D,$A2,Week1!$F:$F) where D is the Item # column and F
is the quantity column on the Week1 worksheet.

Is there was some way I could code $A:$A (and) $D:$D, A2 (and) B2,
Week1!$F:$F) to match the Division and Item # on both sheets? (What I
wouldn't give for a Boolean "and" )!

J.






D:$D,$A2,Week1!$F:$F)
"T. Valko" wrote in message
...
Maybe something like this entered on your Summary sheet in column D:

=SUMPRODUCT(--(Detail!A$2:A$10=A2),--(Detail!D$2:D$10=B2),Detail!F$2:F$10)

Copy down if needed.

--
Biff
Microsoft Excel MVP


"Quimera" wrote in message
news:xrIEi.25460$Pd4.12841@edtnps82...
I need to summarize by Division/Item # but I don't know how to refer
to the concatenatation (?) of the two fields on the Summary sheet.

Detail worksheet:
- Column A = Division Column D = Item # Column F = Quantity

Summary worksheet
- Column A = Division Column B - Item # Column D = Summary
Quantity

Can someone help me with this? Sorry I'm still learning, but the
last help I asked for (LOOKUP) - worked like a charm, so I am
emboldened to ask one more question.

Thanks.





  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 15,768
Default Summary worksheet reference to detail worksheet

If you tried using entire columns as range references in the SUMPRODUCT
formula it won't work unless you're using Excel 2007. If you're not using
Excel 2007 you must use less than the entire column as a range reference.

What I wouldn't give for a Boolean "and"


In a SUMPRODUCT function (and many others), "and" is achieved by multiplying
2 or more arrays. That's exactly how SUMPRODUCT works, it multiplies the
arrays you specify as arguments.

=SUMPRODUCT(--(Detail!A$2:A$10=A2),--(Detail!D$2:D$10=B2),Detail!F$2:F$10)

Translated:

if A = A2 *and* D = B2 sum F


--
Biff
Microsoft Excel MVP


"Quimera" wrote in message
news:uOKEi.25132$bO6.14999@edtnps89...
Sorry, I tried but it didn't compute.

I have another summary sheet that summarizes by Item # only, and this
formula works fine.(Week1! is the detail worksheet)

=SUMIF(Week1!$D:$D,$A2,Week1!$F:$F) where D is the Item # column and F
is the quantity column on the Week1 worksheet.

Is there was some way I could code $A:$A (and) $D:$D, A2 (and) B2,
Week1!$F:$F) to match the Division and Item # on both sheets? (What I
wouldn't give for a Boolean "and" )!

J.






D:$D,$A2,Week1!$F:$F)
"T. Valko" wrote in message
...
Maybe something like this entered on your Summary sheet in column D:

=SUMPRODUCT(--(Detail!A$2:A$10=A2),--(Detail!D$2:D$10=B2),Detail!F$2:F$10)

Copy down if needed.

--
Biff
Microsoft Excel MVP


"Quimera" wrote in message
news:xrIEi.25460$Pd4.12841@edtnps82...
I need to summarize by Division/Item # but I don't know how to refer to
the concatenatation (?) of the two fields on the Summary sheet.

Detail worksheet:
- Column A = Division Column D = Item # Column F = Quantity

Summary worksheet
- Column A = Division Column B - Item # Column D = Summary
Quantity

Can someone help me with this? Sorry I'm still learning, but the last
help I asked for (LOOKUP) - worked like a charm, so I am emboldened to
ask one more question.

Thanks.







  #5   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 24
Default Summary worksheet reference to detail worksheet

I forgot to mention that the codes in the Detail sheet are
non-contiguous, if that makes a difference.

J.


"T. Valko" wrote in message
...
Maybe something like this entered on your Summary sheet in column D:

=SUMPRODUCT(--(Detail!A$2:A$10=A2),--(Detail!D$2:D$10=B2),Detail!F$2:F$10)

Copy down if needed.

--
Biff
Microsoft Excel MVP


"Quimera" wrote in message
news:xrIEi.25460$Pd4.12841@edtnps82...
I need to summarize by Division/Item # but I don't know how to refer
to the concatenatation (?) of the two fields on the Summary sheet.

Detail worksheet:
- Column A = Division Column D = Item # Column F = Quantity

Summary worksheet
- Column A = Division Column B - Item # Column D = Summary
Quantity

Can someone help me with this? Sorry I'm still learning, but the
last help I asked for (LOOKUP) - worked like a charm, so I am
emboldened to ask one more question.

Thanks.







  #6   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 24
Default Summary worksheet reference to detail worksheet

To the genius...

Success! The first try didn't balance because the range to 10 was too
small. If I understand it correctly, the range should be the maximum
expected in the detail worksheet. Is that right?

J.



"T. Valko" wrote in message
...
If you tried using entire columns as range references in the
SUMPRODUCT formula it won't work unless you're using Excel 2007. If
you're not using Excel 2007 you must use less than the entire column
as a range reference.

What I wouldn't give for a Boolean "and"


In a SUMPRODUCT function (and many others), "and" is achieved by
multiplying 2 or more arrays. That's exactly how SUMPRODUCT works, it
multiplies the arrays you specify as arguments.

=SUMPRODUCT(--(Detail!A$2:A$10=A2),--(Detail!D$2:D$10=B2),Detail!F$2:F$10)

Translated:

if A = A2 *and* D = B2 sum F


--
Biff
Microsoft Excel MVP


"Quimera" wrote in message
news:uOKEi.25132$bO6.14999@edtnps89...
Sorry, I tried but it didn't compute.

I have another summary sheet that summarizes by Item # only, and this
formula works fine.(Week1! is the detail worksheet)

=SUMIF(Week1!$D:$D,$A2,Week1!$F:$F) where D is the Item # column
and F is the quantity column on the Week1 worksheet.

Is there was some way I could code $A:$A (and) $D:$D, A2 (and) B2,
Week1!$F:$F) to match the Division and Item # on both sheets? (What
I wouldn't give for a Boolean "and" )!

J.






D:$D,$A2,Week1!$F:$F)
"T. Valko" wrote in message
...
Maybe something like this entered on your Summary sheet in column D:

=SUMPRODUCT(--(Detail!A$2:A$10=A2),--(Detail!D$2:D$10=B2),Detail!F$2:F$10)

Copy down if needed.

--
Biff
Microsoft Excel MVP


"Quimera" wrote in message
news:xrIEi.25460$Pd4.12841@edtnps82...
I need to summarize by Division/Item # but I don't know how to refer
to the concatenatation (?) of the two fields on the Summary sheet.

Detail worksheet:
- Column A = Division Column D = Item # Column F = Quantity

Summary worksheet
- Column A = Division Column B - Item # Column D = Summary
Quantity

Can someone help me with this? Sorry I'm still learning, but the
last help I asked for (LOOKUP) - worked like a charm, so I am
emboldened to ask one more question.

Thanks.









  #7   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 15,768
Default Summary worksheet reference to detail worksheet

the range should be the maximum expected in the detail worksheet. Is that
right?


Yes. Also, the arrays must be the same size. For example, these arrays are
not the same size so the formula will return an error:

=SUMPRODUCT(--(Detail!A$2:A$15=A2),--(Detail!D$2:D$10=B2),Detail!F$2:F$19)


--
Biff
Microsoft Excel MVP


"Quimera" wrote in message
news:hYPEi.25310$bO6.4479@edtnps89...
To the genius...

Success! The first try didn't balance because the range to 10 was too
small. If I understand it correctly, the range should be the maximum
expected in the detail worksheet. Is that right?

J.



"T. Valko" wrote in message
...
If you tried using entire columns as range references in the SUMPRODUCT
formula it won't work unless you're using Excel 2007. If you're not using
Excel 2007 you must use less than the entire column as a range reference.

What I wouldn't give for a Boolean "and"


In a SUMPRODUCT function (and many others), "and" is achieved by
multiplying 2 or more arrays. That's exactly how SUMPRODUCT works, it
multiplies the arrays you specify as arguments.

=SUMPRODUCT(--(Detail!A$2:A$10=A2),--(Detail!D$2:D$10=B2),Detail!F$2:F$10)

Translated:

if A = A2 *and* D = B2 sum F


--
Biff
Microsoft Excel MVP


"Quimera" wrote in message
news:uOKEi.25132$bO6.14999@edtnps89...
Sorry, I tried but it didn't compute.

I have another summary sheet that summarizes by Item # only, and this
formula works fine.(Week1! is the detail worksheet)

=SUMIF(Week1!$D:$D,$A2,Week1!$F:$F) where D is the Item # column and F
is the quantity column on the Week1 worksheet.

Is there was some way I could code $A:$A (and) $D:$D, A2 (and) B2,
Week1!$F:$F) to match the Division and Item # on both sheets? (What I
wouldn't give for a Boolean "and" )!

J.






D:$D,$A2,Week1!$F:$F)
"T. Valko" wrote in message
...
Maybe something like this entered on your Summary sheet in column D:

=SUMPRODUCT(--(Detail!A$2:A$10=A2),--(Detail!D$2:D$10=B2),Detail!F$2:F$10)

Copy down if needed.

--
Biff
Microsoft Excel MVP


"Quimera" wrote in message
news:xrIEi.25460$Pd4.12841@edtnps82...
I need to summarize by Division/Item # but I don't know how to refer to
the concatenatation (?) of the two fields on the Summary sheet.

Detail worksheet:
- Column A = Division Column D = Item # Column F = Quantity

Summary worksheet
- Column A = Division Column B - Item # Column D = Summary
Quantity

Can someone help me with this? Sorry I'm still learning, but the last
help I asked for (LOOKUP) - worked like a charm, so I am emboldened
to ask one more question.

Thanks.











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
How do I show or hide detail for a group in a protected worksheet Gilles FAURE Excel Discussion (Misc queries) 0 November 1st 06 01:47 AM
summary data sheet from worksheet to worksheet KKay Excel Worksheet Functions 1 May 21st 06 10:37 AM
Link worksheet totals to a summary worksheet in the same workbook Carolyn Excel Worksheet Functions 0 March 3rd 06 04:36 PM
Summarize multiple worksheet detail on summary sheet 061931 Excel Discussion (Misc queries) 6 May 23rd 05 02:09 PM
Protected worksheet, showing and hiding Grouped detail Colin_Bizfine Excel Discussion (Misc queries) 4 April 7th 05 03:44 AM


All times are GMT +1. The time now is 08:20 AM.

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

About Us

"It's about Microsoft Excel"