Ask Experts Questions for FREE Help !
Ask
    suspectx0's Avatar
    suspectx0 Posts: 2, Reputation: 1
    New Member
     
    #1

    Aug 1, 2009, 12:59 PM
    Sumproduct And Excel
    I am trying to make a spreadsheet that will take a date and see that it has a specific dollar amount to it for a specific type of product.
    IE lets say I want to see how much I spent in January on bagels.
    I know how to count how many times I bought bagels in July using sum product but I want to knowhow I can add the dolllar amount.
    My spreadsheet would have a date column, a collumn for what I buy and a collumn for the price I paid for it.
    This is what I tried to use but I have no luck with it.
    =SUMPRODUCT((MONTH(Date1)=1)*Ifoodtyp1)*(foodcost1 ="Bagel")
    Any help would beg reatly appreciated
    JBeaucaire's Avatar
    JBeaucaire Posts: 5,426, Reputation: 997
    Software Expert
     
    #2

    Aug 1, 2009, 05:41 PM

    I think the formulas you really want to use are COUNTIF() and SUMIF(), though you can certainly DO the job with SUMPRODUCT().

    If you post up a sample spreadsheet with a spot showing your desired RESULTS, this will be much simpler to resolve for you. In the sample, do not try to fake formulas, just manually enter the results the way you want them shown in your layout.

    So mockup a sample workbook showing the dilemma then click GO ADVANCED and use the paperclip icon to post up your workbook.
    JBeaucaire's Avatar
    JBeaucaire Posts: 5,426, Reputation: 997
    Software Expert
     
    #3

    Aug 1, 2009, 05:44 PM

    Strictly off the SUMPRODUCT() approach, I would say the syntax would be:

    =SUMPRODUCT(--(Month(DateRange)=1),--(FoodRange=Food1),FoodCostRange)

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

How to connect one excel sheet to other excel sheet [ 28 Answers ]

How to connect one excel sheet to other excel sheet.

Getting error in using SUMPRODUCT [ 2 Answers ]

I have a sheet linked to a cell containing SUMPRODUCT formula (like "=SUMPRODUCT(--(dealer_List=A6),(claims_recd),--(Data_List>=$B$2),--(Data_List<=$D$2))". "claims_recd" is NAME i have given to a column and have some basic IF formula for gettng value. I am getting "0" value in the cell which...

Excel 2007 to have excel 2003 look? [ 6 Answers ]

Hey I have Microsoft Excel 2007, from my course at college I have been given instructions to do a task. However these instructions are for excel 2003. How do I change my excel 07 to look like excel 03 so that it is easier. I know there is a way, help greatly appreicated thanks.

Ms excel [ 4 Answers ]

Hi, Say I have multiple data in a spread sheet like, A 1 DAD111 2 CATUS25 3 58UTIOPS


View more questions Search