Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 20
Default SUMPRODUCT question, finding data on multiple criteria

Hi, I am trying to retrieve data from one worksheet (QBData_Feb) and dump it
into a template on a separate worksheet (CLC_Feb_Commissions). The
QBData_Feb worksheet is organized in rows where I am trying to find sales
figures (QBData_Feb!I4:I500) for various products based on two criteria
(QBData_Feb!B4:B500 and QBData_Feb!C4:C500). The criteria are designated in
the template worksheet and for the example below, are in column A (A7), and
in row 4 (J4).

There are many situations where the criteria combination could specify more
than one row/record in the QBData worksheet, so I need to sum the totals.
I've tried using this formula:

=SUMPRODUCT((QBData_Feb!B4:B500=A7),(QBData_Feb!C4 :C500=J4),(QBData_Feb!I4:I500))

Problem is, I am getting a #N/A result despite the fact that there is
definitely valid data.

If anyone has thoughts as to what I am doing wrong or has a better solution,
I would greatly appreciate the insight. Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default SUMPRODUCT question, finding data on multiple criteria

Problem is, I am getting a #N/A result despite the fact that there is
definitely valid data.


Do you have any #N/A "errors" in any of those ranges?

Try it like this:

=SUMPRODUCT(--(QBData_Feb!B4:B500=A7),--(QBData_Feb!C4:C500=J4),QBData_Feb!I4:I500)

Biff

"TravisB" wrote in message
...
Hi, I am trying to retrieve data from one worksheet (QBData_Feb) and dump
it
into a template on a separate worksheet (CLC_Feb_Commissions). The
QBData_Feb worksheet is organized in rows where I am trying to find sales
figures (QBData_Feb!I4:I500) for various products based on two criteria
(QBData_Feb!B4:B500 and QBData_Feb!C4:C500). The criteria are designated
in
the template worksheet and for the example below, are in column A (A7),
and
in row 4 (J4).

There are many situations where the criteria combination could specify
more
than one row/record in the QBData worksheet, so I need to sum the totals.
I've tried using this formula:

=SUMPRODUCT((QBData_Feb!B4:B500=A7),(QBData_Feb!C4 :C500=J4),(QBData_Feb!I4:I500))

Problem is, I am getting a #N/A result despite the fact that there is
definitely valid data.

If anyone has thoughts as to what I am doing wrong or has a better
solution,
I would greatly appreciate the insight. 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
SumProduct - multiple criteria and IF question ronnomad Excel Discussion (Misc queries) 12 January 31st 07 01:27 AM
finding data with multiple criteria carstowal Excel Discussion (Misc queries) 2 August 14th 06 03:41 PM
SumProduct With Multiple criteria Tony D Excel Worksheet Functions 1 February 24th 06 09:26 PM
Using Sumproduct with multiple Criteria Mark Jackson Excel Worksheet Functions 1 May 6th 05 10:07 PM
sumproduct using multiple criteria tifosi3 Excel Worksheet Functions 2 January 6th 05 08:46 PM


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