LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

Bob Phillips wrote:
Julie,

He might mean

=SUMPRODUCT(--(A1:A6="Blue"),--(B1:B6=F1:F6),C1:C6)

Jeff,

If so, you can also do it with

=IF(A1:A6="Blue",SUMIF(B1:B6,F1:F6,C1:C6))

which is basically what you said, and is an array formula, so commit with
Ctrl-Shift-Enter.


I don't think these two formulas,

=SUMPRODUCT(--(A1:A6="Blue"),--(B1:B6=F1:F6),C1:C6)

and

{=IF(A1:A6="Blue",SUMIF(B1:B6,F1:F6,C1:C6))},

express equivalent computations. Try them on:

A1:C6 houses:

{"blue","a",5;"blue","a",4;"red","b",3;"blue","a", 2;"blue","a",1;"red","b",2}

F1:F6 houses:

{"a";"b";"c";"d";"e";"f"}


 
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
How to nest a left function within a sumif function? LisaK Excel Worksheet Functions 2 April 23rd 23 11:46 AM
SUMIF function yak10 Excel Worksheet Functions 0 February 12th 05 05:12 PM
SUMIF function yak10 Excel Worksheet Functions 3 February 12th 05 01:15 AM
help with "criterea" in the sumif function [email protected] Excel Worksheet Functions 3 December 17th 04 06:27 PM
how do you do a sumif function on more than one worksheet? BMWPRO Excel Worksheet Functions 1 December 6th 04 08:26 PM


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