Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default Need Countifs Formula Help

I have created the formula =COUNTIFS('FEB
FY10'!$P$7:$P$126,"Australia",$BG$7:$BG$126,"= 100")/C19. The problem is
that cells BG7:BG126 contain a formula so the formula returns a value of 0 as
it does not see the results of the formula in BG7:BG126. How can I make this
work
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Need Countifs Formula Help

Works OK for me. Maybe the cells don't exactly equal 100?

I would write this: "= 100" simply as 100:

=COUNTIFS('FEB FY10'!$P$7:$P$126,"Australia",$BG$7:$BG$126,100)/C19

--
Biff
Microsoft Excel MVP


"ottodesque" wrote in message
...
I have created the formula =COUNTIFS('FEB
FY10'!$P$7:$P$126,"Australia",$BG$7:$BG$126,"= 100")/C19. The problem is
that cells BG7:BG126 contain a formula so the formula returns a value of 0
as
it does not see the results of the formula in BG7:BG126. How can I make
this
work



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default Need Countifs Formula Help

I tried copying in the formala below and still got a value of 0 in my target
cell. Perhaps more detail is needed: 'Feb FY10'!$P$7 contains text ie
Australia, $BG$7 contains =IF(C70,(BD7)*-6.25+100,""), and C19 contains
=COUNTIF('FEB FY10'!$P$7:$P$126,"Australia"). Hopefully this will help

"T. Valko" wrote:

Works OK for me. Maybe the cells don't exactly equal 100?

I would write this: "= 100" simply as 100:

=COUNTIFS('FEB FY10'!$P$7:$P$126,"Australia",$BG$7:$BG$126,100)/C19

--
Biff
Microsoft Excel MVP


"ottodesque" wrote in message
...
I have created the formula =COUNTIFS('FEB
FY10'!$P$7:$P$126,"Australia",$BG$7:$BG$126,"= 100")/C19. The problem is
that cells BG7:BG126 contain a formula so the formula returns a value of 0
as
it does not see the results of the formula in BG7:BG126. How can I make
this
work




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Need Countifs Formula Help

Try this formula:

=SUMPRODUCT(--('FEB FY10'!$P$7:$P$126="Australia"),--($BG$7:$BG$126=100))

If the result is 0 then there are either no rows where both conditions are
met or you have data problems.

There may be unseen characters like leading/trailing spaces in $P$7:$P$126.
$BG$7:$BG$126 may not exactly equal 100. The true value might be something
like 100.000005. You're using this formula in which you're doing
calculations with decimals.

=IF(C70,(BD7)*-6.25+100,"")

So how many of those formula return *exactly* 100?

--
Biff
Microsoft Excel MVP


"ottodesque" wrote in message
...
I tried copying in the formala below and still got a value of 0 in my
target
cell. Perhaps more detail is needed: 'Feb FY10'!$P$7 contains text ie
Australia, $BG$7 contains =IF(C70,(BD7)*-6.25+100,""), and C19 contains
=COUNTIF('FEB FY10'!$P$7:$P$126,"Australia"). Hopefully this will help

"T. Valko" wrote:

Works OK for me. Maybe the cells don't exactly equal 100?

I would write this: "= 100" simply as 100:

=COUNTIFS('FEB FY10'!$P$7:$P$126,"Australia",$BG$7:$BG$126,100)/C19

--
Biff
Microsoft Excel MVP


"ottodesque" wrote in message
...
I have created the formula =COUNTIFS('FEB
FY10'!$P$7:$P$126,"Australia",$BG$7:$BG$126,"= 100")/C19. The problem
is
that cells BG7:BG126 contain a formula so the formula returns a value
of 0
as
it does not see the results of the formula in BG7:BG126. How can I
make
this
work






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
CountIfs vreeckes Excel Worksheet Functions 4 February 19th 09 02:57 AM
COUNTIFS with an OR? RobofMN Excel Worksheet Functions 3 January 20th 09 01:58 AM
Countifs to Sumproduct for 2003 - was Simple Countifs.. from Fr Steve Excel Worksheet Functions 2 January 4th 09 05:36 PM
"countifs" convert to formula in XL2002 Alan Excel Worksheet Functions 2 February 11th 08 10:01 AM
COUNTIFS Formula Problem Jim Excel Worksheet Functions 6 November 20th 07 04:39 PM


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