ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Using cell value in formula (https://www.excelbanter.com/excel-worksheet-functions/125188-using-cell-value-formula.html)

Engels

Using cell value in formula
 

I want to use the COUNTBLANK formula to count the number of empty cells in a
column up until the end of the list of records. I don't know the definite
number of records so i need to dynamically assign the number that the cell
number that the formla should count up to.

ie
COUNT BLANK(D2:Dxxx) where Dxxx is equal to the following function

=MATCH(2,1/(1-ISBLANK(Evaluations_Query!A1:A3417)))+1

how do i generically insert formular into functions or is this even possible?

David Biddulph

Using cell value in formula
 
You could try:
=COUNTBLANK(D2:INDIRECT("D"&(MATCH(2,1/(1-ISBLANK(Evaluations_Query!A1:A3417)))+1)))
--
David Biddulph

"Engels" wrote in message
...

I want to use the COUNTBLANK formula to count the number of empty cells in
a
column up until the end of the list of records. I don't know the definite
number of records so i need to dynamically assign the number that the cell
number that the formla should count up to.

ie
COUNT BLANK(D2:Dxxx) where Dxxx is equal to the following function

=MATCH(2,1/(1-ISBLANK(Evaluations_Query!A1:A3417)))+1

how do i generically insert formular into functions or is this even
possible?




Mark C[_3_]

Isblank vs CountBlank
 
Per the help files in Excel,
CountBlank will count any cell with a "" as blank,
while IsBlank("")=False.
So I don't think your two formulas are truly equal.

EggHeadCafe.com - .NET Developer Portal of Choice
http://www.eggheadcafe.com

T. Valko

Isblank vs CountBlank
 
So I don't think your two formulas are truly equal.

They're not.

ISBLANK is incorrectly named. It should be named ISEMPTY.

Biff

<Mark C wrote in message ...
Per the help files in Excel,
CountBlank will count any cell with a "" as blank,
while IsBlank("")=False.
So I don't think your two formulas are truly equal.

EggHeadCafe.com - .NET Developer Portal of Choice
http://www.eggheadcafe.com





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

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