#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Sum issue

I have 2 sheets in a workbook, one with data on what orders per store we're
dispatching a day, this sheet directly relates to another which is aware of
what packaging we're using, trays or boxes. At the bottom of each store order
i'm trying to total up both individually. Is there a way of doing a sum which
will be able to know the difference of which product goes into which
packaging and add them up seperately

To explain how the sheets are spread out,

Sheet one, A4:A12 Product Code (directly relates to sheet 2, which has a
column of product type in). B4:B12 - which has number of products ordered and
C4:C12 which is a conditional Vlookup related to A4:A12.

Sheet two, A1:A27 which is the list of product codes (which sheet one uses),
B1:B27 is a list of products which is automatically placed into sheet one
C4:C12 dependant on sheet one's figure placed into A4:A12. K1:K27 is the list
of packaging type.

I'm trying to make C13 count the number of products which are in trays and
C14 the number of products in boxes, as I can't do a simple sum of B4:B12.

I suppose i'm really trying to find out if theres a way of excel knowing
whats in a box and whats in a tray and adding them up independantly?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 50
Default Sum issue

Tim,

I don't have a good picture of your data, but this may help you.

=SUMPRODUCT(--(RangeOfTypes="trays")) will count the number of "trays" in
the range. Substitute "boxes" in the formula and that will give you the
other count you're looking for.

Good Luck,
Jim

"Tim Hill" wrote:

I have 2 sheets in a workbook, one with data on what orders per store we're
dispatching a day, this sheet directly relates to another which is aware of
what packaging we're using, trays or boxes. At the bottom of each store order
i'm trying to total up both individually. Is there a way of doing a sum which
will be able to know the difference of which product goes into which
packaging and add them up seperately

To explain how the sheets are spread out,

Sheet one, A4:A12 Product Code (directly relates to sheet 2, which has a
column of product type in). B4:B12 - which has number of products ordered and
C4:C12 which is a conditional Vlookup related to A4:A12.

Sheet two, A1:A27 which is the list of product codes (which sheet one uses),
B1:B27 is a list of products which is automatically placed into sheet one
C4:C12 dependant on sheet one's figure placed into A4:A12. K1:K27 is the list
of packaging type.

I'm trying to make C13 count the number of products which are in trays and
C14 the number of products in boxes, as I can't do a simple sum of B4:B12.

I suppose i'm really trying to find out if theres a way of excel knowing
whats in a box and whats in a tray and adding them up independantly?

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
issue.... pierre Excel Discussion (Misc queries) 3 May 11th 08 06:24 PM
Sum Issue Help! [email protected] Excel Discussion (Misc queries) 3 January 24th 07 08:30 PM
IIF issue Scott Excel Worksheet Functions 6 December 18th 05 07:55 PM
DV Issue Pong Excel Worksheet Functions 1 May 12th 05 08:47 PM
IF Issue mklapp Excel Worksheet Functions 4 May 12th 05 07:06 AM


All times are GMT +1. The time now is 06:30 PM.

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"