Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,560
Default multiple criteria from single worksheet

Worksheet 1 - I have dates in column A, customer name in column B, product
type in column C & qty in column D

Date Supplier Grade Litres
17-Feb-10 ABC ULSGO 55,988
01-Feb-10 DEF Gas Oil 58,997
26-Feb-10 ABC Derv 3,000

In another workbook (workbook 2) I am trying to list by customer by product
the qty of litres supplied in date order. i.e. 1-1-2010 thru to 31-12-2010
and therefore under 01-Feb-10 DEF will show:-

Column A Column B Column C Column D
Date Derv Gas Oil Kero
01-Feb-10 0 58997 0
02-Feb-10 0 0 0 etc

What formula do i use along the lines of... if worksheet 1 column a =
01-Feb-10 in worksheet 2 & if worksheet 1 column B = DEF & if worksheet 1
column C = ColumnC row 2 in worksheet 2 return 58997 otherwise 0

Thanks..
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default multiple criteria from single worksheet

SumProduct is probably what you want...

http://www.xldynamic.com/source/xld.SUMPRODUCT.html
--
HTH...

Jim Thomlinson


"David" wrote:

Worksheet 1 - I have dates in column A, customer name in column B, product
type in column C & qty in column D

Date Supplier Grade Litres
17-Feb-10 ABC ULSGO 55,988
01-Feb-10 DEF Gas Oil 58,997
26-Feb-10 ABC Derv 3,000

In another workbook (workbook 2) I am trying to list by customer by product
the qty of litres supplied in date order. i.e. 1-1-2010 thru to 31-12-2010
and therefore under 01-Feb-10 DEF will show:-

Column A Column B Column C Column D
Date Derv Gas Oil Kero
01-Feb-10 0 58997 0
02-Feb-10 0 0 0 etc

What formula do i use along the lines of... if worksheet 1 column a =
01-Feb-10 in worksheet 2 & if worksheet 1 column B = DEF & if worksheet 1
column C = ColumnC row 2 in worksheet 2 return 58997 otherwise 0

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
Lookup multiple criteria for a single result Dave H[_3_] Excel Discussion (Misc queries) 1 November 19th 09 01:26 AM
Sumproduct, single criteria identified within multiple in single c Monte Excel Discussion (Misc queries) 4 July 18th 09 11:21 PM
Counting Multiple columns using single criteria Vikefan Excel Worksheet Functions 1 June 24th 08 02:58 AM
Sum single or duplicate rows with multiple criteria Lisa B Excel Worksheet Functions 3 August 15th 07 08:29 AM
sumproduct with multiple criteria in single column my Excel Discussion (Misc queries) 4 July 5th 07 07:57 PM


All times are GMT +1. The time now is 09:07 AM.

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"