+ Reply to Thread
Results 1 to 4 of 4

Calculating Quantities in One Column By Prices In Another

  1. #1
    Registered User
    Join Date
    05-02-2007
    Posts
    3

    Calculating Quantities in One Column By Prices In Another

    I'm trying to get this sheet to add up so that it takes the number of items for each item number, multiplies it by the unit price,

    then returns the number for each department with a total that each area is spending.


    Below is the sheet I'm working on. I'm just unsure how to go about addint up the column by the price for each area.


    \1


    Thanks in advance for any help!

  2. #2
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: Calculating Quantities in One Column By Prices In Another

    One way is to put this in B22 and drag down:
    =SUMPRODUCT(OFFSET($A$5,0,MATCH(A22,$B$3:$Q$3,0),COUNT($A$5:$A$18)),$S$5:$S$18)

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Calculating Quantities in One Column By Prices In Another

    Try something like:

    =SUMPRODUCT(($B$3:$Q$3=A22)*($B$5:$Q$18)*($S$5:$S$18))

    copied down
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  4. #4
    Registered User
    Join Date
    05-02-2007
    Posts
    3

    Re: Calculating Quantities in One Column By Prices In Another

    That worked perfectly. Thank you so much!

+ 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