If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Sumproduct in Access
Is it possible to do a SumProduct like function in Access?
|
#2
|
|||
|
|||
If I understand correctly assuming you have values in a field [Num] with
values fo 2, 3, and 4 you would want a result of 2*3*4 or 24? If so, you can create a totals query and use a calculation that uses Exp() against the Sum() of the Log() of the Num Exp(Sum(Log([Num]))) -- Duane Hookom MS Access MVP "Job" wrote in message ... Is it possible to do a SumProduct like function in Access? |
#3
|
|||
|
|||
Duane,
For example, I have columns [FTE] and [DaysToFinish] The values may be .7,.6,.4 and 3.5,2.9,2.2 respectively. The sumproduct would take (.7 * 3.5) +(.6*2.9)+(.4*2.2) = 5.07 Job "Duane Hookom" wrote in message ... If I understand correctly assuming you have values in a field [Num] with values fo 2, 3, and 4 you would want a result of 2*3*4 or 24? If so, you can create a totals query and use a calculation that uses Exp() against the Sum() of the Log() of the Num Exp(Sum(Log([Num]))) -- Duane Hookom MS Access MVP "Job" wrote in message ... Is it possible to do a SumProduct like function in Access? |
#4
|
|||
|
|||
As you've discovered there is no SumProduct function in Access. You can
somewhat roll your own, by using a form, with a grid layout of the fields involved, then creating unbound controls (which need not be visible) to hold the products, then use more of those unbound controls to hold the expressions summing those products. You might also want to look at X-tab queries to do sums, then add an expression to handle the multiplication. -Ed "Job" wrote in message ... Is it possible to do a SumProduct like function in Access? |
#5
|
|||
|
|||
Thanks for all the input. I'll look into the x tab queries etc...
Cheers "Job" wrote in message ... Is it possible to do a SumProduct like function in Access? |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Ambiguous Name Error | pm | Using Forms | 10 | June 5th, 2005 09:19 PM |
2002 vs 2003 | Patrick Stubbin | General Discussion | 2 | May 17th, 2005 07:27 AM |
The "Right" web hosting for data access pages?? | Ron Ehrlich | General Discussion | 9 | May 6th, 2005 05:49 AM |
How to stop opening of multiple instance of Access 2000 after upd. | Taika Bilbo | Database Design | 9 | January 12th, 2005 08:34 PM |
Sumproduct in Excel Spreadsheet to read Access db | Jules | General Discussion | 2 | November 10th, 2004 01:58 PM |