How do you get the sum of two columns multipied together?

I can't seem to figure out how to get the sum of two columns multiplied together without having to manually type out each location (example: A1*B1+A2*B2+A3*B3, etc..).  Though the idea seems to be rather simple, everything I have tried has only given me an error.  I know there must be an easier way of doing this, but I get lost in the explanations given in 'help' area of numbers, can someone help me?

C3=SUMPRODUCT(A3:A18, B3:B18)
the function SUMPRODUCT() takes ranges and multiplies corresponding cells in the ranges, then adds them together.
I the case I show SUMPRODUCT() performs:
A3*B3 + A4*B4 + A5*B5 + A6*B6 + ... +  A18*B18
If you want to perform the same operation on the whole column (s) you could modify the formula:
C3=SUMPRODUCT(A, B)

Similar Messages

  • From two given tables, how do you fetch the values from two columns using values from one column(get values from col.A if col.A is not null and get values from col.B if col.A is null)?

    From two given tables, how do you fetch the values from two columns using values from one column(get values from col.A if col.A is not null and get values from col.B if col.A is null)?

    Hi,
    Use NVL or COALESCE:
    NVL (col_a, col_b)
    Returns col_a if col_a is not NULL; otherwise, it returns col_b.
    Col_a and col_b must have similar (if not identical) datatypes; for example, if col_a is a DATE, then col_b can be another DATE or it can be a TIMESTAMP, but it can't be a VARCHAR2.
    For more about NVL and COALESCE, see the SQL Language manual: http://docs.oracle.com/cd/E11882_01/server.112/e26088/functions119.htm#sthref1310
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
    See the forum FAQ: https://forums.oracle.com/message/9362002

  • How do you get the percentage of one number compared to the sum of the total in an array in ipad numbers

    How do you get the percentage of one number compared to the sum of the total in an array in ipad numbers

    On the iPad my example looks like this:
    To fill the formula down you tap cell and then Fill:
    And drag the bottom part of the yellow rectangle down:
    Wayne's example would look similar.
    SG

  • If you deleted a  device off of find my iphone.how do you get the device to start back up agian and put it back on find my iphone?

    if you deleted a  device off of find my iphone.how do you get the device to start back up agian and put it back on find my iphone? becuase i have delted my dads iphone acedentily of find my iphone and it is nownot working. his phone is just staying at a black screen with a loading circle on it. i need to know how to fix this..like do i go the to apple store or the carrier store or can i fix it at home?

    Try these two ways to fix the iPhone (in order).  If neither works, you would have to take it to the store.
    1.  Reset the iPhone.  Hold the on/off and home buttons togehter for about 10 seconds.  If it works, you'll get the Apple logo and then something good should happen.
    2.  Try recovery mode as described here:
    http://support.apple.com/kb/HT1808
    If one of these work, you can then re-introduce the iPhone to Find My iPhone by doing Settings > iCloud > Find My iPhone = "On" on the device.

  • How do you get the app store back on your iPad

    How do you get the app store back on your iPad

    My money is on one of the two suggestions that my colleague has given you, but if all else fails......
    You can also reset the home screen layout and the icon will reappear - but the home screen will return to the way that it looked when you first activated your iPad.
    Settings>General>Reset>Reset Home Screen Layout.

  • How do you get the average of an array bigdecimels

    how do you get the average of an array bigdecimels... I am looping through the array in a for loop
    for (int i = 0; i < prItems.length; i++) {                                                                                                                                                                                                                                                                                                                  

    int sum = 0;
    for (int i = 0; i < prItems.length; i++) {
    sum = sum + prItems;
    int avg = sum/prItems.length;

  • How to get the difference between two columns in a column group

    Hi All,
    My first time here and really new to programming. I would like to get the difference between 2 columns that are inside 
    a column group.
    Here is my sample table below: The Column Group is PeriodNumber and can only choose 2. like 1 and 2.. I would like to have a third row which will simply calculate the difference between the amounts in PeriodNumber 1 and 2.
                                PeriodNumber          
    Account                    1                            2     
    1) Cash                10,000                15,000
    2) Receivables      12,000                11,500
    3) Equipment          5,000                  5,500
    Total Assets          27,000                32,000

    Hi yabgestopa,
    From your description, you want to get the difference between two columns in a column group. After testing it in my environment, we can use custom code to achieve your requirement. For more details, you can refer to the following steps:
    Copy the custom code below and paste it to your report. (Right-click report>Report Properties>Code)
    Dim Shared Num1 As Integer
    Dim shared Num2 As Integer
    Public Function GetAmount(Amount as Integer, Type as String)
    If Type = "1" Then
    Num1=Amount
    Else
    Num2=Amount
    End If
    Return Amount
    End Function
    Public Function GetDif()
    Return Num1-Num2
    End function
    Right-click the second column to insert a third column with Outside Group-Right.
    Then use the expressions below in the matrix.
    =Code.GetAmount(Fields!Amount.Value,Fields!PeriodNumber.Value)
    =code.GetAmount(Sum(Fields!Amount.Value),Fields!PeriodNumber.Value)
    =Code.GetDif()
    The report looks like below.
    If you have any questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • When using the measure tool the imputed scale resets to 1to1 as soon as you perform another action. How do you get the scale to lock?

    When using the measure tool the imputed scale resets to 1to1 as soon as you perform another action. How do you get the scale to lock?

    Hi there - I think I am having problems associated withg Cause 9 in that in google mail I have another pop email address associated so that I can send using this email address, but then I have both addresses setup seperately in BIS. When I receive a mail from GMAIL I receive a duplicate with "received by: unknown" in the header. I had gmail setup so that it would send using by pop email address as default.
    In your answer the settings for the two filters you recommend creating are broken links and I canot actually see them. What are they?
    Also What do you recommend setup wise with gmail and a pop account. Some people say it is better to get gmail to receive the pop mail account and run the whole account from there. Blackberry doesn't seem to like this setup very much. Should I completely dissociate the pop account and to try and clarify the distinction between the two? Or should I setup a second gmail account and have that poll my pop account and then have the blackberry feed off these two gmail accounts? The reason I am considering this option is gmail provides a lot of storage and online continuity and this would effectively persist my account.
    Your help would be much appreciated.. I have had blackberry woes now for over a month and I have spent hours with various support personel, tried deleteing and sending down new service books etc etc but had no luck yet.
    thanks,
    Nathan 

  • How do you get the web application path from the servlet?

    I have created a web application which is installed in
    /webapps/myApplication
    /webapps/myApplication/data/users.xml
    /webapps/myApplication/WEB-INF/classes/myServlet
    How can you get the path to the "users.xml" file from the "myServlet" file?
    The code below doen's seem to return the xml file. anybody knows why?
    public class myServlet extends HttpServlet {
    public void doGet( HttpServletRequest req, HttpServletResponse res ) throws ServletException, IOException
    File myXmlFile = new File("/data/users.xml");

    Try this..
    String FileName = getServletContext().getRealPath("\\data\\users.xml");
    File myXmlFile = new File(FileName);
    hope this helps..

  • HT4101 Once pictures are moved from your camera to your iPad (using the camera connection kit), how do you get the photos off of the iPad? They do not show up in my photo stream or my iCloud.

    Once pictures are moved from your camera to your iPad (using the camera connection kit), how do you get the photos off of the iPad? They do not show up in my photo stream or my iCloud. I am able to see any photo I took on the iPad using the iPad camera (in iTunes, photo stream, or when I open windows explorer and browse the iPad director), however I cannot see any photos transfered from my camera to the iPad. The camera connection kit must have put my photos in a directory I cannot get to and cannot sync.

    The links below have instructions for deleting photos.
    iOS and iPod: Syncing photos using iTunes
    http://support.apple.com/kb/HT4236
    iPad Tip: How to Delete Photos from Your iPad in the Photos App
    http://ipadacademy.com/2011/08/ipad-tip-how-to-delete-photos-from-your-ipad-in-t he-photos-app
    Another Way to Quickly Delete Photos from Your iPad (Mac Only)
    http://ipadacademy.com/2011/09/another-way-to-quickly-delete-photos-from-your-ip ad-mac-only
    How to Delete Photos from iPad
    http://www.wondershare.com/apple-idevice/how-to-delete-photos-from-ipad.html
    How to: Batch Delete Photos on the iPad
    http://www.lifeisaprayer.com/blog/2010/how-batch-delete-photos-ipad
    (With iOS 5.1, use 2 fingers)
    How to Delete Photos from iCloud’s Photo Stream
    http://www.cultofmac.com/124235/how-to-delete-photos-from-iclouds-photo-stream/
     Cheers, Tom

  • How can you get the schedule of a single reoccurring job with Restart ability in Redwood to pause when it has failed...?

    We need the Request Restart ability when scheduling a single reoccurring job in Redwood. Most of our jobs are scheduled in CHAINs which offers the Final Status Handler on Step level, and the schedule is "paused" when a job in the CHAIN has failed ( the next instance does not populate until the OP MSG has been Replied to) , and once the OPERATOR message is replied to, the CHAIN can resume running again ( desired ) . But we need this same ability when scheduling a single job not in a CHAIN. In our testing, we set up a job with Request Restart chosen on the Error , Killed and Unknown selections on the Restart Behavior Tab. But we found when a job is scheduled say once a day at 8AM, and when it fails, an OPERATOR msg appears allowing a Restart choice ( desired), but the next day's schedule also populates ( undesired) and we do NOT want the schedule to continue on yet because we need a chance to fix the error before the next insance runs for business reasons. So how can you get the schedule of a single reoccurring job with Restart ability in Redwood to pause when it has failed...?

    Hello Fran,
    You can wrap the job chain in a master job chain in the first step and set the final status handler there.
    You can also set the Restart Behavior to 'Stop Submit Frame', in that case you will have to resubmit the job once you are finished troubleshooting.
    Regards Gerben

  • If your phone is broken how do you get the apple id off that phone?

    if your iphone is broken how do you get the apple id off of it?

    You can either,
    A: Go to iForgot.apple.com and reset the passcode using the password system there, or by going to appleid.apple.com
    or 
    B: IF possible restore the device to factory settings via iTunes.
    What's the xtent of the damage and the reason you need to do it?
    IF it's for iMessage as "Chief501" you will have to go with Option A or just wait till it falls off itself.

  • How do you get the answers to your security questions in order to buy an app on iphone?

    How do you get the answers to your security questions in order to purchase an app on iphone?

    You need to ask Apple to reset your security questions; ways of contacting them include clicking here and picking a method for your country, phoning AppleCare and asking for the Account Security team, and filling out and submitting this form.
    (99852)

  • How do you get the sound to play on the tv from your macbook

    I connected my macbook to my tv using a HDMI cord. I'm trying to watch netflix but the sound plays from my macbook. How do you get the music to play from the tv instead.

    The adapter to HDMI doesn't carry sound from a MacBook earlier than the Mid 2010 models and most TVs don't have separate RCA input plugs for audio with the HDMI inputs since they expect the sound to be carried by the HDMI plug. With HDMI you'll need to use external speakers or headphone jack to RCA sound plugs connected to a stereo sound system if your TV doesn't have separate RCA input plugs for audio with the HDMI plug.

  • How can you get the apple tv to work in a hotel where to get on the wifi you have to still go to a website first and put in your room

    How can you get the apple tv to work in a hotel where to get on the wifi you have to still go to a website first and put in your room?

    Welcome to the Apple Community.
    Unfortunately the Apple TV doesn't have a web browser so you can't do that.

Maybe you are looking for

  • How do i get my contacts back on my i phone

    hi

  • PC/IE vs Mac/Safari -- looking for advice

    This may be a really dumb question. I'm asking anyway. For some reason, now that I'm beginning to use style sheets for everything (not just text), the issues of platform/browser differences seem more noticeable, less controllable. Is working with tab

  • Keynote to ipad, with custom fonts and graphics

    Have a keynote presentation we've spent a lot of time on. Custom fonts, graphics. I've given up trying to import it into keynote on the iPad. Fonts alone are a big issue. So, trying converting it to quicktime, but then it plays as a movie, there is n

  • Use AirPort Express to Extend Original Router's Range

    I have an existing router that works fine for the first and second floors of my house (it is not an Apple router), however, my Apple TV is in the basement and the WiFi coverage is absolutely horrible. I'm curious if I can use an AirPort Express route

  • I am downloading Photoshop cc and I have error 49

    I am downloading Photoshop CC trial because i wanted to test photoshop out and i was done installing but it said patch failed so i clicked Retry and the error i have is error 49. I already disabled my avast and nothing happened/