Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 127
Default Count occurences from one worksheet to another with "IF" Criteria

Hi Experts: I've done this before but it's been quite a while and I'm having
trouble getting the results I want....This is what I want to do: On
Worksheet 1, If Column €œA€ = €œABCD€ and Column €œH€ = €œDummy€, Count
Occurrences in Column €œI€ If Greater Than €œ0€ and Enter in Cell €œG4€ on
Worksheet 2.

Could someone tell me how to do this?

Thank you for any help you can provide

--
jeannie v
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Count occurences from one worksheet to another with "IF" Criteria

Try this:

=SUMPRODUCT(--(Sheet1!A1:A10="ABCD"),--(Sheet1!H1:H10="Dummy"),--(ISNUMBER(Sheet1!I1:I10)),--(Sheet1!I1:I100))

If column I will contain only numbers or empty cells then you can eliminate
the ISNUMBER test.

=SUMPRODUCT(--(Sheet1!A1:A10="ABCD"),--(Sheet1!H1:H10="Dummy"),--(Sheet1!I1:I100))


--
Biff
Microsoft Excel MVP


"jeannie v" wrote in message
...
Hi Experts: I've done this before but it's been quite a while and I'm
having
trouble getting the results I want....This is what I want to do: On
Worksheet 1, If Column "A" = "ABCD" and Column "H" = "Dummy", Count
Occurrences in Column "I" If Greater Than "0" and Enter in Cell "G4" on
Worksheet 2.

Could someone tell me how to do this?

Thank you for any help you can provide

--
jeannie v



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 127
Default Count occurences from one worksheet to another with "IF" Crite

Thank you, Biff: This works really good, but I still have the same problem
with it....There are 105 records but this formula only results to
104....There is one record that is a 2 Count and all the other records are a
1 Count....It appears that it is only extracting and counting the 1
Counts....Do you have any suggestions?

Thank you for your help,
--
jeannie v


"T. Valko" wrote:

Try this:

=SUMPRODUCT(--(Sheet1!A1:A10="ABCD"),--(Sheet1!H1:H10="Dummy"),--(ISNUMBER(Sheet1!I1:I10)),--(Sheet1!I1:I100))

If column I will contain only numbers or empty cells then you can eliminate
the ISNUMBER test.

=SUMPRODUCT(--(Sheet1!A1:A10="ABCD"),--(Sheet1!H1:H10="Dummy"),--(Sheet1!I1:I100))


--
Biff
Microsoft Excel MVP


"jeannie v" wrote in message
...
Hi Experts: I've done this before but it's been quite a while and I'm
having
trouble getting the results I want....This is what I want to do: On
Worksheet 1, If Column "A" = "ABCD" and Column "H" = "Dummy", Count
Occurrences in Column "I" If Greater Than "0" and Enter in Cell "G4" on
Worksheet 2.

Could someone tell me how to do this?

Thank you for any help you can provide

--
jeannie v




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 127
Default Count occurences from one worksheet to another with "IF" Crite

Hi Biff: My bad.....I think I found the error....It seems to work
perfectly....If I have any other problems, I will post again...

Thank you for your expertise....
--
jeannie v


"T. Valko" wrote:

Try this:

=SUMPRODUCT(--(Sheet1!A1:A10="ABCD"),--(Sheet1!H1:H10="Dummy"),--(ISNUMBER(Sheet1!I1:I10)),--(Sheet1!I1:I100))

If column I will contain only numbers or empty cells then you can eliminate
the ISNUMBER test.

=SUMPRODUCT(--(Sheet1!A1:A10="ABCD"),--(Sheet1!H1:H10="Dummy"),--(Sheet1!I1:I100))


--
Biff
Microsoft Excel MVP


"jeannie v" wrote in message
...
Hi Experts: I've done this before but it's been quite a while and I'm
having
trouble getting the results I want....This is what I want to do: On
Worksheet 1, If Column "A" = "ABCD" and Column "H" = "Dummy", Count
Occurrences in Column "I" If Greater Than "0" and Enter in Cell "G4" on
Worksheet 2.

Could someone tell me how to do this?

Thank you for any help you can provide

--
jeannie v




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Count occurences from one worksheet to another with "IF" Crite

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"jeannie v" wrote in message
...
Hi Biff: My bad.....I think I found the error....It seems to work
perfectly....If I have any other problems, I will post again...

Thank you for your expertise....
--
jeannie v


"T. Valko" wrote:

Try this:

=SUMPRODUCT(--(Sheet1!A1:A10="ABCD"),--(Sheet1!H1:H10="Dummy"),--(ISNUMBER(Sheet1!I1:I10)),--(Sheet1!I1:I100))

If column I will contain only numbers or empty cells then you can
eliminate
the ISNUMBER test.

=SUMPRODUCT(--(Sheet1!A1:A10="ABCD"),--(Sheet1!H1:H10="Dummy"),--(Sheet1!I1:I100))


--
Biff
Microsoft Excel MVP


"jeannie v" wrote in message
...
Hi Experts: I've done this before but it's been quite a while and I'm
having
trouble getting the results I want....This is what I want to do: On
Worksheet 1, If Column "A" = "ABCD" and Column "H" = "Dummy", Count
Occurrences in Column "I" If Greater Than "0" and Enter in Cell "G4"
on
Worksheet 2.

Could someone tell me how to do this?

Thank you for any help you can provide
--
jeannie v






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
EXCEL allow 2 options on status bar e.g. show "Count" + "Sum" LEJM Excel Discussion (Misc queries) 2 November 15th 07 07:49 PM
Count(if(A3:A200)="100000" if (B3:B200="Y") and (C3:C200=Z))) Prasad Excel Discussion (Misc queries) 2 June 27th 06 06:39 AM
Copy all records matching "Text" criteria to new worksheet StephenS Excel Worksheet Functions 3 May 15th 06 07:46 AM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM
Charting number of "name" occurences silentop Charts and Charting in Excel 1 March 9th 06 12:14 AM


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