Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Belinda
 
Posts: n/a
Default Countif Formula with 2 calculations

Please help, I have a spreadsheet where l want to do a
count if calculation...

I want to calculate a category, which have for example A,
B, C in it and then l want to calculate the number of
times it has appeared as Overdue or Future which has been
worked out from another calculation. I am trying the
following calculation...

=COUNTIF('Outlook Tasks'!G2:G885,"A")=COUNTIF('Outlook
Tasks'!I2:I885,"OVERDUE")

I am getting "False" back....Please help, l am going
mental trying to work this out.


Thank you,


Belinda
  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

You typed = in the middle of your formula.

I think you meant +.



Belinda wrote:

Please help, I have a spreadsheet where l want to do a
count if calculation...

I want to calculate a category, which have for example A,
B, C in it and then l want to calculate the number of
times it has appeared as Overdue or Future which has been
worked out from another calculation. I am trying the
following calculation...

=COUNTIF('Outlook Tasks'!G2:G885,"A")=COUNTIF('Outlook
Tasks'!I2:I885,"OVERDUE")

I am getting "False" back....Please help, l am going
mental trying to work this out.

Thank you,

Belinda


--

Dave Peterson
  #3   Report Post  
duane
 
Posts: n/a
Default


I suspect this will not give the desired result,,,the sum of the two
sumif will give you the number of times "A" shows up in column G + the
number of time "OVERDUE" shows up in column I. I think you were
looking for the number of times item "A" was overdue, if so

=sumproduct(('Outlook Tasks'!G2:G885="A")*('Outlook
Tasks'!I2:I885="OVERDUE")*1)


--
duane


------------------------------------------------------------------------
duane's Profile: http://www.excelforum.com/member.php...o&userid=11624
View this thread: http://www.excelforum.com/showthread...hreadid=320491

  #4   Report Post  
Belinda
 
Posts: n/a
Default

sorry, l didn't put in my email address...please email me
directly.


Thank you,


Belinda
-----Original Message-----
Please help, I have a spreadsheet where l want to do a
count if calculation...

I want to calculate a category, which have for example A,
B, C in it and then l want to calculate the number of
times it has appeared as Overdue or Future which has been
worked out from another calculation. I am trying the
following calculation...

=COUNTIF('Outlook Tasks'!G2:G885,"A")=COUNTIF('Outlook
Tasks'!I2:I885,"OVERDUE")

I am getting "False" back....Please help, l am going
mental trying to work this out.


Thank you,


Belinda
.

  #5   Report Post  
Dave Peterson
 
Posts: n/a
Default

Ahh. I missed the point of the question.

=SUMPRODUCT(--('Outlook Tasks'!G2:G885="A"),
--('Outlook Tasks'!I2:I885="OVERDUE")
+('Outlook Tasks'!I2:I885="Future"))

To include "Future"



duane wrote:

I suspect this will not give the desired result,,,the sum of the two
sumif will give you the number of times "A" shows up in column G + the
number of time "OVERDUE" shows up in column I. I think you were
looking for the number of times item "A" was overdue, if so

=sumproduct(('Outlook Tasks'!G2:G885="A")*('Outlook
Tasks'!I2:I885="OVERDUE")*1)

--
duane

------------------------------------------------------------------------
duane's Profile: http://www.excelforum.com/member.php...o&userid=11624
View this thread: http://www.excelforum.com/showthread...hreadid=320491


--

Dave Peterson


  #6   Report Post  
Dave Peterson
 
Posts: n/a
Default

Or this one:

=SUMPRODUCT(('Outlook Tasks'!G2:G885="A")
*('Outlook Tasks'!I2:I885={"OVERDUE","Future"}))

Dave Peterson wrote:

Ahh. I missed the point of the question.

=SUMPRODUCT(--('Outlook Tasks'!G2:G885="A"),
--('Outlook Tasks'!I2:I885="OVERDUE")
+('Outlook Tasks'!I2:I885="Future"))

To include "Future"

duane wrote:

I suspect this will not give the desired result,,,the sum of the two
sumif will give you the number of times "A" shows up in column G + the
number of time "OVERDUE" shows up in column I. I think you were
looking for the number of times item "A" was overdue, if so

=sumproduct(('Outlook Tasks'!G2:G885="A")*('Outlook
Tasks'!I2:I885="OVERDUE")*1)

--
duane

------------------------------------------------------------------------
duane's Profile: http://www.excelforum.com/member.php...o&userid=11624
View this thread: http://www.excelforum.com/showthread...hreadid=320491


--

Dave Peterson


--

Dave Peterson
  #7   Report Post  
Belinda
 
Posts: n/a
Default

Nope, still getting an error.

-----Original Message-----
You typed = in the middle of your formula.

I think you meant +.



Belinda wrote:

Please help, I have a spreadsheet where l want to do a
count if calculation...

I want to calculate a category, which have for example

A,
B, C in it and then l want to calculate the number of
times it has appeared as Overdue or Future which has

been
worked out from another calculation. I am trying the
following calculation...

=COUNTIF('Outlook Tasks'!G2:G885,"A")=COUNTIF('Outlook
Tasks'!I2:I885,"OVERDUE")

I am getting "False" back....Please help, l am going
mental trying to work this out.

Thank you,

Belinda


--

Dave Peterson
.

  #8   Report Post  
Dave Peterson
 
Posts: n/a
Default

Did you try all the suggestions?

Belinda wrote:

Nope, still getting an error.

-----Original Message-----
You typed = in the middle of your formula.

I think you meant +.



Belinda wrote:

Please help, I have a spreadsheet where l want to do a
count if calculation...

I want to calculate a category, which have for example

A,
B, C in it and then l want to calculate the number of
times it has appeared as Overdue or Future which has

been
worked out from another calculation. I am trying the
following calculation...

=COUNTIF('Outlook Tasks'!G2:G885,"A")=COUNTIF('Outlook
Tasks'!I2:I885,"OVERDUE")

I am getting "False" back....Please help, l am going
mental trying to work this out.

Thank you,

Belinda


--

Dave Peterson
.


--

Dave Peterson
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
I've got a formula for stones and pounds - how do I get an excel . mikelenno Charts and Charting in Excel 4 January 25th 05 08:45 PM
formula help Bill H. Charts and Charting in Excel 2 January 2nd 05 05:26 AM
Data Label Value in Formula? Phil Hageman Charts and Charting in Excel 2 December 30th 04 05:07 PM
create a chart with a formula anon Charts and Charting in Excel 1 December 15th 04 08:55 PM
What is the formula for getting time difference e.g. ("4 hrs 15 m. Sandeep Manjrekar Charts and Charting in Excel 3 December 4th 04 05:18 AM


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