ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   DSUM (https://www.excelbanter.com/excel-worksheet-functions/69630-dsum.html)

flyingbr

DSUM
 
I am using DSUM to query a database. How can I set up my formula to only pull
data that exactly matches. For instance, my criteria is "Research" and it is
pulling all data like "Research labor", Research travel", etc. I only want
it to sum "Research". Is there a way to use a "false" statement like in a
lookup?
Thanks.

Debra Dalgleish

DSUM
 
In the criteria cell, enter: ="=Research"

flyingbr wrote:
I am using DSUM to query a database. How can I set up my formula to only pull
data that exactly matches. For instance, my criteria is "Research" and it is
pulling all data like "Research labor", Research travel", etc. I only want
it to sum "Research". Is there a way to use a "false" statement like in a
lookup?
Thanks.



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html



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

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