I'm trying to use =dsum to build a list of data at sheet 1 from a range of data at sheet 3. After 20 years of 123 usage I just switched to Excel and can't seem to get the syntax down for this function. I'm beginning to wonder if I've even got the right function for what I want to do (dsum did this for me in 123). A little help anyone?
At Sheet3
A2:X2 contains column labels
Column A is labeled "code"
A3:A150 will contain an entered value between 1 and 50.
B3:B150 contains text
C3:W150 contains values; either entered or resulting from various functions.
Column X is labeled "totals"
X3:X150 contains values resulting from the function "sum this row from column C to column W.
Sheet1 will be a list with data returned from sheet 3. A1:A50 will contain consecutive values from 1 to 50.
Cloumn B of each row needs to return:
Sum the values at Sheet3!X3:X150 for ONLY THOSE ROWS in which the value(s) at Sheet3!A3:A150 equal the value entered in this row at column A.
I think I have the database and field syntaxes correct but I'm falling down on the criteria syntax-witness:
=dsum(Sheet3!A2:X150,"totals","code=A1"
Thanks for any help.
Bookmarks