Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default sumproduct formula (multiple criteria)

=SUMPRODUCT(--(C1:C10<"Brand
A"),--(ISNUMBER(MATCH(B1:B10,G5:G6,0))),A1:A10)

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"merry_fay" wrote in message
...
Hi,

I've looked at this formula & can get it to work for my data if I type in
the criteria eg {"France","Italy"}, but what I really need is to be able
to
use a cell reference eg {G5,G6} instead. How can I change the formula to
do
this?

Thanks
Miranda

"Bob Phillips" wrote:

=SUMPRODUCT(--(C1:C10<"Brand
A"),--(ISNUMBER(MATCH(B1:B10,{"France","Italy"},0))),A1: A10)

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"Inter" wrote in message
...
Thanks for both of these ... very helpful.

Follow up question though - how about if i want to sum the cells in
column

A
that have "France" OR "Italy" in column B but DO NOT have "Brand A"
(i.e.

do
have anything apart from "Brand A") in column C?

Cheers
Stuart






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
Dynamic range names, multiple criteria, sumproduct [email protected] Excel Discussion (Misc queries) 1 September 20th 05 02:58 AM
multiple criteria in if or sumproduct tbird0566 Excel Worksheet Functions 1 September 19th 05 09:11 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
Sumproduct with a vLookup, multiple criteria Tom F Excel Worksheet Functions 3 May 6th 05 04:28 PM
Countif formula with multiple criteria ie >30 and <60? Dali Excel Worksheet Functions 2 January 7th 05 04:49 PM


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