+ Reply to Thread
Results 1 to 11 of 11

Thread: SUMIF formula

  1. #1
    Registered User
    Join Date
    07-13-2007
    Posts
    45

    SUMIF formula

    Hello,

    I am not sure what I'm doing wrong with this formula. It may even be that I'm using the wrong formula.

    What I need to do is tally up total sales in the "Sales Forecast" worksheet, for each month from the "Sales Assumptions" worksheet.

    However when I tried the following formula in the month of January Cell B4 I get a zero:

    =SUMIF('Sales Assumptions'!$B$6:$B$31,B1,'Sales Assumptions'!$F$6:$F$31)
    Can anyone help with a correct formula? Should I be using some type of lookup formula?

    I have attached the file for review.

    Thanks
    Floridagunner
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    03-19-2010
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2010, 2007,2002
    Posts
    46

    Re: Need Help with SUMIF formula

    what column is the data in in the "Sales Forecast" worksheet? your first problem is probably that you are not referencing "Sales Forecast" worksheet in your formula.
    Last edited by shg; 01-06-2011 at 05:44 PM. Reason: deleted spurious quote

  3. #3
    Registered User
    Join Date
    07-13-2007
    Posts
    45

    Re: Need Help with SUMIF formula

    Hello RMB,

    I am trying to display in Cell B9 of the "Sales Forecast" worksheet, the total net sales for January from the "Sales Assumptions" worksheet. I want to then be able to copy the correct formula across and down.

    Thanks
    Last edited by shg; 01-06-2011 at 05:45 PM. Reason: deleted spurious quote

  4. #4
    Forum Guru shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2007, 2010
    Posts
    25,772

    Re: SUMIF formula

    Guys, please don't quote each others' posts. It's just the two of you.

    Thanks.
    Microsoft MVP - Excel
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Forum Guru ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    traded up
    MS-Off Ver
    2003 & 2010
    Posts
    1,905

    Re: SUMIF formula

    In column B of "Sales assumptions" you have date values (formatted to display the month name) while in Sales Forecast B1 you only have a text name for the month. Excel won't match these things together.

    Cheers,
    “To sin by silence when they should protest makes cowards of men.” ~ Abraham Lincoln

  6. #6
    Registered User
    Join Date
    07-13-2007
    Posts
    45

    Re: SUMIF formula

    Conne does that mean there is no solution to this?
    Last edited by shg; 01-06-2011 at 05:49 PM. Reason: deleted spurious quote

  7. #7
    Forum Guru shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2007, 2010
    Posts
    25,772

    Re: SUMIF formula

    Pilot to Gunner: Please don't quote whole posts. Use the REPLY button.

    Over and out.
    Microsoft MVP - Excel
    Entia non sunt multiplicanda sine necessitate

  8. #8
    Forum Guru shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2007, 2010
    Posts
    25,772

    Re: SUMIF formula

    On Forecast:

    In B1: 1/1/2011
    In C1: 2/1/2011

    Drag across to M1.

    On Assumptions, in B6 and copy down: =C6-DAY(C6)+1
    Microsoft MVP - Excel
    Entia non sunt multiplicanda sine necessitate

  9. #9
    Forum Guru ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    traded up
    MS-Off Ver
    2003 & 2010
    Posts
    1,905

    Re: SUMIF formula

    The solution will depend on how you need to structure your data, so it's up to you. Do you need column B to contain the date or would the month number suffice?
    “To sin by silence when they should protest makes cowards of men.” ~ Abraham Lincoln

  10. #10
    Registered User
    Join Date
    07-13-2007
    Posts
    45

    Re: SUMIF formula

    Hello,

    SHG: I am trying out your suggestion right now.

    Conne: Yes Column B in the assumptions tab does need to have the date.

    Thanks

  11. #11
    Registered User
    Join Date
    07-13-2007
    Posts
    45

    Re: SUMIF formula

    Hello SHG,

    Your suggestion worked!!!

    Thank You!!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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