#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default SUMIF question

I wanted to conitionally SUM All Ds For which the correspoding C cell is
1.* or 2.* or 3.*

I tried something like following. which did not work
=SUMIF(C1:C100, "=AND(C11,C1 <2)", D1:D100)

C D
1.1 5
1.2 4
1.3 3
2.1 1
2.2 1
2.3 1

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default SUMIF question

=SUMPRODUCT(--(C1:C1001),--(C1:C100<2),D1:D100)

"Shan" wrote:

I wanted to conitionally SUM All Ds For which the correspoding C cell is
1.* or 2.* or 3.*

I tried something like following. which did not work
=SUMIF(C1:C100, "=AND(C11,C1 <2)", D1:D100)

C D
1.1 5
1.2 4
1.3 3
2.1 1
2.2 1
2.3 1

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
SUMIF Ferg Excel Worksheet Functions 3 February 28th 06 03:37 AM
SUMIF Question Criteria Dave Excel Worksheet Functions 3 February 8th 06 12:48 PM
Embedding a Sumif in a sumif C.Pflugrath Excel Worksheet Functions 5 August 31st 05 07:31 PM
SUMIF with Mutiple Ranges & Criteria PokerZan Excel Discussion (Misc queries) 5 August 4th 05 10:31 PM
sumif Question Jason Excel Discussion (Misc queries) 4 March 15th 05 04:11 PM


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