Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Include Count

I have a database that I wish to run a Macro over to count
the number of items (and do further data manipulations)
that meet several different , but specific criteria as
defined thoguh several macros that basically use
Autofilter to select the list of items. Currently at the
bottom left of the sheet (with COUNT selected ) I See the
number but I am looking for a way to pass the number into
another Macro ...

Any Ideas?

I am looking for a shortcut to make use of what is already
being filtered (as opposed to programming in the criteria
through DCOUNT etc.. and extracting from a fixed cell.

Thanks for any replies in advance


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Include Count

Guy,
I think what you are looking for is array functions. To enter as an
array, enter ctrl-shift-enter.

The syntax you're likely looking for is:
Count(if(criterion1,if(criterion2,columntobecounte d)()). Then hit
ctrl-shift-enter.

Hope that helps, Jim



"Guy" wrote in message ...
I have a database that I wish to run a Macro over to count
the number of items (and do further data manipulations)
that meet several different , but specific criteria as
defined thoguh several macros that basically use
Autofilter to select the list of items. Currently at the
bottom left of the sheet (with COUNT selected ) I See the
number but I am looking for a way to pass the number into
another Macro ...

Any Ideas?

I am looking for a shortcut to make use of what is already
being filtered (as opposed to programming in the criteria
through DCOUNT etc.. and extracting from a fixed cell.

Thanks for any replies in advance

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
How do count a cell range that include all dates prior to today? Bill T Excel Discussion (Misc queries) 3 August 19th 09 05:40 PM
Include in Print IF randomblink Excel Discussion (Misc queries) 1 February 26th 09 09:16 PM
Can I include both AND and OR in the same function? Dave Excel Worksheet Functions 7 September 24th 08 11:44 PM
Include Worksheet Juan Schwartz Excel Worksheet Functions 0 February 10th 06 08:10 PM
COUNT.IF, how to include single cells Anders Excel Worksheet Functions 8 October 29th 05 11:04 PM


All times are GMT +1. The time now is 09:04 AM.

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"