Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 150
Default CountIF-dual conditions

Hi,

I have two sets of data that I want to summarize in another worksheet in the
same book.

Here is the exact data:

Worksheet Name: APAC_JAPAN LEARNING PARTNERS
COL A COL B
Theater Mid year
APAC Yes
APAC No
APAC No
APAC No
APAC No
APAC No
JAPAN No
JAPAN No
JAPAN No
JAPAN No
APAC No
APAC Yes
APAC Yes
APAC No
APAC No
APAC No
APAC No
APAC No
APAC Yes
APAC No
APAC Yes
APAC No
APAC No
APAC No
JAPAN No
JAPAN No
JAPAN No

Worksheet Name: Summary
Mid-Year Review Status:
APAC Japan
Yes <ins forumula here <ins forumula here
No <ins forumula here <ins forumula here

I want to place a forumla in <ins forumla here which pulls from "APAC_JAPAN
LEARNING PARTNERS" COL A (Theater) = APAC and COL (Mid Year) = Yes. I must
pull the same data for Japan, and for the "No's".

I can figure out how to edit the formula for my other needs once I get a
good formula started :).

I've been trying CountIF's, Subproducts, IF, Match, Find's, and can't seem
to figure out the right combo. I'm sure it's easy but I'm new to excel
formulas...

Thanks!
Julie




  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default CountIF-dual conditions

say your data is in A1:B100. then for APAC/yes try:

=SUM(IF((A1:A100="APAC")*(B1:B100="yes");1;0))

change appropriately for Japan, no and other combinations

this is an array formula taht should be entered with CTRL+SHIFT+ENTER
instead of ENTER alone



"Julie" wrote:

Hi,

I have two sets of data that I want to summarize in another worksheet in the
same book.

Here is the exact data:

Worksheet Name: APAC_JAPAN LEARNING PARTNERS
COL A COL B
Theater Mid year
APAC Yes
APAC No
APAC No
APAC No
APAC No
APAC No
JAPAN No
JAPAN No
JAPAN No
JAPAN No
APAC No
APAC Yes
APAC Yes
APAC No
APAC No
APAC No
APAC No
APAC No
APAC Yes
APAC No
APAC Yes
APAC No
APAC No
APAC No
JAPAN No
JAPAN No
JAPAN No

Worksheet Name: Summary
Mid-Year Review Status:
APAC Japan
Yes <ins forumula here <ins forumula here
No <ins forumula here <ins forumula here

I want to place a forumla in <ins forumla here which pulls from "APAC_JAPAN
LEARNING PARTNERS" COL A (Theater) = APAC and COL (Mid Year) = Yes. I must
pull the same data for Japan, and for the "No's".

I can figure out how to edit the formula for my other needs once I get a
good formula started :).

I've been trying CountIF's, Subproducts, IF, Match, Find's, and can't seem
to figure out the right combo. I'm sure it's easy but I'm new to excel
formulas...

Thanks!
Julie




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default change ; to ,



"Julie" wrote:

Hi,

I have two sets of data that I want to summarize in another worksheet in the
same book.

Here is the exact data:

Worksheet Name: APAC_JAPAN LEARNING PARTNERS
COL A COL B
Theater Mid year
APAC Yes
APAC No
APAC No
APAC No
APAC No
APAC No
JAPAN No
JAPAN No
JAPAN No
JAPAN No
APAC No
APAC Yes
APAC Yes
APAC No
APAC No
APAC No
APAC No
APAC No
APAC Yes
APAC No
APAC Yes
APAC No
APAC No
APAC No
JAPAN No
JAPAN No
JAPAN No

Worksheet Name: Summary
Mid-Year Review Status:
APAC Japan
Yes <ins forumula here <ins forumula here
No <ins forumula here <ins forumula here

I want to place a forumla in <ins forumla here which pulls from "APAC_JAPAN
LEARNING PARTNERS" COL A (Theater) = APAC and COL (Mid Year) = Yes. I must
pull the same data for Japan, and for the "No's".

I can figure out how to edit the formula for my other needs once I get a
good formula started :).

I've been trying CountIF's, Subproducts, IF, Match, Find's, and can't seem
to figure out the right combo. I'm sure it's easy but I'm new to excel
formulas...

Thanks!
Julie




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default CountIF-dual conditions

change ; to ,

SORRY

"Julie" wrote:

Hi,

I have two sets of data that I want to summarize in another worksheet in the
same book.

Here is the exact data:

Worksheet Name: APAC_JAPAN LEARNING PARTNERS
COL A COL B
Theater Mid year
APAC Yes
APAC No
APAC No
APAC No
APAC No
APAC No
JAPAN No
JAPAN No
JAPAN No
JAPAN No
APAC No
APAC Yes
APAC Yes
APAC No
APAC No
APAC No
APAC No
APAC No
APAC Yes
APAC No
APAC Yes
APAC No
APAC No
APAC No
JAPAN No
JAPAN No
JAPAN No

