A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Access » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Sumproduct in Access



 
 
Thread Tools Display Modes
  #1  
Old August 26th, 2005, 06:17 PM
Job
external usenet poster
 
Posts: n/a
Default Sumproduct in Access

Is it possible to do a SumProduct like function in Access?


  #2  
Old August 26th, 2005, 06:43 PM
Duane Hookom
external usenet poster
 
Posts: n/a
Default

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  
Old August 26th, 2005, 07:09 PM
Job
external usenet poster
 
Posts: n/a
Default

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  
Old August 26th, 2005, 07:33 PM
Ed Robichaud
external usenet poster
 
Posts: n/a
Default

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  
Old August 26th, 2005, 07:57 PM
Job
external usenet poster
 
Posts: n/a
Default

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

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


All times are GMT +1. The time now is 11:18 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.