+ Reply to Thread
Results 1 to 3 of 3

=SUM(Price*Quantity) and microsoft help is no help at all

  1. #1
    Registered User
    Join Date
    08-23-2006
    Location
    Australia
    Posts
    1

    =SUM(Price*Quantity) and microsoft help is no help at all

    Hi

    I'm not sure how to do this, but I want the Total (column D) to be the sum of the Unit Price (column C) times the Quantity (column A). Is there a formula you can apply to a column or do I have to do it in individaul cells?
    Don't kid yourself, Jimmy. If a cow ever got the chance, he'd eat you and everyone you care about!

  2. #2
    Valued Forum Contributor Excelenator's Avatar
    Join Date
    07-25-2006
    Location
    Wantagh, NY
    Posts
    333
    Why isn't your formula in column D simply

    =C1*A1

    And then copy it down the column?
    ???
    ---------------------------------------------------
    ONLY APPLIES TO VBA RESPONSES WHERE APPROPRIATE
    To insert code into the VBE (Visual Basic Editor)
    1. Copy the code.
    2. Open workbook to paste code into.
    3. Right click any worksheet tab, select View Code
    4. VBE (Visual Basic Editor) opens to that sheets object
    5. You may change to another sheets object or the This Workbook object by double clicking it in the Project window
    6. In the blank space below the word "General" paste the copied code.

  3. #3
    Forum Expert
    Join Date
    09-09-2005
    Location
    England
    MS-Off Ver
    2007
    Posts
    1,500
    It depends what you require
    on an individual line basis the previous answer copied down will work

    If you wished to have the sum of the above at the bottom and your data was in a2:c10

    sumproduct((a2:a10),(c2:c10))

    or sum(a2:a10)*sum(c2:c10)

    Depends what you want

    Regards

    Dav

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1