#1   Report Post  
GregR
 
Posts: n/a
Default Match 2 Criteria

I need help with a formulas to populate a table that has Project
numbers on sheet1, range(a5:a120) that I want to match to sheet2,
range(a5:a17244) and return the sum of values, sheet2, range(f5:f17242)
that match Jan, entered as 1, found in sheet2, range(i5:i17244). Then
repeat for Feb, Mar, etc. Any help would be greatly appreciated. TIA

Greg

  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

Here's what I think you're asking for...

In sheet1 B5 enter this formula and copy down to B120:

=SUMPRODUCT(--(Sheet2!A$5:A$17244=A5),--(Sheet2!I$5:I$17244=1),Sheet2!F$5:F$17244)

For the other months: Feb, Mar, Apr etc, replace the 1 in the formula with
the corresponding month number or enter the month number in a cell and
reference that cell:

=SUMPRODUCT(--(Sheet2!A$5:A$17244=A5),--(Sheet2!I$5:I$17244=A$1),Sheet2!F$5:F$17244)

Biff

"GregR" wrote in message
oups.com...
I need help with a formulas to populate a table that has Project
numbers on sheet1, range(a5:a120) that I want to match to sheet2,
range(a5:a17244) and return the sum of values, sheet2, range(f5:f17242)
that match Jan, entered as 1, found in sheet2, range(i5:i17244). Then
repeat for Feb, Mar, etc. Any help would be greatly appreciated. TIA

Greg



  #3   Report Post  
GregR
 
Posts: n/a
Default

Biff, not only did you figure out the answer you figured out my question,
which may have been much harder. Thank you

Greg
"Biff" wrote in message
...
Hi!

Here's what I think you're asking for...

In sheet1 B5 enter this formula and copy down to B120:

=SUMPRODUCT(--(Sheet2!A$5:A$17244=A5),--(Sheet2!I$5:I$17244=1),Sheet2!F$5:F$17244)

For the other months: Feb, Mar, Apr etc, replace the 1 in the formula with
the corresponding month number or enter the month number in a cell and
reference that cell:

=SUMPRODUCT(--(Sheet2!A$5:A$17244=A5),--(Sheet2!I$5:I$17244=A$1),Sheet2!F$5:F$17244)

Biff

"GregR" wrote in message
oups.com...
I need help with a formulas to populate a table that has Project
numbers on sheet1, range(a5:a120) that I want to match to sheet2,
range(a5:a17244) and return the sum of values, sheet2, range(f5:f17242)
that match Jan, entered as 1, found in sheet2, range(i5:i17244). Then
repeat for Feb, Mar, etc. Any help would be greatly appreciated. TIA

Greg





  #4   Report Post  
Biff
 
Posts: n/a
Default

You're welcome! Thanks for the feedback.

Biff

"GregR" wrote in message
...
Biff, not only did you figure out the answer you figured out my question,
which may have been much harder. Thank you

Greg
"Biff" wrote in message
...
Hi!

Here's what I think you're asking for...

In sheet1 B5 enter this formula and copy down to B120:

=SUMPRODUCT(--(Sheet2!A$5:A$17244=A5),--(Sheet2!I$5:I$17244=1),Sheet2!F$5:F$17244)

For the other months: Feb, Mar, Apr etc, replace the 1 in the formula
with the corresponding month number or enter the month number in a cell
and reference that cell:

=SUMPRODUCT(--(Sheet2!A$5:A$17244=A5),--(Sheet2!I$5:I$17244=A$1),Sheet2!F$5:F$17244)

Biff

"GregR" wrote in message
oups.com...
I need help with a formulas to populate a table that has Project
numbers on sheet1, range(a5:a120) that I want to match to sheet2,
range(a5:a17244) and return the sum of values, sheet2, range(f5:f17242)
that match Jan, entered as 1, found in sheet2, range(i5:i17244). Then
repeat for Feb, Mar, etc. Any help would be greatly appreciated. TIA

Greg







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
Copy Rows if Lookup Criteria Match vdoubleu Excel Discussion (Misc queries) 0 March 29th 05 06:43 PM
Match with 2 Lookup_Values used as search criteria. Sigmaz Excel Worksheet Functions 4 March 23rd 05 03:03 AM
Match with 2 Lookup_Values used as search criteria. Sigmaz Excel Worksheet Functions 0 March 21st 05 08:13 PM
Match with 2 Lookup_Values used as search criteria. Sigmaz Excel Worksheet Functions 0 March 21st 05 08:13 PM
Find a match that;s not exact Phyllis Excel Worksheet Functions 0 November 8th 04 08:12 PM


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