Hi all
I wish to create a sum formula based on if statements and using dropdown boxes
my worksheet has 2 headings
A1 Staff
B1 Time
C1 Cost
Row 2 onwards for Column A and Column B are based on dropdown lists
A2 Dropdown list is CT, TA, AEN
B2 Dropdown list is 1, 0.75, 0.5, 0.25
In C2 I want to work out the total cost
In E2:E4 is a list of the Staff
E2 CT
E3 TA
E4 AEN
In F2:F4 is a list of the Costs per Hour
F2 30
F3 14
F4 11
I want to put in a formula into column C that will say for example
if A2 =CT, and B2 =0.75 then Cost =F2*B2 Therefore C1 should =22.5
I hope this makes sense
Thanks for any help
Rameses
Worked example below
[TABLE="width: 300"]
<TBODY>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]STAFF[/TD]
[TD]TIME[/TD]
[TD]COST[/TD]
[TD][/TD]
[TD]Staff[/TD]
[TD]Hourly Cost[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]CT[/TD]
[TD]0.75[/TD]
[TD]22.5[/TD]
[TD][/TD]
[TD]CT[/TD]
[TD]30[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]AEN[/TD]
[TD]0.5[/TD]
[TD]5.50[/TD]
[TD][/TD]
[TD]TA[/TD]
[TD]14[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]TA[/TD]
[TD]1[/TD]
[TD]14[/TD]
[TD][/TD]
[TD]AEN[/TD]
[TD]11[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</TBODY>[/TABLE]
I wish to create a sum formula based on if statements and using dropdown boxes
my worksheet has 2 headings
A1 Staff
B1 Time
C1 Cost
Row 2 onwards for Column A and Column B are based on dropdown lists
A2 Dropdown list is CT, TA, AEN
B2 Dropdown list is 1, 0.75, 0.5, 0.25
In C2 I want to work out the total cost
In E2:E4 is a list of the Staff
E2 CT
E3 TA
E4 AEN
In F2:F4 is a list of the Costs per Hour
F2 30
F3 14
F4 11
I want to put in a formula into column C that will say for example
if A2 =CT, and B2 =0.75 then Cost =F2*B2 Therefore C1 should =22.5
I hope this makes sense
Thanks for any help
Rameses
Worked example below
[TABLE="width: 300"]
<TBODY>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]STAFF[/TD]
[TD]TIME[/TD]
[TD]COST[/TD]
[TD][/TD]
[TD]Staff[/TD]
[TD]Hourly Cost[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]CT[/TD]
[TD]0.75[/TD]
[TD]22.5[/TD]
[TD][/TD]
[TD]CT[/TD]
[TD]30[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]AEN[/TD]
[TD]0.5[/TD]
[TD]5.50[/TD]
[TD][/TD]
[TD]TA[/TD]
[TD]14[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]TA[/TD]
[TD]1[/TD]
[TD]14[/TD]
[TD][/TD]
[TD]AEN[/TD]
[TD]11[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</TBODY>[/TABLE]