#1   Report Post  
Fred Lavallee
 
Posts: n/a
Default sumif function

Is it possible to =sumif(and(a1:a10,"hello",c1:c10),(left(d1:d10,2)= "AD")
somethin like this?
  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

One way:

=SUMPRODUCT(--(A1:A10="hello"),--(LEFT(D1:D10,2)="AD"),C1:C10)

For an explanation of the "--", see

http://www.mcgimpsey.com/excel/doubleneg.html



In article ,
"Fred Lavallee" <Fred wrote:

Is it possible to =sumif(and(a1:a10,"hello",c1:c10),(left(d1:d10,2)= "AD")
somethin like this?

  #3   Report Post  
bj
 
Posts: n/a
Default

Try
=sumproduct(--(a1:a10="hello"),--(left(d1:d10,2)="AD"),c1:c10)

[the --( is to convert a logical true false to 1,0]

"Fred Lavallee" wrote:

Is it possible to =sumif(and(a1:a10,"hello",c1:c10),(left(d1:d10,2)= "AD")
somethin like this?

  #4   Report Post  
Alok
 
Posts: n/a
Default

Use Sumproduct instead.
=Sumproduct(--(A1:A10="hello"),--(left(d1:d10,2)="AD"),(C1:C10))
Alok Joshi

"Fred Lavallee" wrote:

Is it possible to =sumif(and(a1:a10,"hello",c1:c10),(left(d1:d10,2)= "AD")
somethin like this?

  #5   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

No, but you can use SUMPRODUCT

=SUMPRODUCT(--(A1:A10="hello"),--(LEFT(D1:D10,2)="AD"),C1:C10)


Regards,

Peo Sjoblom

"Fred Lavallee" wrote:

Is it possible to =sumif(and(a1:a10,"hello",c1:c10),(left(d1:d10,2)= "AD")
somethin like this?

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
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 04:30 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"