+ Reply to Thread
Results 1 to 2 of 2

DSUM using critera in non-consecutive cells

  1. #1
    Registered User
    Join Date
    06-12-2007
    Posts
    1

    DSUM using critera in non-consecutive cells

    Hi,

    When using DSUM, I would need to have the labels for the criteria and the criteria themselves in non-consecutive rows (e.g. the label would be in A1, there would be a criteria in A2 which I do not want to consider, and the critera I would like to use for the sum is in A3).

    Any advice?

    Thanks in advance,
    Alberto

  2. #2
    Forum Contributor Lotus123's Avatar
    Join Date
    11-07-2005
    Location
    Texas
    MS-Off Ver
    2007
    Posts
    153
    I don't believe we have enough info to answer this question (which is probably why it has gone a few days without an answer):

    Presuming original data:
    Color Rank Value
    Red 5 1
    Orange 6 2
    Green 7 3

    This formula returns "6" as the total of the third column:
    =DSUM(A1:C4,"Value",A1:C4)

    If you wanted the total of Rank, you would use this function:
    =DSUM(A1:C4,"Rank",A1:C4)

    You might take a look at SUMPRODUCT....in my opinion it is much more powerful than DSUM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1