ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   excel function problem (https://www.excelbanter.com/excel-worksheet-functions/203697-excel-function-problem.html)

Bob Matthews[_2_]

excel function problem
 
I have an excel 2003 workbook with several worksheets - each a mirror image
of the others i.e. any particular cell has the same data (not literally)

Cell B6 contains a calculated age value and is in number format.

I am trying to do a count for the total number of worksheets broken down
into age bands

An example of the formula I am using is :-

=COUNTIF('A114_N:Seamas(4)'!$B$6,"=20")-COUNTIF('A114_N:Seamas(4)'!$B$6,
"24")

but I am getting the dreaded #VALUE! error

Any advice gratefully received

Bob



Spiky

excel function problem
 
On Sep 24, 12:11 am, "Bob Matthews" wrote:
I have an excel 2003 workbook with several worksheets - each a mirror image
of the others i.e. any particular cell has the same data (not literally)

Cell B6 contains a calculated age value and is in number format.

I am trying to do a count for the total number of worksheets broken down
into age bands

An example of the formula I am using is :-

=COUNTIF('A114_N:Seamas(4)'!$B$6,"=20")-COUNTIF('A114_N:Seamas(4)'!$B$6,
"24")

but I am getting the dreaded #VALUE! error

Any advice gratefully received

Bob


I don't think COUNTIF can do 3D, actually there's a lot it can't do.
You can overcome this with a UDF or a far more complex formula since
not too many functions really do 3D. I use the UDF found in morefunc.
Search the net, or download.com to find it.

morefunc's function is called "COUNTIF.3D". Guess what it does.

Lori

excel function problem
 
You can try frequency instead:

=INDEX(FREQUENCY('A114_N:Seamas(4)'!$B$6,{19,24}), 2)

"Bob Matthews" wrote:

I have an excel 2003 workbook with several worksheets - each a mirror image
of the others i.e. any particular cell has the same data (not literally)

Cell B6 contains a calculated age value and is in number format.

I am trying to do a count for the total number of worksheets broken down
into age bands

An example of the formula I am using is :-

=COUNTIF('A114_N:Seamas(4)'!$B$6,"=20")-COUNTIF('A114_N:Seamas(4)'!$B$6,
"24")

but I am getting the dreaded #VALUE! error

Any advice gratefully received

Bob





All times are GMT +1. The time now is 11:51 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com