ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   using dcount on a variable data range (https://www.excelbanter.com/excel-discussion-misc-queries/92173-using-dcount-variable-data-range.html)

JohnJC

using dcount on a variable data range
 
I want to use dcount on a data range, but the number of rows of data will
vary depending on a calculated value elsewhere in the S/S. Is there any way
of dealing with this without going into VB programming?

I can record a macro but cannot write them from scratch



Miguel Zapico

using dcount on a variable data range
 
You may use dynamic named ranges. There are some examples at:
http://www.ozgrid.com/Excel/DynamicRanges.htm

Hope this helps,
Miguel.

"JohnJC" wrote:

I want to use dcount on a data range, but the number of rows of data will
vary depending on a calculated value elsewhere in the S/S. Is there any way
of dealing with this without going into VB programming?

I can record a macro but cannot write them from scratch




All times are GMT +1. The time now is 08:16 PM.

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