+ Reply to Thread
Results 1 to 4 of 4

sum up totals in lookup table

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    03-24-2007
    Posts
    107

    sum up totals in lookup table

    Many thanks to those that helped on my lookup question. I feel silly as it was an obvious mistake.

    I need to make a program to take inventory at a bakery. We do this twice a day. Our products are loaves of bread. We have white, multigrain, soy and lindseed, low gi, and gluten free.

    They are in pallets, trolleys, crates, boxes, pallet rows (part of a pallet) and individual loaves (singles)

    I need to find out how many loaves that we have. How do I total them up?

    unpack2.xlsx
    Last edited by rookie37; 07-28-2014 at 11:25 PM.
    Excel 2007

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2505 Win 11
    Posts
    24,732

    Re: sum up totals in lookup table

    In E17, =SUMIF($B$5:$B$14,C17,$E$5:$E$14) and copy down.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: sum up totals in lookup table

    Hi,

    In the first green cell on Sheet1 (E17), enter this formula:
    Formula: copy to clipboard
    =SUMIF($B$5:$B$14,$C17,$E$5:$E$14)
    Then fill this formula down as far as you need to.

    If you are using a version of Excel prior to 2007 (which I assume you aren't, as your workbook is in the .xlsx format introduced in Excel 2007), then you will need to use the following array formula instead, as SUMIF isn't recognised:
    Formula: copy to clipboard
    =SUM(IF($B$5:$B$14=$C17,$E$5:$E$14))
    NB: array formulas are entered using Ctrl + Shift + Enter, not just Enter.

    I hope this helps
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    03-24-2007
    Posts
    107

    Re: sum up totals in lookup table

    Thank you! That was a big help

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] running totals in Pivot Table - removing a user from the totals for the current week
    By eisenbergg in forum Excel Charting & Pivots
    Replies: 12
    Last Post: 09-08-2013, 04:39 PM
  2. Lookup and totals
    By pheee in forum Excel General
    Replies: 2
    Last Post: 02-17-2011, 04:02 AM
  3. Auto lookup and sum month totals
    By freud1 in forum Excel General
    Replies: 7
    Last Post: 02-24-2010, 05:55 AM
  4. [SOLVED] formula to lookup & sum totals, given a start inv.# & finish inv.#
    By Learning the hard way in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-21-2006, 07:55 AM
  5. Lookup's for and totals
    By Purfleet in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-13-2005, 08:06 AM

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