PC Review


Reply
Thread Tools Rate Thread

count if for 2 conditions

 
 
AwesomeSean
Guest
Posts: n/a
 
      26th Jun 2009

I am trying to create a formula and have had no success in checking 2
different colums for certian text. If both colums/boxes match, then 1 if not
then don't count. I have tried sumiif, count if, counta, sumproduct with no
luck. Does anyone have any ideas?
 
Reply With Quote
 
 
 
 
Ken
Guest
Posts: n/a
 
      26th Jun 2009
If you are using Excel 2003 I believe the only one that will work is
sumproduct; but it can do pretty much anything, however, it can be a
little tricky. Provide some more information please.

Ken

On Jun 26, 5:05*pm, AwesomeSean
<AwesomeS...@discussions.microsoft.com> wrote:
> I am trying to create a formula and have had no success in checking 2
> different colums for certian text. If both colums/boxes match, then 1 if not
> then don't count. I have tried sumiif, count if, counta, sumproduct with no
> luck. Does anyone have any ideas?


 
Reply With Quote
 
AwesomeSean
Guest
Posts: n/a
 
      27th Jun 2009

I actually figured it out. Here is what I did.
=SUMPRODUCT((Monday!$C2:$C154="Scheduled")*(Monday!$D2:$D154="Rescheduled"))

All I wanted to do was have excel return me a 1 if it was true and do
nothing if it was false so with this i am looking in 2 different colums.
Column A should say "scheduled" and column b should say "Rescheduled" and if
they do then count 1

I tried all day to figure this out and actually what i was doing wrong is i
was trying to look at the whole column which this formula will not do.
As soon as i gave it a range, BINGO. It worked. I hope this helps someone
else out having this same concern.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Count with conditions? Geo Microsoft Excel Misc 8 17th Aug 2009 01:59 AM
Count but with conditions v!v Microsoft Excel Worksheet Functions 3 30th Aug 2008 02:38 AM
Count if - 2 conditions orquidea Microsoft Excel Misc 7 5th Feb 2008 07:52 PM
How to count after 2 conditions are met =?Utf-8?B?RGF2ZSBTY2h3aW5nZXI=?= Microsoft Excel Worksheet Functions 3 3rd Apr 2006 09:29 PM
Various conditions met - Count Les Stout Microsoft Excel Programming 2 9th Mar 2004 07:10 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:15 AM.