Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 336
Default Sumif / countif Problem

I want to calculate the number of actions closed and number of actions
pending as following. Column C I use Countif to solve. Column D and E???

Worksheet A is the summary of worksheet B
Column B Column C Column D Column E
(Name of Action needed) Total actions Actions closed Actions pending
Name A 3 ?
?
Name B 4 ?
?
Name C 3 ?
?
Name D 3 ?
?

Worksheet B
Column H Column K Column AC
(Actions Items) (Name for actions) (Action closed date)
Do A Name A 01 Jan 08
Do B Name A
Do C Name A 02 Jan 08
Do D Name B 01 Feb 08
..
..
..

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Sumif / countif Problem

For actions closed:

=SUMPRODUCT(--(Sheet2!K$2:K$100=B2),--(Sheet2!AC$2:AC$100<""))

For pending actions:

=SUMPRODUCT(--(Sheet2!K$2:K$100=B2),--(Sheet2!AC$2:AC$100=""))

Copy down as needed.


--
Biff
Microsoft Excel MVP


"Martin" wrote in message
...
I want to calculate the number of actions closed and number of actions
pending as following. Column C I use Countif to solve. Column D and E???

Worksheet A is the summary of worksheet B
Column B Column C Column D Column
E
(Name of Action needed) Total actions Actions closed Actions
pending
Name A 3 ?
?
Name B 4 ?
?
Name C 3 ?
?
Name D 3 ?
?

Worksheet B
Column H Column K Column AC
(Actions Items) (Name for actions) (Action closed date)
Do A Name A 01 Jan 08
Do B Name A
Do C Name A 02 Jan 08
Do D Name B 01 Feb 08
.
.
.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 336
Default Sumif / countif Problem

Result is #NUM! error.

"T. Valko" wrote:

For actions closed:

=SUMPRODUCT(--(Sheet2!K$2:K$100=B2),--(Sheet2!AC$2:AC$100<""))

For pending actions:

=SUMPRODUCT(--(Sheet2!K$2:K$100=B2),--(Sheet2!AC$2:AC$100=""))

Copy down as needed.


--
Biff
Microsoft Excel MVP


"Martin" wrote in message
...
I want to calculate the number of actions closed and number of actions
pending as following. Column C I use Countif to solve. Column D and E???

Worksheet A is the summary of worksheet B
Column B Column C Column D Column
E
(Name of Action needed) Total actions Actions closed Actions
pending
Name A 3 ?
?
Name B 4 ?
?
Name C 3 ?
?
Name D 3 ?
?

Worksheet B
Column H Column K Column AC
(Actions Items) (Name for actions) (Action closed date)
Do A Name A 01 Jan 08
Do B Name A
Do C Name A 02 Jan 08
Do D Name B 01 Feb 08
.
.
.




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Sumif / countif Problem

Result is #NUM! error.

You can't use entire columns as range references with SUMPRODUCT (unless
you're using Excel 2007).

Use a specific range.

--
Biff
Microsoft Excel MVP


"Martin" wrote in message
...
Result is #NUM! error.

"T. Valko" wrote:

For actions closed:

=SUMPRODUCT(--(Sheet2!K$2:K$100=B2),--(Sheet2!AC$2:AC$100<""))

For pending actions:

=SUMPRODUCT(--(Sheet2!K$2:K$100=B2),--(Sheet2!AC$2:AC$100=""))

Copy down as needed.


--
Biff
Microsoft Excel MVP


"Martin" wrote in message
...
I want to calculate the number of actions closed and number of actions
pending as following. Column C I use Countif to solve. Column D and
E???

Worksheet A is the summary of worksheet B
Column B Column C Column D
Column
E
(Name of Action needed) Total actions Actions closed Actions
pending
Name A 3 ?
?
Name B 4 ?
?
Name C 3 ?
?
Name D 3 ?
?

Worksheet B
Column H Column K Column AC
(Actions Items) (Name for actions) (Action closed date)
Do A Name A 01 Jan 08
Do B Name A
Do C Name A 02 Jan 08
Do D Name B 01 Feb 08
.
.
.






  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 336
Default Sumif / countif Problem

So thats the reason! It works now. Thanks.

"T. Valko" wrote:

Result is #NUM! error.


You can't use entire columns as range references with SUMPRODUCT (unless
you're using Excel 2007).

Use a specific range.

--
Biff
Microsoft Excel MVP


"Martin" wrote in message
...
Result is #NUM! error.

"T. Valko" wrote:

For actions closed:

=SUMPRODUCT(--(Sheet2!K$2:K$100=B2),--(Sheet2!AC$2:AC$100<""))

For pending actions:

=SUMPRODUCT(--(Sheet2!K$2:K$100=B2),--(Sheet2!AC$2:AC$100=""))

Copy down as needed.


--
Biff
Microsoft Excel MVP


"Martin" wrote in message
...
I want to calculate the number of actions closed and number of actions
pending as following. Column C I use Countif to solve. Column D and
E???

Worksheet A is the summary of worksheet B
Column B Column C Column D
Column
E
(Name of Action needed) Total actions Actions closed Actions
pending
Name A 3 ?
?
Name B 4 ?
?
Name C 3 ?
?
Name D 3 ?
?

Worksheet B
Column H Column K Column AC
(Actions Items) (Name for actions) (Action closed date)
Do A Name A 01 Jan 08
Do B Name A
Do C Name A 02 Jan 08
Do D Name B 01 Feb 08
.
.
.









  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Sumif / countif Problem

You're welcome!

--
Biff
Microsoft Excel MVP


"Martin" wrote in message
...
So thats the reason! It works now. Thanks.

"T. Valko" wrote:

Result is #NUM! error.


You can't use entire columns as range references with SUMPRODUCT (unless
you're using Excel 2007).

Use a specific range.

--
Biff
Microsoft Excel MVP


"Martin" wrote in message
...
Result is #NUM! error.

"T. Valko" wrote:

For actions closed:

=SUMPRODUCT(--(Sheet2!K$2:K$100=B2),--(Sheet2!AC$2:AC$100<""))

For pending actions:

=SUMPRODUCT(--(Sheet2!K$2:K$100=B2),--(Sheet2!AC$2:AC$100=""))

Copy down as needed.


--
Biff
Microsoft Excel MVP


"Martin" wrote in message
...
I want to calculate the number of actions closed and number of
actions
pending as following. Column C I use Countif to solve. Column D and
E???

Worksheet A is the summary of worksheet B
Column B Column C Column D
Column
E
(Name of Action needed) Total actions Actions closed Actions
pending
Name A 3 ?
?
Name B 4 ?
?
Name C 3 ?
?
Name D 3 ?
?

Worksheet B
Column H Column K Column AC
(Actions Items) (Name for actions) (Action closed date)
Do A Name A 01 Jan 08
Do B Name A
Do C Name A 02 Jan 08
Do D Name B 01 Feb 08
.
.
.









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
SUMIF / COUNTIF Problem Rif Excel Worksheet Functions 7 July 24th 06 09:23 AM
Countif and sumif Visual Excel Discussion (Misc queries) 19 August 10th 05 05:59 PM
{} SumIf and CountIf SS Excel Worksheet Functions 5 May 24th 05 09:19 PM
COUNTIF or SUMIF Problem s boak Excel Discussion (Misc queries) 4 March 24th 05 02:45 PM
Countif, Sumif tamato43 Excel Discussion (Misc queries) 2 March 22nd 05 08:55 PM


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