Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Bob is offline
external usenet poster
 
Posts: 972
Default SUMPRODUCT Function

Im am using the following function and it works fine:
=SUMPRODUCT(--(PreProduction!$H$6:$H$5000=DATE(2006,6,5)),--(PreProduction!$H$6:$H$5000<=DATE(2006,12,31)),Pre Production!$F$6:$F$5000)

However after that date range I would also like to find Peoples names in
Column K before adding Column F
Something like:
=SUMPRODUCT(--(PreProduction!$H$6:$H$5000=DATE(2006,6,5)),--(PreProduction!$H$6:$H$5000<=DATE(2006,12,31))PreP roduction!$K$6:$K$5000="Frank",PreProduction!$F$6: $F$5000)

How do i write the function so it works? Thank you
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default SUMPRODUCT Function

Try the below.

=SUMPRODUCT(--(PreProduction!$H$6:$H$5000=DATE(2006,6,5)),
--(PreProduction!$H$6:$H$5000<=DATE(2006,12,31)),
--(PreProduction!$K$6:$K$5000="Frank"),PreProduction !$F$6:$F$5000)

If this post helps click Yes
---------------
Jacob Skaria


"Bob" wrote:

Im am using the following function and it works fine:
=SUMPRODUCT(--(PreProduction!$H$6:$H$5000=DATE(2006,6,5)),--(PreProduction!$H$6:$H$5000<=DATE(2006,12,31)),Pre Production!$F$6:$F$5000)

However after that date range I would also like to find Peoples names in
Column K before adding Column F
Something like:
=SUMPRODUCT(--(PreProduction!$H$6:$H$5000=DATE(2006,6,5)),--(PreProduction!$H$6:$H$5000<=DATE(2006,12,31))PreP roduction!$K$6:$K$5000="Frank",PreProduction!$F$6: $F$5000)

How do i write the function so it works? Thank you

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,533
Default SUMPRODUCT Function

Hi Bob

This should do it:

=SUMPRODUCT(--(PreProduction!$H$6:$H$5000=DATE(2006,6,5)),--(PreProduction!$H$6:$H$5000<=DATE(2006,12,31)),--(PreProduction!$K$6:$K$5000="Frank"),PreProduction !$F$6:$F$5000)

Regards,
Per

"Bob" skrev i meddelelsen
...
Im am using the following function and it works fine:
=SUMPRODUCT(--(PreProduction!$H$6:$H$5000=DATE(2006,6,5)),--(PreProduction!$H$6:$H$5000<=DATE(2006,12,31)),Pre Production!$F$6:$F$5000)

However after that date range I would also like to find Peoples names in
Column K before adding Column F
Something like:
=SUMPRODUCT(--(PreProduction!$H$6:$H$5000=DATE(2006,6,5)),--(PreProduction!$H$6:$H$5000<=DATE(2006,12,31))PreP roduction!$K$6:$K$5000="Frank",PreProduction!$F$6: $F$5000)

How do i write the function so it works? Thank you


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Bob is offline
external usenet poster
 
Posts: 972
Default SUMPRODUCT Function

Thank you works great.

"Jacob Skaria" wrote:

Try the below.

=SUMPRODUCT(--(PreProduction!$H$6:$H$5000=DATE(2006,6,5)),
--(PreProduction!$H$6:$H$5000<=DATE(2006,12,31)),
--(PreProduction!$K$6:$K$5000="Frank"),PreProduction !$F$6:$F$5000)

If this post helps click Yes
---------------
Jacob Skaria


"Bob" wrote:

Im am using the following function and it works fine:
=SUMPRODUCT(--(PreProduction!$H$6:$H$5000=DATE(2006,6,5)),--(PreProduction!$H$6:$H$5000<=DATE(2006,12,31)),Pre Production!$F$6:$F$5000)

However after that date range I would also like to find Peoples names in
Column K before adding Column F
Something like:
=SUMPRODUCT(--(PreProduction!$H$6:$H$5000=DATE(2006,6,5)),--(PreProduction!$H$6:$H$5000<=DATE(2006,12,31))PreP roduction!$K$6:$K$5000="Frank",PreProduction!$F$6: $F$5000)

How do i write the function so it works? Thank you

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
Sumproduct with Condition OR Sumproduct with ADDRESS function - HE gholly Excel Discussion (Misc queries) 2 September 28th 09 05:07 PM
#VALUE using SUMPRODUCT function Brooks W. Excel Worksheet Functions 3 September 23rd 09 10:09 PM
Help with SUMPRODUCT Function MattyP Excel Worksheet Functions 6 March 21st 09 08:30 PM
sumproduct function / VB user defined function aw Excel Discussion (Misc queries) 3 September 23rd 08 09:05 AM
SUMIF Function Inside SUMPRODUCT Function Abdul Waheed Excel Worksheet Functions 17 September 19th 05 04:24 PM


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