+ Reply to Thread
Results 1 to 5 of 5

Restaurant Schedule Using SUMPRODUCT & COUNTIF Formula. Almost Done so PLEASE ADVISE!!

  1. #1
    Registered User
    Join Date
    07-18-2016
    Location
    Bismarck, ND
    MS-Off Ver
    Microsoft Office 2013
    Posts
    15

    Exclamation Restaurant Schedule Using SUMPRODUCT & COUNTIF Formula. Almost Done so PLEASE ADVISE!!

    Please see the attached excel file which is a schedule for my quick service restaurant. I am trying to identify how many shifts of each job position are during lunch rush and dinner rush. You will notice that I have to break full time and part time up so I can make sure I have every position scheduled, which does not appear to be the best way to do this. Is there a way to have the COUNTIF formula correlate with the results from the SUMPRODUCT formula? I want to be able to easily identify how many of each position we have during lunch rush and dinner rush. No need to know all of the other time frames that were utilized for the SUMPRODUCT formula because if we have the positions covered for lunch and dinner rush, it will cover all of the other time frames due to the way the shifts are scheduled. If you think there is a better way to do this please share. Thanks and I need to wrap this schedule up ASAP as we are opening in two weeks!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: Restaurant Schedule Using SUMPRODUCT & COUNTIF Formula. Almost Done so PLEASE ADVISE!!

    Hello
    Try offsetting the Position argument in the SUMPRODUCT function, for example does this work for the Full Time Lunch Rush in D53:D57?

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    This returns: 2, 3, 1, 0, 1. for Monday and Tuesday: 2, 3, 0, 1, 1.

    Test is out further to see if it's working correctly.

    DBY

  3. #3
    Registered User
    Join Date
    07-18-2016
    Location
    Bismarck, ND
    MS-Off Ver
    Microsoft Office 2013
    Posts
    15

    Re: Restaurant Schedule Using SUMPRODUCT & COUNTIF Formula. Almost Done so PLEASE ADVISE!!

    Thank you for your response. I cleaned up the spreadsheet and now this should give you a clear idea of what I am going for. I think your formula works for lunch rush (I extended it to include all shifts), but it is not working correctly for dinner rush. Attached is the updated spreadsheet so I'm looking forward to what you come up with. Thanks!
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: Restaurant Schedule Using SUMPRODUCT & COUNTIF Formula. Almost Done so PLEASE ADVISE!!

    You just need to adjust the cell references for the Dinner Rush columns. See the attached revised workbook. Does this return the correct values?
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    07-18-2016
    Location
    Bismarck, ND
    MS-Off Ver
    Microsoft Office 2013
    Posts
    15

    Re: Restaurant Schedule Using SUMPRODUCT & COUNTIF Formula. Almost Done so PLEASE ADVISE!!

    This is perfect. Thank you!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Simple Sumproduct or Countif formula
    By gtudor in forum Excel General
    Replies: 5
    Last Post: 06-25-2012, 04:55 PM
  2. Formula Help: Countif or Sumproduct
    By 1979excelhelp in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-19-2011, 04:02 PM
  3. SUMPRODUCT formula with COUNTIF not working
    By Trueman_86 in forum Excel General
    Replies: 2
    Last Post: 07-15-2010, 06:58 AM
  4. problem with a countif or sumproduct formula
    By MickeyP in forum Excel General
    Replies: 1
    Last Post: 06-28-2009, 06:12 AM
  5. Troubleshooting Sumproduct and Countif formula
    By dcgrove in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-15-2008, 04:19 AM
  6. formula logic (sumproduct,countif)
    By TROBFP in forum Excel General
    Replies: 1
    Last Post: 04-22-2007, 08:48 PM
  7. URGENT: Please Advise. SumProduct and Operand Question
    By Brent E in forum Excel General
    Replies: 8
    Last Post: 05-24-2006, 02:55 PM
  8. Which formula to use? countif, sumif, sumproduct
    By zubee in forum Excel General
    Replies: 3
    Last Post: 09-02-2005, 04:05 PM

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.6.0 RC 1