ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Dsum excluding blanks (https://www.excelbanter.com/excel-worksheet-functions/251144-dsum-excluding-blanks.html)

Michelle

Dsum excluding blanks
 
Hello, I want to be able to include '=blank' or '<blank' as a criteria for
one of my columns in my criteria range, but it doesn't seem to work.

Does anyone know a syntax for including all blanks (or all non-blanks) in my
criteria range?

Thanks

M


Ashish Mathur[_2_]

Dsum excluding blanks
 
Hi,

In the criteria cell, use len(first_cell)=0 to include all blank cells. ust
ensure that the column heading in the criteria range for this column is not
equal one of the headings int eh source data

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Michelle" wrote in message
...
Hello, I want to be able to include '=blank' or '<blank' as a criteria
for one of my columns in my criteria range, but it doesn't seem to work.

Does anyone know a syntax for including all blanks (or all non-blanks) in
my criteria range?

Thanks

M




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

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