db49ers
Board Regular
- Joined
- Oct 13, 2002
- Messages
- 97
Column A: employee
Column C: title
H2:K6:
Server 18.0% 5 $2,923.35
Server B 18.0% 2 $487.23
Server Assistant 2.0% 3 $324.82
Bartender 3.0% 0 $-
Runner F&B 2.0% 2 $285.00
D27 formula:
=IF(A27="",0,(IF(C27=$H$2,($K$2-$K$3-$K$4-$K$5-$K$6-$K$7-$K$8)/COUNTIF($C$27:$C$52,$H$2),0)+(IF(C27=$H$3,$K$3/$J$3,0)+(IF(C27=$H$4,$K$4/$J$4,0)+(IF(C27=$H$5,$K$5/$J$5,0)+(IF(C27=$H$6,$K$6/$J$6,0)+(IF(C27=$H$7,$K$7/$J$7,0)+(IF(C27=$H$8,$K$8/$J$8,0)))))))))
Works great but I need K2 and K3 to both end up with what is left after paying out if anything matches H4 to H6.
Column C: title
H2:K6:
Server 18.0% 5 $2,923.35
Server B 18.0% 2 $487.23
Server Assistant 2.0% 3 $324.82
Bartender 3.0% 0 $-
Runner F&B 2.0% 2 $285.00
D27 formula:
=IF(A27="",0,(IF(C27=$H$2,($K$2-$K$3-$K$4-$K$5-$K$6-$K$7-$K$8)/COUNTIF($C$27:$C$52,$H$2),0)+(IF(C27=$H$3,$K$3/$J$3,0)+(IF(C27=$H$4,$K$4/$J$4,0)+(IF(C27=$H$5,$K$5/$J$5,0)+(IF(C27=$H$6,$K$6/$J$6,0)+(IF(C27=$H$7,$K$7/$J$7,0)+(IF(C27=$H$8,$K$8/$J$8,0)))))))))
Works great but I need K2 and K3 to both end up with what is left after paying out if anything matches H4 to H6.