+ Reply to Thread
Results 1 to 13 of 13

Still Sumif Question

  1. #1
    Registered User
    Join Date
    02-06-2013
    Location
    Dade City, FL
    MS-Off Ver
    Excel 2007
    Posts
    43

    Still Sumif Question

    This formula:

    =sumif(o12:o32,$q44,r12:r18) This formula checks o12:o32 for a specific date located in cell Q44. Then it sums the values "total revenues" by that specific date. r12:r18 is the series of 7 days which is the time period over which our revenues are summed. Along side column "r" is column "s". It contains a drop down box with the choices of 'C' of "CK" for cash or check. There are no other forms of revenue accepted. I need the revenues that have been summed by date to be further seperated as "Cash" or "Check".

    Is this another "wild card" application or a conditional thing.

    This newbie needs more help.

    Thanks,

    Mel

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Still Sumif Question

    Just a quick look in your formula resulted little change in range reference

    =sumif(o12:o18,$q44,r12:r18) Or =sumif(o12:o32,$q44,r12:r32)

    To better describe about your problem just attach a sample workbook with expected output for getting exact and faster solution.

    To Attach a File:

    1. Click on Go Advanced
    2. In the frame Attach Files you will see the button Manage Attachments
    3. Click the button.
    4. A new window will open titled Manage Attachments - Excel Forum.
    5. Click the Browse... button to locate your file for uploading.
    6. This will open a new window File Upload.
    7. Once you have located the file to upload click the Open button. This window will close.
    8. You are now back in the Manage Attachments - Excel Forum window.
    9. Click the Upload button and wait until the file has uploaded.
    10. Close the window and then click Submit.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    02-06-2013
    Location
    Dade City, FL
    MS-Off Ver
    Excel 2007
    Posts
    43

    Re: Still Sumif Question

    Attaching sample workbook. Re: ur answer, I don't see where "Go Advanced" is located.

    Thanks,

    Mel B

    JUST FOUND IT>

  4. #4
    Registered User
    Join Date
    02-06-2013
    Location
    Dade City, FL
    MS-Off Ver
    Excel 2007
    Posts
    43

    Re: Still Sumif Question

    The question is about "Sheet 1"

    Mel

  5. #5
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Still Sumif Question

    Why not...

    R44 =SUMIFS($R$12:$R$32,$O$12:$O$32,$Q44,$S$12:$S$32,"C")
    T44 =SUMIFS($R$12:$R$32,$O$12:$O$32,$Q44,$S$12:$S$32,"CK")
    HTH
    Regards, Jeff

  6. #6
    Registered User
    Join Date
    02-06-2013
    Location
    Dade City, FL
    MS-Off Ver
    Excel 2007
    Posts
    43

    Re: Still Sumif Question

    That worked but is there an easier way instead of doing this 4X's over for columns R,T,V and X. I would like total cash and total checks calculated for all 4 columns by day.

    Thanks again

    Mel

  7. #7
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Still Sumif Question

    My suggestion would be to add the SUMIFS together, but maybe there is a better way...

    In R44 copied down

    Please Login or Register  to view this content.

  8. #8
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Still Sumif Question

    Believe it or not, this will work for the totals:

    R44: =SUMIF($S$12:$Y$32, "C", $R$12:$X$32)
    T44: =SUMIF($S$12:$Y$32, "CK", $R$12:$X$32)
    Last edited by JBeaucaire; 02-25-2013 at 07:37 PM.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  9. #9
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Still Sumif Question

    Hi Jerry,

    Thanks for the help...

    I knew about the overlapping ranges, but since the date in Column O has to match the value in Q44 the overlapping technique does not seem to do the trick.

  10. #10
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Still Sumif Question

    For Cash only row by row by date, this seems to work:

    R44: =SUMPRODUCT(($O$12:$O$32=$Q44)*($S$12:$Y$32="C"), $R$12:$X$32)
    T44: =SUMPRODUCT(($O$12:$O$32=$Q44)*($S$12:$Y$32="CK"), $R$12:$X$32)

    ...copied down.

  11. #11
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Still Sumif Question

    Thanks Jerry, this works great...

  12. #12
    Registered User
    Join Date
    02-06-2013
    Location
    Dade City, FL
    MS-Off Ver
    Excel 2007
    Posts
    43

    Re: Still Sumif Question

    Thanks to everyone for their help. I checked out all of the arithmetic today over the 8 pages and it checked out. I locked all of the proper cells in the individual worksheets. The only thing left to do is re-open the worksheets and lock in the print areas.

    Thanks again guys!

    Mel

  13. #13
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Still Sumif Question

    If that takes care of your original query, please select Thread Tools from the menu above and mark the thread as solved. Thanks.

+ 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