Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 503243
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T06:22:27+00:00 2026-05-13T06:22:27+00:00

I think that it’s easier to explain my problem with an example: Based on

  • 0

I think that it’s easier to explain my problem with an example:

alt text

Based on the spreadsheet above, the formula =DSUM(A4:D8,B4,A1:A2) works, returning 20.

Why =DSUM(A4:D8,B4,{"OrderID";">10567"}) does not work? (It returns #VALUE!)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T06:22:27+00:00Added an answer on May 13, 2026 at 6:22 am

    Based on what’s said about D-Functions on this page, I think you need to have the criteria in a separate cell.

    EDIT: If the goal of including the criteria in the formula is to make it more readable, you could work with named ranges instead.

    EDIT 2: In response to your comments.
    It’s not possible to do what you want (include the criteria in the formula) because of how the DSUM() function works. Take a look at the documentation for DSUM and compare it with VLOOKUP:

    The syntax for the DSum function is:

    DSum( range, field, criteria )
    

    range is the range of cells that you want to apply the criteria against.

    field is the column to sum the values. You can either specify the numerical position of the column in the list or the column label in double quotation marks.

    criteria is the range of cells that contains your criteria.

    Note the difference:

    The syntax for the VLookup function is:

    VLookup( value, table_array, index_number, not_exact_match )
    

    value is the value to search for in the first column of the table_array.

    table_array is two or more columns of data that is sorted in ascending order.

    index_number is the column number in table_array from which the matching value must be returned. The first column is 1.

    As DSUM is looking for a range of cells that contain the criteria, there’s nothing you can do to avoid passing it just that – a range of cells.

    I think the best you can do is define your different criteria as named ranges, which will make it a lot easier to reference the different ones depending on what you want to do in the formula. Unfortunately, if the regular SUM function is not fast enough for you, there’s not much else you can do – you will have to specify criteria in cells to use DSUM.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 453k
  • Answers 453k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer The ajax call expects XML back (perhaps due to bad… May 15, 2026 at 9:31 pm
  • Editorial Team
    Editorial Team added an answer Here we are : http://www.mathieusavard.info/threesixty/demo.html May 15, 2026 at 9:31 pm
  • Editorial Team
    Editorial Team added an answer Relying on an undocumented method in any API is more… May 15, 2026 at 9:31 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.