Help changing a formula

whoamimjg

New Member
Joined
Jul 10, 2023
Messages
5
Office Version
  1. 365
Platform
  1. Windows
Currently, I have a formula that says if you place a number in cell E34 and it is greater than 3 then it will take a total amount and divide it between everyone in the cell range E33 to E44. I want to eliminate the must be greater than 3 option and just distribute the total between the cell range evenly.

This sheet calculates a bartender's total tip payout between how many bartenders worked that shift. So they get 3% of total bar sales. If 7 wait staff sell $1000 then 3% of that $1000 gets split between the bartenders evenly. We are no longer requiring them to work more than 3 hours to get the tip out, that's why I am changing the formula.
Attached is a picture of a cell sheet with formulas.

I hope someone can help, Thank you!
 

Attachments

  • 2023-07-10.png
    2023-07-10.png
    181.5 KB · Views: 26

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Give this a go
Excel Formula:
=IF(E34<>””,0.03/COUNTIF($E$33:$E$42,”<>”&””),0)
You need to be sure to use straight double-quotes, like " in your Excel formulas.
Excel does NOT like slanted ones like ”.
 
Upvote 0
That produces a error #NAME?
Try changing the double-quotes, like I mentioned, so it looks like this:
Excel Formula:
=IF(E34<>"",0.03/COUNTIF($E$33:$E$42,"<>"&""),0)

Note, I have not evaluated the logic of the formula johnny posted.
I only am commenting on the structure issues.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,323
Members
452,635
Latest member
laura12345

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top