Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default CountIf multiple conditions

Hi all,
I have what seems to be a simple problem, but for some reason I cannot get
this
formulae to work....


=IF(AND(COUNTIF(Week1!$G$2:G11,Week2!G2)=0,(Week1! $B$2:B11,Week2!B2)=0,"No","Yes"))

I know I am doing something wrong but not sure what?! Probably me being
stupid and missing something simple here.

Thanks in advance!
Ash.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 320
Default CountIf multiple conditions

=IF(AND(COUNTIF(Week1!$G$2:G11,Week2!G2)=0,COUNTIF (Week1!$B$2:B11,Week2!B2)=0),"No","Yes")
Bob Umlas
Excel MVP

"ashg657" wrote:

Hi all,
I have what seems to be a simple problem, but for some reason I cannot get
this
formulae to work....


=IF(AND(COUNTIF(Week1!$G$2:G11,Week2!G2)=0,(Week1! $B$2:B11,Week2!B2)=0,"No","Yes"))

I know I am doing something wrong but not sure what?! Probably me being
stupid and missing something simple here.

Thanks in advance!
Ash.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default CountIf multiple conditions

Great stuff, thanks Bob!
What I am trying to achieve is having 2 worksheets, one for Week1 and one
for Week2, In week 2 I have a list of amounts which i want to lookup on Week1
to see whether or not they existed in Week1, if they do then return "Yes"
else return a "No", Question is - this formulae will do the job yes? If not
could you point me in the right direction? Many thanks.

"Bob Umlas, Excel MVP" wrote:

=IF(AND(COUNTIF(Week1!$G$2:G11,Week2!G2)=0,COUNTIF (Week1!$B$2:B11,Week2!B2)=0),"No","Yes")
Bob Umlas
Excel MVP

"ashg657" wrote:

Hi all,
I have what seems to be a simple problem, but for some reason I cannot get
this
formulae to work....


=IF(AND(COUNTIF(Week1!$G$2:G11,Week2!G2)=0,(Week1! $B$2:B11,Week2!B2)=0,"No","Yes"))

I know I am doing something wrong but not sure what?! Probably me being
stupid and missing something simple here.

Thanks in advance!
Ash.

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
COUNTIF with multiple conditions Eric Excel Discussion (Misc queries) 3 October 16th 06 06:29 PM
CountIf with multiple conditions Thor Excel Worksheet Functions 2 September 22nd 06 08:59 PM
Multiple conditions on a countif Mr Mike Excel Worksheet Functions 5 January 24th 06 02:52 PM
COUNTIF and multiple conditions Sami Excel Worksheet Functions 1 September 28th 05 09:03 AM
COUNTIF - multiple conditions allphin Excel Worksheet Functions 4 September 18th 05 04:05 PM


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