Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Ronen Toren
 
Posts: n/a
Default Need help with SUM IF formula

I have set up the following formula: =SUM(IF(D2:D21="IR",IF(C2:C21=53,1,0)))
it need to count when ever at D2:D21 there is an IR and at C2:C21 there is
value of 53.
When checking the formula I get the currect results but at the excel sheet I
get different number - how come?

Pls contact ronen.toren for picture to better explainthe issue




  #2   Report Post  
ehntd
 
Posts: n/a
Default


do a count if, that sounds like it would work better for you...


--
ehntd
------------------------------------------------------------------------
ehntd's Profile: http://www.excelforum.com/member.php...o&userid=15865
View this thread: http://www.excelforum.com/showthread...hreadid=277680

  #3   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
you have to enter this kind of formula as array formula with
CTRL+SHIFT+ENTER. After this the formula shoulb be shown enclosed with curly
brackets in the formula bar.

an alternative formula would be
=SUMPRODUCT(--(D2:D21="IR"),--(C2:C21=53))

See for this:
http://www.xldynamic.com/source/xld.SUMPRODUCT.html

"Ronen Toren" wrote:

I have set up the following formula: =SUM(IF(D2:D21="IR",IF(C2:C21=53,1,0)))
it need to count when ever at D2:D21 there is an IR and at C2:C21 there is
value of 53.
When checking the formula I get the currect results but at the excel sheet I
get different number - how come?

Pls contact ronen.toren for picture to better explainthe issue




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
revert formula insertion to old method Don't be a pain in the ass Setting up and Configuration of Excel 0 January 24th 05 01:49 PM
Simple formula doesn't quite add up circeo Excel Discussion (Misc queries) 3 January 17th 05 09:04 PM
Formula displays does not calculate Neil Bhandar Excel Discussion (Misc queries) 4 January 10th 05 10:55 PM
how do I make a formula NOT change when the data range is moved? Alida Andrews Excel Discussion (Misc queries) 2 January 6th 05 09:02 PM
Excel 2003 - Formula result shows as 0:00 Serena Excel Worksheet Functions 4 November 11th 04 10:18 PM


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