+ Reply to Thread
Results 1 to 4 of 4

SUMing values based on dropdown list in another column

  1. #1
    Registered User
    Join Date
    10-05-2012
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    2

    SUMing values based on dropdown list in another column

    Hello all, I have spent a long time looking for the answer to this question so I am hoping by posting here the answer will come to me.

    Anyway, I keep track of business costs using Excel 2010 and I want to be able to autosum my expenses based on headings from a dropdown list. In column C I can select the type of expense (flights, accommodation, etc.) from the dropdown list. My cost for each flight, etc. is in column N. I want to be able to see may total cost for each heading on another worksheet. I have used the formula =IF(September!C:C="Flights","SUM:September!N:N","") but this just gives me a blank cell, does this formula need to be made cell specific in some way? i.e. is the logical test for my current formula looking at column C as a whole rather than individual cells? Basically, I want it to look at each individual cell in column C and sum values in column N based on the item selected from the dropdown menu in column C.

    I will have the different payment methods (credit card, cash, cheque) in dropdown list in column D and also want to track total spends on each, I assume the same formula for above will work for this, just change column C to D?

    Also, I will use Excel but may use a Google Spreadsheet instead, will the same formula work in Google?

    Thanks in advance for any responses.

  2. #2
    Forum Contributor
    Join Date
    09-29-2011
    Location
    Kolkata, India
    MS-Off Ver
    Excel 2003/2007
    Posts
    182

    Re: SUMing values based on dropdown list in another column

    Hi,

    Please attached the excel file. It will help us solving the problem.

    regards

    taps

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: SUMing values based on dropdown list in another column

    Try

    =SUMIF(C:C,"Flights",N:N)
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

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

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Registered User
    Join Date
    10-05-2012
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: SUMing values based on dropdown list in another column

    Thank you for the replies, it is doing what I want it to do now. The formula I am using is =SUMIF(September!C:C,"Flights",September!N:N) (I have my costs in a worksheet called September and my totals are going to a Summary worksheet).

    Thanks again for the replies.

+ 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