+ Reply to Thread
Results 1 to 5 of 5

Thread: Calculating the cost of multiple items

  1. #1
    Registered User
    Join Date
    09-27-2007
    Posts
    22

    Calculating the cost of multiple items

    I have attached a sample of the problem I am trying to solve. The table is labeled from item A to I. Below that is the cost of each item. I will have people selecting the items as shown.
    I have manually calculated the total cost but don't know where to start with calculating the cost.

    I want to have a calculated total cost.

    Any help would be greatly appreciated.

    Thank you in advance
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens Greece
    MS-Off Ver
    Excel 2003
    Posts
    2,303

    Re: Calculating the cost of multiple items

    Hi Jim

    Use SUMPRODUCT for it.

    =SUMPRODUCT((B3:J3*$B$2:$J$2)+(B4:J4*$B$2:$J$2))

    =SUMPRODUCT((B5:J5*$B$2:$J$2)+(B6:J6*$B$2:$J$2))


    Hope to helps you.
    Attached Files Attached Files
    Regards

    Fotis.

    I am proud that i am Greek.

    Just to know every one.We Greeks, we are nοt proud of our politicians. Υou?

    Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Please,mark your thread [SOLVED] if you received your answer.


    My Avadar picture, is from Athens Acropolis.
    http://www.theacropolismuseum.gr

    http://www.visitgreece.gr/

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    Excel 2007
    Posts
    6,225

    Re: Calculating the cost of multiple items

    Enter this in K4 and pull down:

    =IF(A3="","",SUMPRODUCT(B3:J4*$B$2:$J$2))
    "Relax. What is mind? No matter. What is matter? Never mind!"

  4. #4
    Registered User
    Join Date
    09-27-2007
    Posts
    22

    Re: Calculating the cost of multiple items

    Thank you both so much. Both work perfectly.

  5. #5
    Valued Forum Contributor Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens Greece
    MS-Off Ver
    Excel 2003
    Posts
    2,303

    Re: Calculating the cost of multiple items

    You are welcome!

    So pls, mark your thread, as SOLVED
    Regards

    Fotis.

    I am proud that i am Greek.

    Just to know every one.We Greeks, we are nοt proud of our politicians. Υou?

    Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Please,mark your thread [SOLVED] if you received your answer.


    My Avadar picture, is from Athens Acropolis.
    http://www.theacropolismuseum.gr

    http://www.visitgreece.gr/

+ 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.2.0