ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   DSUM with criteria:blank OR some value (https://www.excelbanter.com/excel-worksheet-functions/235829-dsum-criteria-blank-some-value.html)

EricK

DSUM with criteria:blank OR some value
 
Cells in Column A, headed "date" are either blank or contain dates; cells in
column B, headed "Amount", contain a number.

I want to sum, using DSUM, cells in column B, where the corresponding cell
in column A is either blank or contains a date after a certain date. But
however I set up the criteria table, it doesn't seem to work.

Mike H

DSUM with criteria:blank OR some value
 
Maybe this with your criteria date in C1

=SUMIF(A2:A20,"",B2:B20)+SUMIF(A2:A20,""&C1,B2:B2 0)

Mike

"EricK" wrote:

Cells in Column A, headed "date" are either blank or contain dates; cells in
column B, headed "Amount", contain a number.

I want to sum, using DSUM, cells in column B, where the corresponding cell
in column A is either blank or contains a date after a certain date. But
however I set up the criteria table, it doesn't seem to work.


Ashish Mathur[_2_]

DSUM with criteria:blank OR some value
 
Hi,

Give us an example of your data layout, the criteria and the DSUM formula
which are you using

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"EricK" wrote in message
...
Cells in Column A, headed "date" are either blank or contain dates; cells
in
column B, headed "Amount", contain a number.

I want to sum, using DSUM, cells in column B, where the corresponding cell
in column A is either blank or contains a date after a certain date. But
however I set up the criteria table, it doesn't seem to work.




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

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