Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default multiple criterion to give sum

I need formula assistance with my summary worksheet. I want to take data
from my daily tracking log sheet of an item of two sizes (2's,3's(column E))
with six destination (Virginia, Kentucky, etc.(Column G - not shown in
eqation)) and give the cubic meters of the load (Column I) provided that both
criteria are met.

As one can see from the below eqation that it is easy to use a SUMIF
function to do this when the range is given. the problem arises when the
destination are intermitten and not continuous. I do not want to have a
string of SUMIF eqations.

=SUMIF('Daily Log'!E52:E55,2,'Daily Log'!I52:I55)+SUMIF('Daily
Log'!E57:E60,2,'Daily Log'!I57:I60)

I have tried to nest with an AND statement as well as IF. No luck with MATCH
and FIND. I either get a false or it only reads the first destination and
suns all of I regardless of destination.

I need assistance with an eqation the uses a name and a numeral in the same
row for the criteria of a numeral that needs to be summed by meeting both
criteria and populates that into one cell on a seperate sheet.

Any assistance would be greatly appreciated.

LT Hettinger
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default multiple criterion to give sum

Here's one interp and proposal ..

Assume source data in sheet: Daily Log,
from row2 to an expected max row100 (say), where
Col G contains the 6 destinations, eg: Virgina, Kentucky, etc
Col E contains the sizes, eg: 2, 3, etc
Col I contains the load figs that's to be summed

In a new sheet,
List the 6 destinations within say: E1:E6 (Virgina, Kentucky, etc)

Then assuming the sizes (2,3, etc) are listed in A2 down,
we could place in B2:
=SUMPRODUCT((ISNUMBER(SEARCH($E$1:$E$6,'Daily Log'!$G$2:$G$100)))*('Daily
Log'!$E$2:$E$100=A2),'Daily Log'!$I$2:$I$100)
and copy B2 down

Col B will return the required totals from col I in Daily Log
for the corresponding sizes listed in col A found within col E in Daily Log,
where the 6 destinations are found within col G in Daily Log
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"LT Hettinger" wrote:
I need formula assistance with my summary worksheet. I want to take data
from my daily tracking log sheet of an item of two sizes (2's,3's(column E))
with six destination (Virginia, Kentucky, etc.(Column G - not shown in
eqation)) and give the cubic meters of the load (Column I) provided that both
criteria are met.

As one can see from the below eqation that it is easy to use a SUMIF
function to do this when the range is given. the problem arises when the
destination are intermitten and not continuous. I do not want to have a
string of SUMIF eqations.

=SUMIF('Daily Log'!E52:E55,2,'Daily Log'!I52:I55)+SUMIF('Daily
Log'!E57:E60,2,'Daily Log'!I57:I60)

I have tried to nest with an AND statement as well as IF. No luck with MATCH
and FIND. I either get a false or it only reads the first destination and
suns all of I regardless of destination.

I need assistance with an eqation the uses a name and a numeral in the same
row for the criteria of a numeral that needs to be summed by meeting both
criteria and populates that into one cell on a seperate sheet.

Any assistance would be greatly appreciated.

LT Hettinger

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default multiple criterion to give sum

Clarifications:
If you need it to be case sensitive (for the 6 destinations' comparison with
what's within col G in Daily Log), replace SEARCH with FIND in the formula in
B2. SEARCH is not case sensitive. Also note that entire col references cannot
be used in SUMPRODUCT. Adapt the ranges to suit ..
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default multiple criterion to give sum

Sorry, just detected my typo error on "Virginia" in lines such as:
Col G contains the 6 destinations, eg: Virgina, Kentucky, etc
List the 6 destinations within say: E1:E6 (Virgina, Kentucky, etc)


It's crucial to ensure that there's consistency between the 6 destination
names entered in E1:E6, and the destination names found within col G in Daily
Log.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
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
Find Multiple instances of Single Criterion in Row & Return To a Single Col Sam via OfficeKB.com Excel Worksheet Functions 16 May 10th 06 03:00 AM
Find Numeric Criterion in Column & Return the Numeric Value from Row above Sam via OfficeKB.com Excel Worksheet Functions 6 April 27th 06 02:50 PM
link multiple cells to multiple cells jpoltor Excel Discussion (Misc queries) 1 March 22nd 06 08:10 AM
Give multiple charts on a worksheet/workbook same header or footer Ches Excel Discussion (Misc queries) 8 July 4th 05 09:29 PM
Give multiple charts on a worksheet/workbook same header or footer Ches Charts and Charting in Excel 2 July 4th 05 04:58 PM


All times are GMT +1. The time now is 11:28 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"