Worksheet Name: Summary
Mid-Year Review Status:
APAC Japan
Yes <ins forumula here <ins forumula here
No <ins forumula here <ins forumula here

I want to place a forumla in <ins forumla here which pulls from "APAC_JAPAN
LEARNING PARTNERS" COL A (Theater) = APAC and COL (Mid Year) = Yes. I must
pull the same data for Japan, and for the "No's".

I can figure out how to edit the formula for my other needs once I get a
good formula started :).

I've been trying CountIF's, Subproducts, IF, Match, Find's, and can't seem
to figure out the right combo. I'm sure it's easy but I'm new to excel
formulas...

Thanks!
Julie




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 150
Default CountIF-dual conditions

Hi,

Thanks :). I still get an error...not sure why. The error message isn't
specific but directs me to the Help menu.

Can I select Theater Column entirely by A:A and Mid Year columb B:B?

Here is the formula (which directs to the appropriate tab/column range in my
workbook):

=SUM(IF(('APAC_JAPAN LEARNING PARTNERS'!A:A="APAC")*('APAC_JAPAN LEARNING
PARTNERS'!B:B="yes");1;0))

I will be adding rows as I go so don't want to limit the search range...

Thanks,
Julie

"Jarek Kujawa" wrote:

say your data is in A1:B100. then for APAC/yes try:

=SUM(IF((A1:A100="APAC")*(B1:B100="yes");1;0))

change appropriately for Japan, no and other combinations

this is an array formula taht should be entered with CTRL+SHIFT+ENTER
instead of ENTER alone



"Julie" wrote:

Hi,

I have two sets of data that I want to summarize in another worksheet in the
same book.

Here is the exact data:

Worksheet Name: APAC_JAPAN LEARNING PARTNERS
COL A COL B
Theater Mid year
APAC Yes
APAC No
APAC No
APAC No
APAC No
APAC No
JAPAN No
JAPAN No
JAPAN No
JAPAN No
APAC No
APAC Yes
APAC Yes
APAC No
APAC No
APAC No
APAC No
APAC No
APAC Yes
APAC No
APAC Yes
APAC No
APAC No
APAC No
JAPAN No
JAPAN No
JAPAN No

Worksheet Name: Summary
Mid-Year Review Status:
APAC Japan
Yes <ins forumula here <ins forumula here
No <ins forumula here <ins forumula here

I want to place a forumla in <ins forumla here which pulls from "APAC_JAPAN
LEARNING PARTNERS" COL A (Theater) = APAC and COL (Mid Year) = Yes. I must
pull the same data for Japan, and for the "No's".

I can figure out how to edit the formula for my other needs once I get a
good formula started :).

I've been trying CountIF's, Subproducts, IF, Match, Find's, and can't seem
to figure out the right combo. I'm sure it's easy but I'm new to excel
formulas...

Thanks!
Julie






  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 150
Default CountIF-dual conditions

It multiplied the two data sets after I referenced it to the other sheet:
=SUM(IF(('APAC_JAPAN LEARNING PARTNERS'!A:A="APAC")*('APAC_JAPAN LEARNING
PARTNERS'!B:B="yes"),1,0))


"Jarek Kujawa" wrote:

say your data is in A1:B100. then for APAC/yes try:

=SUM(IF((A1:A100="APAC")*(B1:B100="yes");1;0))

change appropriately for Japan, no and other combinations

this is an array formula taht should be entered with CTRL+SHIFT+ENTER
instead of ENTER alone



"Julie" wrote:

Hi,

I have two sets of data that I want to summarize in another worksheet in the
same book.

Here is the exact data:

Worksheet Name: APAC_JAPAN LEARNING PARTNERS
COL A COL B
Theater Mid year
APAC Yes
APAC No
APAC No
APAC No
APAC No
APAC No
JAPAN No
JAPAN No
JAPAN No
JAPAN No
APAC No
APAC Yes
APAC Yes
APAC No
APAC No
APAC No
APAC No
APAC No
APAC Yes
APAC No
APAC Yes
APAC No
APAC No
APAC No
JAPAN No
JAPAN No
JAPAN No

Worksheet Name: Summary
Mid-Year Review Status:
APAC Japan
Yes <ins forumula here <ins forumula here
No <ins forumula here <ins forumula here

I want to place a forumla in <ins forumla here which pulls from "APAC_JAPAN
LEARNING PARTNERS" COL A (Theater) = APAC and COL (Mid Year) = Yes. I must
pull the same data for Japan, and for the "No's".

I can figure out how to edit the formula for my other needs once I get a
good formula started :).

I've been trying CountIF's, Subproducts, IF, Match, Find's, and can't seem
to figure out the right combo. I'm sure it's easy but I'm new to excel
formulas...

Thanks!
Julie




  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default CountIF-dual conditions

1. of course you are right - I forgot about adding 'APAC_JAPAN LEARNING
PARTNERS' to the formula
2. you can reference as A:A or B:B
3. don't know about multiplication, summing works fine on my Excel 2003


"Julie" wrote:

It multiplied the two data sets after I referenced it to the other sheet:
=SUM(IF(('APAC_JAPAN LEARNING PARTNERS'!A:A="APAC")*('APAC_JAPAN LEARNING
PARTNERS'!B:B="yes"),1,0))


"Jarek Kujawa" wrote:

say your data is in A1:B100. then for APAC/yes try:

=SUM(IF((A1:A100="APAC")*(B1:B100="yes");1;0))

change appropriately for Japan, no and other combinations

this is an array formula taht should be entered with CTRL+SHIFT+ENTER
instead of ENTER alone



"Julie" wrote:

Hi,

I have two sets of data that I want to summarize in another worksheet in the
same book.

Here is the exact data:

Worksheet Name: APAC_JAPAN LEARNING PARTNERS
COL A COL B
Theater Mid year
APAC Yes
APAC No
APAC No
APAC No
APAC No
APAC No
JAPAN No
JAPAN No
JAPAN No
JAPAN No
APAC No
APAC Yes
APAC Yes
APAC No
APAC No
APAC No
APAC No
APAC No
APAC Yes
APAC No
APAC Yes
APAC No
APAC No
APAC No
JAPAN No
JAPAN No
JAPAN No

Worksheet Name: Summary
Mid-Year Review Status:
APAC Japan
Yes <ins forumula here <ins forumula here
No <ins forumula here <ins forumula here

I want to place a forumla in <ins forumla here which pulls from "APAC_JAPAN
LEARNING PARTNERS" COL A (Theater) = APAC and COL (Mid Year) = Yes. I must
pull the same data for Japan, and for the "No's".

I can figure out how to edit the formula for my other needs once I get a
good formula started :).

I've been trying CountIF's, Subproducts, IF, Match, Find's, and can't seem
to figure out the right combo. I'm sure it's easy but I'm new to excel
formulas...

Thanks!
Julie




  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default CountIF-dual conditions

Your formula looks OK. You have to commit with ctrl+shift+enter to execute,
not just enter

"Julie" wrote:

It multiplied the two data sets after I referenced it to the other sheet:
=SUM(IF(('APAC_JAPAN LEARNING PARTNERS'!A:A="APAC")*('APAC_JAPAN LEARNING
PARTNERS'!B:B="yes"),1,0))


"Jarek Kujawa" wrote:

say your data is in A1:B100. then for APAC/yes try:

=SUM(IF((A1:A100="APAC")*(B1:B100="yes");1;0))

change appropriately for Japan, no and other combinations

this is an array formula taht should be entered with CTRL+SHIFT+ENTER
instead of ENTER alone



"Julie" wrote:

Hi,

I have two sets of data that I want to summarize in another worksheet in the
same book.

Here is the exact data:

Worksheet Name: APAC_JAPAN LEARNING PARTNERS
COL A COL B
Theater Mid year
APAC Yes
APAC No
APAC No
APAC No
APAC No
APAC No
JAPAN No
JAPAN No
JAPAN No
JAPAN No
APAC No
APAC Yes
APAC Yes
APAC No
APAC No
APAC No
APAC No
APAC No
APAC Yes
APAC No
APAC Yes
APAC No
APAC No
APAC No
JAPAN No
JAPAN No
JAPAN No

Worksheet Name: Summary
Mid-Year Review Status:
APAC Japan
Yes <ins forumula here <ins forumula here
No <ins forumula here <ins forumula here

I want to place a forumla in <ins forumla here which pulls from "APAC_JAPAN
LEARNING PARTNERS" COL A (Theater) = APAC and COL (Mid Year) = Yes. I must
pull the same data for Japan, and for the "No's".

I can figure out how to edit the formula for my other needs once I get a
good formula started :).

I've been trying CountIF's, Subproducts, IF, Match, Find's, and can't seem
to figure out the right combo. I'm sure it's easy but I'm new to excel
formulas...

Thanks!
Julie




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 two conditions Jaydubs Excel Discussion (Misc queries) 3 July 19th 06 10:28 AM
Countif with conditions Mosqui Excel Worksheet Functions 2 December 5th 05 04:10 AM
Using countif with 2 conditions Cheryl W Excel Worksheet Functions 2 September 14th 05 03:38 PM
COUNTIF for 2 conditions Bruce Excel Worksheet Functions 4 June 15th 05 01:22 PM
COUNTIF with two conditions Doodlemeyer Excel Worksheet Functions 2 March 20th 05 09:05 PM


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