LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 72
Default Can I use COUNTIF for 2 separate IF queries?

I'm trying to count the total number of successful changes within a given
timeframe but I either get a 'value' return, or it says I'm adding too many
queries. I want to count each entry with the text 'success' in one column
within a 7 day range. So column 'x' will be a date, and column 'y' will
either say 'success' 'withdrawn' or 'refused'. So far I've tried:

=IF(AND('RFCs in Progress'!Y2:Y502,"success",'RFCs in
Progress'!X2:X502,"28/12/2008"),"1","0")

but that produces a 'value' result rather than the total number so it must
be wrong. I've also tried

=AND(countif,'RFCs in Progress'!X2:X58028/12/2008,'RFCs in
Progress'!Y2:Y580,"success")

but that gives me a 'name' result so must also be wrong. Is it because I'm
comparing too many things or because I'm trying to use dates? Any help
greatly appreciated I've been trying to do this for ages!
 
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
Simple ? countif, 3 separate conditions across multi tabs Steve Excel Worksheet Functions 8 January 3rd 09 05:59 AM
COUNTIF for criteria in two separate columns (Excel 2003) Mimi Excel Worksheet Functions 5 January 11th 07 09:06 PM
can countif function look at 2 separate columns for criteria blake7 Excel Worksheet Functions 2 March 16th 06 08:07 PM
Open Excel files in separate sessions, not just separate windows? Bob at Dexia Design Excel Discussion (Misc queries) 1 October 18th 05 05:46 PM
How do I set up an array using countif for 2 separate arguments. crich Excel Worksheet Functions 5 August 16th 05 09:22 AM


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