Access equivalent of Excel's Product()

B

bismuth83

Excel has a cell formula called Product() that can operate on a list
of varying size. Basically I'm looking for the equivalent for an
Access query. I haven't found anything, and it seems like such a
simple function.

Something along the lines of:
SELECT ValueTable.lineid, Sum(ValueTable.value) AS SumOfvalue
FROM ValueTable
GROUP BY ValueTable.lineid;
.... except, instead of Sum() it'd be some elusive Product() function
that I can't find.

Thanks --
 
G

Golfinray

This may not at all be what you are looking for, but one way to use products
is like this:
My product:=[tablename.filedname]*[tablename.fieldname]
 
B

bismuth83

Okay, I didn't look hard enough. Exp(Sum(Log([value]))) does the
trick.

Thanks --
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top