#1   Report Post  
Mike
 
Posts: n/a
Default Formula problem

can anyone tell me what is wrong with this?

=SUM(IF(K2:K3790 = "Tx",IF(O2:O3790 ="Yes",1,0),0))

Worked fine yesterday, counted the number of times K=TX and O = yes
  #2   Report Post  
aristotle
 
Posts: n/a
Default

Hi,

Maybe should be =SUMPRODUCT(--(K2:K3790="Trx"),--(02:O3790="Yes"))?

Cheers,
A

--
We are what we repeatedly do. Excellence, therefore, is not an act, but a
habit.


"Mike" wrote:

can anyone tell me what is wrong with this?

=SUM(IF(K2:K3790 = "Tx",IF(O2:O3790 ="Yes",1,0),0))

Worked fine yesterday, counted the number of times K=TX and O = yes

  #3   Report Post  
Ashish Mathur
 
Posts: n/a
Default

Hi,

This is an aray formula so you should do a Ctrl+Shift+Enter. If there is
still a problem, try the following (Ctrl+Shift+Enter):

=SUM(IF((K2:K3790 = "Tx")*(O2:O3790 ="Yes"),1,0))

Regards,


"Mike" wrote:

can anyone tell me what is wrong with this?

=SUM(IF(K2:K3790 = "Tx",IF(O2:O3790 ="Yes",1,0),0))

Worked fine yesterday, counted the number of times K=TX and O = yes

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
Formula problem on network Philip Reece-Heal Excel Discussion (Misc queries) 2 July 1st 05 01:15 PM
problem with Array Formula OrdOff Excel Worksheet Functions 2 June 30th 05 04:57 PM
Problem with formula Sundaram Iyer Excel Discussion (Misc queries) 0 June 1st 05 12:49 AM
Named SUM Formula with relative refernce(s) Werner Rohrmoser Excel Worksheet Functions 2 April 20th 05 04:56 PM
Need a formula for this problem Trying to excel in life but need help Excel Worksheet Functions 1 January 12th 05 11:05 AM


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