Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default CountIf Formula Help (2003)

I have been trying to work a formula to count cells based on certain
requirements. I am not sure if CountIf is the right formula to use....

I have named the following colums.

N:N = Department
U:U = Feature
Z:Z = Calculation

The formula I am trying to do is

If Feature = path repair and Department = Concrete then count Calculation if
it = Path Repair False.

All the formulas I have tried to date have given me an error or an incorrect
figure.

I hope someone can help.
Thanks

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 248
Default CountIf Formula Help (2003)

Try this
=SUMPRODUCT(--(Department="Concrete"),--(Feature="Path Repair"),Calculation)

You need to define a range of rows for Department, Feature, Calculation like
A1:A100 (and NOT A:A as you seem to have done)...

Whole column reference might work in Excel 2007
-------------------------------------
Pl. click ''Yes'' if this was helpful...



"cayang68" wrote:

I have been trying to work a formula to count cells based on certain
requirements. I am not sure if CountIf is the right formula to use....

I have named the following colums.

N:N = Department
U:U = Feature
Z:Z = Calculation

The formula I am trying to do is

If Feature = path repair and Department = Concrete then count Calculation if
it = Path Repair False.

All the formulas I have tried to date have given me an error or an incorrect
figure.

I hope someone can help.
Thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default CountIf Formula Help (2003)

If you're using Excel 2003 then you can't use entire columns as range
references with this function.

Use cells to hold your criteria:

A1 = path repair
B1 = Concrete
C1 = Path Repair False

=SUMPRODUCT(--(N1:N100=A1),--(U1:U100=B1),--(Z1:Z100=C1))

--
Biff
Microsoft Excel MVP


"cayang68" wrote in message
...
I have been trying to work a formula to count cells based on certain
requirements. I am not sure if CountIf is the right formula to use....

I have named the following colums.

N:N = Department
U:U = Feature
Z:Z = Calculation

The formula I am trying to do is

If Feature = path repair and Department = Concrete then count Calculation
if
it = Path Repair False.

All the formulas I have tried to date have given me an error or an
incorrect
figure.

I hope someone can help.
Thanks



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default CountIf Formula Help (2003)

Sorry, This does not work. The value that came back was incorrect.

I have now defined a range of rows as suggested

Thanks

"Sheeloo" wrote:

Try this
=SUMPRODUCT(--(Department="Concrete"),--(Feature="Path Repair"),Calculation)

You need to define a range of rows for Department, Feature, Calculation like
A1:A100 (and NOT A:A as you seem to have done)...

Whole column reference might work in Excel 2007
-------------------------------------
Pl. click ''Yes'' if this was helpful...



"cayang68" wrote:

I have been trying to work a formula to count cells based on certain
requirements. I am not sure if CountIf is the right formula to use....

I have named the following colums.

N:N = Department
U:U = Feature
Z:Z = Calculation

The formula I am trying to do is

If Feature = path repair and Department = Concrete then count Calculation if
it = Path Repair False.

All the formulas I have tried to date have given me an error or an incorrect
figure.

I hope someone can help.
Thanks

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default CountIf Formula Help (2003)

Thank You. works well

"T. Valko" wrote:

If you're using Excel 2003 then you can't use entire columns as range
references with this function.

Use cells to hold your criteria:

A1 = path repair
B1 = Concrete
C1 = Path Repair False

=SUMPRODUCT(--(N1:N100=A1),--(U1:U100=B1),--(Z1:Z100=C1))

--
Biff
Microsoft Excel MVP


"cayang68" wrote in message
...
I have been trying to work a formula to count cells based on certain
requirements. I am not sure if CountIf is the right formula to use....

I have named the following colums.

N:N = Department
U:U = Feature
Z:Z = Calculation

The formula I am trying to do is

If Feature = path repair and Department = Concrete then count Calculation
if
it = Path Repair False.

All the formulas I have tried to date have given me an error or an
incorrect
figure.

I hope someone can help.
Thanks






  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 248
Default CountIf Formula Help (2003)

I thought you wanted to sum the third column based on matches on first two
cols...

Glad you got the solution through Biff...





"cayang68" wrote:

Sorry, This does not work. The value that came back was incorrect.

I have now defined a range of rows as suggested

Thanks

"Sheeloo" wrote:

Try this
=SUMPRODUCT(--(Department="Concrete"),--(Feature="Path Repair"),Calculation)

You need to define a range of rows for Department, Feature, Calculation like
A1:A100 (and NOT A:A as you seem to have done)...

Whole column reference might work in Excel 2007
-------------------------------------
Pl. click ''Yes'' if this was helpful...



"cayang68" wrote:

I have been trying to work a formula to count cells based on certain
requirements. I am not sure if CountIf is the right formula to use....

I have named the following colums.

N:N = Department
U:U = Feature
Z:Z = Calculation

The formula I am trying to do is

If Feature = path repair and Department = Concrete then count Calculation if
it = Path Repair False.

All the formulas I have tried to date have given me an error or an incorrect
figure.

I hope someone can help.
Thanks

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default CountIf Formula Help (2003)

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"cayang68" wrote in message
...
Thank You. works well

"T. Valko" wrote:

If you're using Excel 2003 then you can't use entire columns as range
references with this function.

Use cells to hold your criteria:

A1 = path repair
B1 = Concrete
C1 = Path Repair False

=SUMPRODUCT(--(N1:N100=A1),--(U1:U100=B1),--(Z1:Z100=C1))

--
Biff
Microsoft Excel MVP


"cayang68" wrote in message
...
I have been trying to work a formula to count cells based on certain
requirements. I am not sure if CountIf is the right formula to use....

I have named the following colums.

N:N = Department
U:U = Feature
Z:Z = Calculation

The formula I am trying to do is

If Feature = path repair and Department = Concrete then count
Calculation
if
it = Path Repair False.

All the formulas I have tried to date have given me an error or an
incorrect
figure.

I hope someone can help.
Thanks






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 for 2003 Tamara Excel Worksheet Functions 3 March 3rd 09 02:27 AM
Countif with dates for vs 2003 Kay Excel Worksheet Functions 8 January 26th 09 01:01 AM
countif for 2003 mbreter Excel Discussion (Misc queries) 1 September 4th 08 02:26 AM
COUNTIF Bug in Excel 2003 byundt Excel Worksheet Functions 5 July 22nd 05 03:51 PM
WHERE IS COUNTIF IN EXCEL 2003 Nimrod Excel Worksheet Functions 3 November 19th 04 02:46 AM


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