+ Reply to Thread
Results 1 to 4 of 4

Forumla Help - SumIf/SumIfs??

  1. #1
    Registered User
    Join Date
    05-31-2013
    Location
    Somewhere
    MS-Off Ver
    Excel 2007
    Posts
    72

    Forumla Help - SumIf/SumIfs??

    Hi.

    I need some help. I am working on an excel document and can't figure out how to do the proper formula for what I am needing.

    On Sheet 1, in cells C7-22 I have dates listed (ex. July 15, August 12, etc.), D7-22, I have reasons (vacation, academic leave, etc.) and in E7-22, I have numbers.

    If a date contains the word July for example, and in D has vacation, I want it to add up any numbers that would correspond with those dates on to Sheet 2 of my Excel document.

    How do I do this!?!?

    Is it even possible?
    Last edited by jlo33; 05-31-2013 at 01:12 PM.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,578

    Re: Forumla Help - SumIf/SumIfs??

    Does Column C have text or dates? Dates are seen by excel as numbers. So if, in an empty cell, you put =ISNUMBER(C7) does it return true or false.

    Assuming False and you always write out July (not Jul or 7/ etc) then
    In sheet2 with July in A2 and Vacation in B1, in B2
    =SUMIFS(Sheet1!$E$7:$E$22, Sheet1!$C$7:$C$22, $A2, Sheet1!$D$7:$D$22, B$1)
    Does that work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    05-31-2013
    Location
    Somewhere
    MS-Off Ver
    Excel 2007
    Posts
    72

    Re: Forumla Help - SumIf/SumIfs??

    They came up as True. I tried the formula and it didn't work. Any other suggestions would be appreciated.

    Thanks

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,578

    Re: Forumla Help - SumIf/SumIfs??

    =SUMPRODUCT(Sheet1!$E$7:$E$22, --(TEXT(Sheet1!$C$7:$C$22,"MMMM")= $A2), --(Sheet1!$D$7:$D$22 = B$1))
    How about that one?

    Perhaps upload an example workbook (Go Advanced> Manage Attachments) showing what you have and what you want

+ 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