Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
jfj3rd
 
Posts: n/a
Default CountIF() in Worksheet B while referencing cells in Worksheet A


Hi everyone,

So my title might be the best way to answser my questionb ut I'll give
it a longer description here.

I don't want to clutter worksheetA with hidden fields containing
formulas that I would then call in WorksheetB.

So how do I tell CountIF to calculate specified cells in a different
worksheet?

Your help would be appreciative. I searched through the help file but
just simply don't know what I'd be looking for.

JJ


--
jfj3rd
------------------------------------------------------------------------
jfj3rd's Profile: http://www.excelforum.com/member.php...o&userid=33503
View this thread: http://www.excelforum.com/showthread...hreadid=532987

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Poody
 
Posts: n/a
Default CountIF() in Worksheet B while referencing cells in Worksheet A

You could just Define a Named Range (Insert Menu - Names - Define). and
then the formula would refer to the Named Range instead of a range of cells.

example: =COUNTIF(myNamedRange,"Yes")

myNamedRange could dynamically be defined by using the formula:
=OFFSET($A$1,0,0,COUNTA('Sheet1'!$A:$A),1)

This assumes the data you are wanting the COUNTIF to look at would be in
Column A, starting in Row 1. This dynamic named range will end the first
time it encounters a blank cell, though.

I hope this helps.

Rich

"jfj3rd" wrote:


Hi everyone,

So my title might be the best way to answser my questionb ut I'll give
it a longer description here.

I don't want to clutter worksheetA with hidden fields containing
formulas that I would then call in WorksheetB.

So how do I tell CountIF to calculate specified cells in a different
worksheet?

Your help would be appreciative. I searched through the help file but
just simply don't know what I'd be looking for.

JJ


--
jfj3rd
------------------------------------------------------------------------
jfj3rd's Profile: http://www.excelforum.com/member.php...o&userid=33503
View this thread: http://www.excelforum.com/showthread...hreadid=532987


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Carim
 
Posts: n/a
Default CountIF() in Worksheet B while referencing cells in Worksheet A


Hi,

For multi criteria, take a look at sumproduct()

Cheers
Carim


--
Carim
------------------------------------------------------------------------
Carim's Profile: http://www.excelforum.com/member.php...o&userid=33259
View this thread: http://www.excelforum.com/showthread...hreadid=532987

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default CountIF() in Worksheet B while referencing cells in Worksheet A

have you not just tried

=COUNTIF('other worksheet name'!range,criteria)

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"jfj3rd" wrote in
message ...

Hi everyone,

So my title might be the best way to answser my questionb ut I'll give
it a longer description here.

I don't want to clutter worksheetA with hidden fields containing
formulas that I would then call in WorksheetB.

So how do I tell CountIF to calculate specified cells in a different
worksheet?

Your help would be appreciative. I searched through the help file but
just simply don't know what I'd be looking for.

JJ


--
jfj3rd
------------------------------------------------------------------------
jfj3rd's Profile:

http://www.excelforum.com/member.php...o&userid=33503
View this thread: http://www.excelforum.com/showthread...hreadid=532987



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
make multiple cells in 1 worksheet equal multiple cells in another riley454 Excel Worksheet Functions 1 January 19th 06 03:00 PM
How can I use open/close Grouped cells in a Protected Worksheet? Andy Bowshell Excel Discussion (Misc queries) 2 January 16th 06 02:38 PM
linking cells in one worksheet to cells in another worksheet NKirkland Excel Worksheet Functions 2 January 12th 06 03:46 PM
Reference cells from another worksheet problem Neil Excel Discussion (Misc queries) 3 June 23rd 05 05:24 PM
How can I merge unlocked cells in a worksheet that has been protec NeedMergeHelp Excel Discussion (Misc queries) 2 December 7th 04 01:20 AM


All times are GMT +1. The time now is 05:52 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"