Need formula for the sum of products

how do i sum the product of b(x) and ah(x) from x=2 to x=97?
is this the sumproduct function? i don't know the syntax
here.

If you are going to put the SUMPRODUCT in the B column with your other values, then you have two choices.
1. Select the ranges of the data, not the entire columns. So instead of "B" in the function you'll have "B2:B97" and instead of "AH" you'll have "AH2:AH97". Or,
2. Create a footer row and put the SUMPRODUCT in the footer row. You can then still use "B" and "AH" in the function versus selecting a range.
As this is kind of a basic question about selecting cells and ranges for use in a function, I recommend taking a look at the User's Manual, available via the Help menu. Pages 121-122 of the English manual would be a good starting point for this subject.
And I see I misunderstood your original question. I thought you were talking about b(x) and ah(x) as being formulas that are dependent on the variable x, not the columns B and AH.
Message was edited by: Badunit

Similar Messages

  • Can somebody give me the formula for the balance column in a check register please? I am trying to setup like sample in iWork but am missing something.

    Can somebody give me the formula for the balance column in a check register please? I am setting the register up like the sample in iWork 09 but I seem to be missing something in the formula.

    OM,
    The way the checking account balance column works is to designate one cell for the starting balance, indicate income with positive figures and outgo with negative figures, summing the transactions and adding the sum to the starting figure.
    The formula used, =$F$1+SUM(OFFSET(F3,3-ROW(),-1,ROW()-2)), is not too difficult to understand if you study the syntax for Offset. The author of this template didn't do us any favors because the expression could have been written more clearly, in my opinion. I'll explain how it's done in the template, and then how I would have written it. With the two approaches you may be able to see what it's all about.
    $F$1 is the starting balance.
    SUM requires a Range specification.
    Offset provides the range specification. The syntax for Offset is as follows:
    Base Cell. In this case it is F3, the cell the expression is written in.
    Row Offset. In this case the author takes the current row number and subtracts the starting row from it. For the first balance the offset will be zero since the first balance is in row 3. For all the subsequent balances, the offset will be negative, meaning that the offset will point to a row above the current row.
    Column Offset. In this case the column offset is 0. That means that it is pointing 1 column to the left, Column E.
    Rows. This parameter sets the length of the range, in rows. Subtracting 2 from the current row number means that the range will be 1 for the first balance and will grow by 1 for each entry down the list.
    Taking all this into account, the range for the Sum function will always be Column E from Row 2 to the current Row.
    How I would have written the balance expression:
    =F$1+SUM(OFFSET(E$3,0,0,ROW()-2))
    I believe it's easier to follow.
    The starting balance is still in F1, but only the row needs to be absolute - a fine point, I know.
    In my expression the base cell for the Offset function is the first entry cell of the transactions, E3. The row needs to be absolute, there is no reason for the base cell to move about as it does in the author's version.
    In my approach, both the row and column offsets are zero. We always start at E3.
    In my approach, the number of rows in the range is the current row number minus 2, just as in the author's expression. That means we include all rows from Row 3 to the current row.
    I'd be happy to answer any other questions about the specifics, but you need to be specific about what you don't get.
    Jerry

  • HT1349 My Macbook Pro was stolen and I need the serial number. How would I find this? I need it for the police report so if I could get answers soon that would be great, thanks :)

    How would I find this? I need it for the police report so if I could get answers soon that would be great, thanks

    Lanlani wrote:
    ... It there any other solution ?
    Consider using this site: http://www.stolenlostfound.org/
    This is Apple's official word on the subject:
    Reporting a lost or stolen Apple product
    If you have lost or found an Apple product, please contact your local law enforcement agency to report it. Although Apple does not have a process to track or flag lost or stolen product, you can use My Support Profile to find a list of serial numbers for items purchased or registered with your Apple ID.

  • I need to change the sum of a column's total with javascript.

    Hi,
    The HTML output of a SUM column is as follows:
    <td align="center" headers="COST" class="t2data"><b> 827.49</b></td>
    I need to change the sum total with javascript.
    The initial loading of the page SUMs the DB values correctly. Then onchange JS for a couple of factors may change one items COST.
    When that one item's COST changes I need to reSUM the total with JS.
    I was trying the following.. I don't know JS to well.
         var tds = document.getElementsByTagName('td');
         for (var xtd in tds) {
         //alert('Here:'+xtd.headers);
         if (xtd.headers=="COST") {
         // you found the element, do what you need
         alert(xtd.innerHTML);
         After inserting the above code into my javascript is popups up
         my alert, "Here:undefined"
         and never hits the alert(xtd.innerHTML);

    Hi Ya'll,
    I got the following working. See any problems?
    headers=="COST" actually showed up in each row of the whole column, including the SUM. So it ended up being great so I could sum it in the JS.
    I had to change the column type to NUMBER from VARCHAR2 for the initial SUM to work, so adding any formating to the SQL was not good. It looks pretty much what Andy has though... I found a slight hesitation it it though.. I have to work out a bug that prints the old total instead of the first.
    var ltotal =0;
    var tds = document.getElementsByTagName('td');
    for (var k=0; k<tds.length; k++) {
    if (tds[k].headers=="COST") {
    var inputObjs= tds[k].getElementsByTagName('input');
    if(inputObjs.length>0) {
    for (var j=0;j<inputObjs.length;j++) {
    ltotal+= parseFloat(inputObjs[j].value);
    //alert(inputObjs[j].value);
    //alert(ltotal);
    }else{
    tds[k].innerHTML=ltotal;
    Message was edited by:
    changed i to k to avoid the italics
    Bill Carlisle

  • Get every 10 sec a int.value and need to take the sum of the last 18 values

    Hi,
    i get every 10 sec a int.value and need to take the sum of the last 18 values (3 minutes).
    the programm should work permanently.
    I tried with a 1d-array but didn´t get a result. Could anyone help me?
    Best regards
    kasche

    Use the example in the posted link, then add another shift register for your sum of all elements. Dont add all the elements every time, add them to a running total when they come in. You will need to evaluate how big this number is going to get, however, and decide if you should use an I64 for your running total of all elements. Even this will overflow eventually. 
    So your code would look like that posted by GerdW in the above link, then add a shift register with a starting value of 0. Then add your input value to the value comming from this shift register and send the output to the shift register's output terminal. This creates your running total of all values. The code by GerdW provides your "last 18 elements" total in a very efficient manner, just change the 15 to an 18.
    I have attached a sample bit of code to make it clear. I saved it in LV 8.0 so more people can open it.
    CyberTazer
    Software Systems Engineer
    Attachments:
    Running 18 total.vi ‏11 KB

  • How to exclude STOs from GATP, when we need to ship the "Customer return" products from branch to Central DC?

    How to exclude STOs from GATP, when we need to ship the "Customer return" products from branch to Central DC?
    We have to set up a scenario for sending "Customer returned" products from branches to Central DC through STO. But we do not want GATP check for these STOs, as they are Customer Returns, which need to analyze at CDC for further actions. We are using SCM 7.0 and ECC 6.0
    Thanks in advance,
    Ravi

    Hi,
    You can exclude the "customer returned" category from the scope of check from that particular Check control

  • *UPDATED 7/15/04* Complete guide to bioses, drivers, and needed files for the MSI K8N Neo Platinum

    Complete newbie's guide to bioses, drivers, and needed files for the MSI K8N Neo Platinum:
    Last Updated: Thursday July 15th, 2004
    Bioses:
    (In order of date released.)
    1.1b3 - (Download)
    - Pre-1.1, given to reviewers to use in their reviews and benchmarks.
    - Less stable, but supposedly you get slightly better overclocks.
    1.1 Official - (Download)
    1. This is AWARD BIOS release
    2. This BIOS fixes the following problems of the previous version:
    - Memory always run DDR 200 when install single side DDR on DIMM2 & DIMM3.
    - Windows 2000 can't format the RAID IDE HDD when plug in Promise 378 controller.
    1.2b5 - (Download)
    1.2b7 - (No Download Yet)
    1.2b10 - (Download)
    - First attempt to fix false temperature readings. Fixes it for some people with Newcastle cores and doesn't fix it for anybody with Clawhammer cores.
    1.2b12 - (Download)
    - Second attempt to fix false temperature readings. Fixes it for some people with Newcastle cores and some people with Clawhammer cores.
    1.3b1 - (Download)
    - Another attempt to fix temperature problems?
    - Possibly fixes cold boot/power light issues?
    1.2 Official - (Download)
    1. This is AWARD BIOS release
    2. This BIOS fixes the following problems of the previous version:
    - System can't resume from S3 sometimes when install USB device.
    - Support K8 Sempron CPU.
    - Turn off keyboard LED in S3.
    --Quick Guide for flashing BIOS, provided by MSI--
    1. Create a MS-DOS boot diskette, then copy the the .exe and the bios file to the floppy disk. Both of these files can be found in the package you downloaded.
    2. Press "Delete" and go to BIOS setup while computer bootup.
    Check BIOS advanced features and see if BIOS flash write control is enabled
    (This option must be enabled. If you can not find this setting, it means the BIOS can be
    flashed.)
    3. Boot from MS-DOS boot diskette and get a:\> prompt.
    4. Type "", then press ENTER
    5. The flash program will then ask "Do you want to save BIOS?", please press "N" for no. The when you see Press 'Y' to program or 'N' to Exit, please press "Y" to continue.
    6. After flashing complete, remove floppy and reset the system .
    7. Press DELETE or F1 when prompted at first reboot after flashing.
    8. Load BIOS optimized defaults, then save settings and exits.
    Drivers & Needed Files:
    (Note: All these drivers are for Windows XP.)
    Leaked Nvidia nForce3 Chipset Drivers Version 4.40
    (Please use at your own risk, these are LEAKED drivers. Password for the .zip file is "ocworkbench rules". Also, you will need to rename the WinXP_2K folder in IDE to either WinXP or Win2K else the installer doesn't pick it up.) Thanks for the link Wonkanoby!
    *NEW* Leaked Nvidia nForce3 Chipset Drivers Version 5.03
    More leaked drivers? Seems some parts of the drivers are older and some are newer.
    1. Windows XP Service Pack 1A (Web Install) -or- Windows XP Service Pack 1A (Full Install)
    2. Microsoft DirectX 9.0b (Web Install) -or- Microsoft DirectX 9.0b (Full Install)
    3. Nvidia nForce3 Chipset Drivers Version 4.24
    4. AMD Athlon 64 Processor Driver Version 1.1.0.14
    5. Nvidia Video Card Driver Version 56.72 -or- Omega Nvidia Video Card Driver Version v1.5303
    (The Omega drivers are third party drivers optimized for gaming, most prefer these over the standard Nvidia drivers.)
    5. ATI Video Card Driver Version 4.7 -or- Omega ATI Video Card Driver Version 2.5.51
    (The Omega drivers are third party drivers optimized for gaming, most prefer these over the standard ATI drivers.)
    6. Onboard Sound Driver (Realtek AC'97 Audio Codec) Version A3.61
    It is HIGHLY reccomended that you install the drivers/needed files in the order listed above. Please note that there are two #5's because you either install one or the other depending on your video card, do not install both of them.
    You will come across a problem here though. You can't install the chipset drivers without installing the Windows service pack and DirectX first, but the Windows service pack and DirectX installs need the internet to download files and you won't have working internet until you install the chipset drivers. Here's what I did to get around this. Instead of downloading the web install versions of Windows service pack and DirectX, download the full version and and put them along with all the other drivers on a backup hard drive or burn them to a CD, this way you will have all the drivers you need when it's time to install them and none of them will require the internet to download files.
    Another note when installing drivers. Apparently the Nvidia chipset drivers also come with drivers for the onboard sound, but people seem to agree that the Realtek onboard sound drivers are better. When you are installing the Nvidia chipset drivers, just be sure to uncheck the box for sound drivers when it asks you which drivers you would like to install. Now you can safely install the Realtek drivers without any chance of conflicting sound drivers. Thanks for the tip Wonkanoby!

    Quote
    Originally posted by RLiu818
    Quote
    Originally posted by Deviation56
    Quote
    Originally posted by RLiu818
    You CAN install the nforce drivers BEFORE installing SP1.  The only requirement to install the nforce drivers is DX9.
    So is SP1 still recommended to install before the nforce drivers?
    The installer still reccomends to install it beforehand for full USB 2.0 functionality... I would have put what you said in there but I wanted to keep it as simple as possible.  
    oh.  IIRC the installer just says USB 2.0 will be fully functional after SP1 is installed.  So after you install SP1 you go into device manager and u click update driver and it will auto search and update the driver.
    Simplicity-wise, i guess its pretty much equal.  It might take less preparation to just copy DX9 full onto a CD and install that first, then nforce driver, then right away you have yoru internet connection.
    but i dunno.. i guess i will try it your way this time when my RMA"d board comes.
    i will be fomratting and doing a fresh install later on today and will let you know if i come across any problems

  • I would like to upgrade my OS to the latest version.  I now have 10.6.8 and my machine has 1Gb of memory.  Need 2Gb for the new OS.  Is is possible (and practical) to add memory to a machine that's five years old?

    I would like to upgrade my OS to the latest version.  I now have 10.6.8 and my machine has 1Gb of memory.  Need 2Gb for the new OS.  Is is possible (and practical) to add memory to a machine that's five years old?

    You can put two 2gb RAM sticks in your model 2,1 but it can only use 3,3gb. This is a hardware limitation and cannot be changed.
    http://en.wikipedia.org/wiki/3_GB_barrier
    http://www.everymac.com/systems/apple/macbook_pro/faq/macbook-pro-core-2-duo-3-g b-memory-limitation-details.html
    OWC tests have found that there is a slight speed increase with having two 2gb sticks in rather than one 1gb and one 2gb. Your model is in the gray lines at the bottom of the graph. http://eshop.macsales.com/shop/Memory_Benchmark/Apple_MacBook/
    You can buy Lion for $29 from the App Store witht a model 2,1 MacBook. Lion will require at least 2gb of RAM but really needs 4gb to run smoothly. As for programs see this list for compatibility with 10.7 http://roaringapps.com/apps:table
    Lion doesn't run any Power PC programs. To see if you have any Power PC programs go to the Apple in the upper left corner and select About This Mac, then click on More Info. When System Profiler comes up select Applications under Software. Then look under Kind to see if any of your applications are listed as Power PC. Universal and Intel will run under Lion.
    Before Mac switched to Intel processors they used Power PC processors from 1994 to 2005. Power PC 601 through 604, G3, G4 and G5. Applications written for the Power PC processors need the application called Rosetta to run on Intel processors. This was part of the Operating System in 10.4 and 10.5 but was an optional install in 10.6. With 10.7 Lion Apple dropped all support for Power PC applications.
    These are good online stores for Mac compatible RAM
    OWC http://eshop.macsales.com/shop/memory/MacBook/DDR2/ - They offer Mac tested RAM at very good prices.
    Crucial Memory http://www.crucial.com/ - good place to buy RAM from all over the world. They also have an excellent memory selector that allows you to choose memory based on your computer's model
    Data Memory Systems http://www.datamemorysystems.com/apple-memory.asp - another good, cheap place to buying RAM if you live in the U.S.
    Here are instructions on replacing RAM in a MacBook with a removable battery. http://homeoffice.consumerelectronicsnet.com/articles/viewarticle.jsp?id=44404
    If you don’t have the tools to open up the MacBook OWC has a set for $5
    http://eshop.macsales.com/item/OWC/TOOLKITMHD/

  • I have a macbook pro 1175 its a 2006 model which boot camp will work i tried 4.03 but it says this boot camp is not for this machine thats the oldest one i found here please help i have windows 7 32 bit installed but need drivers for the sound

    i have a 2006 mackbook pro running windows 7 32 bit i need drivers for the sound and the earliest bootcamp on here is 4.03 my machine says its not for this system please help which version of boot camp can i use

    Read this. You need to be running Snow Leopard or later.
    http://support.apple.com/kb/ht3986

  • Need solution for the following sync error: "iTunes could not sync calendars to the iPad "iPad name" because an error occurred while sending data from the iPad"

    Need solution for the following sync error: "iTunes could not sync calendars to the iPad "iPad name" because an error occurred while sending data from the iPad"

    I want to add that I deleted all the old back-ups and created a new back-up without any issues except sync problem.

  • Need help for the $200 promo rebate for trade-in of I Phone 4

    Need help for the $200 promo rebate for trade-in of I Phone 4.  Unable to preregister when I ordered the new 6  in September.  Now can not contact VZW recycle program regarding.

    When I ordered my phone on Sept. 13th in a Verizon store, I had to ask the salesman how I went about getting the $200 rebate. He said shipping materials would come with the new phones. When I received the confirmation e-mail of my order, it contained a link for the rebate. Fortunately I clicked on the link, filled out the form online, and received the packing materials to send my phone in shortly after. My phones came in on Oct. 14th and I sent 3 of them back. So far I have received a gift card for $200 for 2 of the phones; the other is showing not received. I don't know what your situation is, but I think the promotion ended Oct. 15th. If I had listened to the salesman I think I would be out of luck as well. I hope I am wrong for your sake.

  • I have CS4 web Premium -  I am trying to look at the Adobe Cloud option for the 2015 compable product.  However...under my registered produst only Acrobate is listed...I also have the subject Adobe product.  When I type in the serial # from the oriinal ad

    I have CS4 Web Premium -  I am trying to look at the Adobe Cloud options for the 2015 compatible products.  However...under my registered products...only Acrobat is listed...I also have the CS$ Web Premium Adobe product.  When I type in the serial # from the original Adobe CS 4 dvd's package I get a "product already registered"...but I can not find it's registration on any Adobe page and it doesn't show up under registered products on the Adobe Cloud page(s)
    Since it's registered...how/where do I find this verification...
    Thanks   TRinAz
    Message was edited by: Tim Rogers - spelling

    You will have to contact support by web chat to figure out any such issues.
    Mylenium

  • I Need Help for the popup message every time I go to safari: "Warning! Old version of Adobe Flash Player detected. Please download new version."???

    I Need Help for the popup message every time I go to safari: "Warning! Old version of Adobe Flash Player detected. Please download new version."???

    If you are talking about Safari on the iPad, there is no version of Adobe Flash for iOS and there never has been. Clear Safari, close the app and reset the iPad.
    Go to Settings>Safari>Clear History and Website Data
    In order to close apps, you have to drag the app up from the multitasking display. Double tap the home button and you will see apps lined up going left to right across the screen. Swipe to get to the app that you want to close and then swipe "up" on the app preview thumbnail to close it.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.
    If you are talking about Safari on your Mac, you are in the wrong forum. But I would still clear the cache, quit Safari and restart the Mac.

  • I need driver for the HDR-SR5 for windows 7

    I need driver for the HDR-SR5 for windows 7

    I used the Vista driver on Win 7 preinstalled notebook and it did work.
    I have no idea what A200 notebook model you have but in my case the driver was called:
    Flash Media Driver 2.0.0.6
    This is a driver for your Bridge Media Slot. This slot lets you insert either a SD card, Memory Stick (Pro) or xD picture card.

  • OBIEE:Need formula for all characters to the right of the right-most space

    Hi:
    I need to extract the right-most word from a field that could have 2-3 spaces. Example: "Administration Main Boston" = "Boston"
    Thanks-
    Charlie Epes
    Buffalo, NY

    Okay, this took awhile, but it was a nice challenge. The following will work for CHAR fields that have up to 3 spaces. It will extract and display the last word that follows the last space. Again, this was designed to work for words with no spaces, one space, two spaces, and 3 spaces. Here is the code:
    RIGHT(RIGHT(RIGHT(TABLENAME.COLUMN_NAME,LENGTH(TABLENAME.COLUMN_NAME) - POSITION(' ' IN TABLENAME.COLUMN_NAME)),LENGTH(RIGHT(TABLENAME.COLUMN_NAME,LENGTH(TABLENAME.COLUMN_NAME) - POSITION(' ' IN TABLENAME.COLUMN_NAME)))-POSITION(' ' IN RIGHT(TABLENAME.COLUMN_NAME,LENGTH(TABLENAME.COLUMN_NAME) - POSITION(' ' IN TABLENAME.COLUMN_NAME)))),LENGTH(RIGHT(RIGHT(TABLENAME.COLUMN_NAME,LENGTH(TABLENAME.COLUMN_NAME) - POSITION(' ' IN TABLENAME.COLUMN_NAME)),LENGTH(RIGHT(TABLENAME.COLUMN_NAME,LENGTH(TABLENAME.COLUMN_NAME) - POSITION(' ' IN TABLENAME.COLUMN_NAME)))-POSITION(' ' IN RIGHT(TABLENAME.COLUMN_NAME,LENGTH(TABLENAME.COLUMN_NAME) - POSITION(' ' IN TABLENAME.COLUMN_NAME)))))-POSITION(' ' IN RIGHT(RIGHT(TABLENAME.COLUMN_NAME,LENGTH(TABLENAME.COLUMN_NAME) - POSITION(' ' IN TABLENAME.COLUMN_NAME)),LENGTH(RIGHT(TABLENAME.COLUMN_NAME,LENGTH(TABLENAME.COLUMN_NAME) - POSITION(' ' IN TABLENAME.COLUMN_NAME)))-POSITION(' ' IN RIGHT(TABLENAME.COLUMN_NAME,LENGTH(TABLENAME.COLUMN_NAME) - POSITION(' ' IN TABLENAME.COLUMN_NAME))))))
    To use this, do this:
    1) Paste the code in Notepad.
    2) Do a "Replace All" and substitue TABLENAME.COLUMN_NAME for "- Employee"."CRM Employee Branch"
    3) Copy the transformed code and paste it in the fx of a dummy column in your report.

Maybe you are looking for