+ Reply to Thread
Results 1 to 4 of 4

Adding numbers together that are from same location

  1. #1
    Forum Contributor
    Join Date
    06-03-2009
    Location
    Phoenix, Az
    MS-Off Ver
    MS Office 365
    Posts
    145

    Adding numbers together that are from same location

    Hello all.

    I attempting to develop a forumla to account for 50 locations I am responsible for that will add different numbers together based on a specific location.

    For example, if the location says "Los Angeles", I need the formula to look for all instances of "Los Angeles", the quantity of items sold and add them up for me in one spot.

    Thank you in advance.
    Dave

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Adding numbers together that are from same location

    Hi davidingilbert,

    I suggest that you upload a sample spreadsheet with about 10-15 rows of data so we could figure our a solution for you.

    To upload a file click on Go Advanced on the bottom of your screen, then click on paperclip icon and Add Files.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Adding numbers together that are from same location

    Sounds like a job for SUMIF

    =SUMIF(A1:A1000,D1,B1:B1000)

    A1:A1000 = all locations
    B1:B1000 = Quantity
    D1 = Location of Interest.

  4. #4
    Forum Contributor
    Join Date
    12-16-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    109

    Re: Adding numbers together that are from same location

    Using an array would work in this instance

    {=Sum(if(B2:B22="Mon", C2:C22, 0))}

    B2:B22 is the location

    c2:C22 is the number of sales

    Type in the formula without the curly brackets
    Prior to pressing enter, press CTRL-Shift- Enter
    Curly brackets will be entered around the formula and the values will be treated as an array
    Last edited by JBeaucaire; 01-02-2014 at 11:35 AM. Reason: Removed unrelated in-post lnk. Create a signature if you wish to include this type of free content.

+ 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. Location and Building Numbers question
    By C.j. in forum Excel General
    Replies: 6
    Last Post: 09-25-2013, 03:19 PM
  2. VB Script - Adding trusted location
    By frksdf in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-25-2012, 11:44 AM
  3. Different sheets and automaticly adding their location
    By Krymly in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 12-16-2011, 09:49 AM
  4. Help adding IF ISNUMBER in Proper location in Array Formula
    By fridgeymonster3 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-06-2011, 01:00 PM
  5. Finding a cells location and then adding a value
    By Ray_n_yellow in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-13-2009, 08:19 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