JackChang
04-08-2025, 03:00 PM
All-
I need help creating a formula to calculate our staffing needs, per location and hour.
On the attached file I have 3 tabs:
1) Sales: Sales by location (1 to 22), by hour, and month
2) Avg Check: Average check amount per location by month (this is a restaurant)
3) Staffing: The number of staff employees we need, based on the sales range. There are 6 tables here, and I need to determine which one to use based the average check amount for each location and month.
I'm having a problem creating a formula to calcuate our staffing needs based on the level of sales. Depending on the average check amount, I need to use one of the six tables.
For example, if I go to the Sales tab, location 1, cell D12, sales are $472. Then I go to the Avg Check tab and look up location 1, their average check amount for Feb is $24, so I go to the Staffing tab, and use the second table “Average check $24-$24.99”. Based on the sales range of $246 - $520”, I need 2 staff because the sales amount is $472, for this location, and this hour. The result I'm trying to return for this example is 2.
Does anyone have any ideas on how I can create a formula to calculate this? The Staffing tab is how I received it, but I can blend the tables together if it works better. Also, I can unpivot the data so the month is in one column if that is easier to create a formula.
Any thoughts or solutions would be appreciated. Thank you
I need help creating a formula to calculate our staffing needs, per location and hour.
On the attached file I have 3 tabs:
1) Sales: Sales by location (1 to 22), by hour, and month
2) Avg Check: Average check amount per location by month (this is a restaurant)
3) Staffing: The number of staff employees we need, based on the sales range. There are 6 tables here, and I need to determine which one to use based the average check amount for each location and month.
I'm having a problem creating a formula to calcuate our staffing needs based on the level of sales. Depending on the average check amount, I need to use one of the six tables.
For example, if I go to the Sales tab, location 1, cell D12, sales are $472. Then I go to the Avg Check tab and look up location 1, their average check amount for Feb is $24, so I go to the Staffing tab, and use the second table “Average check $24-$24.99”. Based on the sales range of $246 - $520”, I need 2 staff because the sales amount is $472, for this location, and this hour. The result I'm trying to return for this example is 2.
Does anyone have any ideas on how I can create a formula to calculate this? The Staffing tab is how I received it, but I can blend the tables together if it works better. Also, I can unpivot the data so the month is in one column if that is easier to create a formula.
Any thoughts or solutions would be appreciated. Thank you