AngryPossum
New Member
- Joined
- Feb 24, 2011
- Messages
- 2
Hey guys!
Come across a slight problem, the way that pay is done, is depending on how many bookings you make per hour, the more you get paid per hour...
I have a function that works it out for me;
=IF(E7>0,(LOOKUP(G7,{0,0.1,1.4,1.41,1.5,1.8,2},{15,15,15,16.5,18.5,20.5,23})),"")
but things change... And instead of changing the formula each time, is there a way to make the {15,15,15,16.5,18.5,20.5,23} bit select fields instead?
i.e
A1 B1 C1 D1 E1
Hours Bookings BPH Rate Wage
12 22 1.83 20.50 246
12 17 1.42 16.50 198
and the fields that can change would be
A1 B1
BPH Wage
<1.4 15
>1.4 16.5
>1.5 18.5
>1.8 20.5
>2 23
So able to change either A1 or B1 and it will affect D1 in the other table, but without using macros, if it can be done in a formula, that would be perfect
If you get what I mean...
Cheers in advance!
Come across a slight problem, the way that pay is done, is depending on how many bookings you make per hour, the more you get paid per hour...
I have a function that works it out for me;
=IF(E7>0,(LOOKUP(G7,{0,0.1,1.4,1.41,1.5,1.8,2},{15,15,15,16.5,18.5,20.5,23})),"")
but things change... And instead of changing the formula each time, is there a way to make the {15,15,15,16.5,18.5,20.5,23} bit select fields instead?
i.e
A1 B1 C1 D1 E1
Hours Bookings BPH Rate Wage
12 22 1.83 20.50 246
12 17 1.42 16.50 198
and the fields that can change would be
A1 B1
BPH Wage
<1.4 15
>1.4 16.5
>1.5 18.5
>1.8 20.5
>2 23
So able to change either A1 or B1 and it will affect D1 in the other table, but without using macros, if it can be done in a formula, that would be perfect
If you get what I mean...
Cheers in advance!