Help with IF Formula

cmccambridge

New Member
Joined
Mar 26, 2013
Messages
11
Hi,

I have a formula that calculates wages based off either choosing rate 1 or 2 in a drop down menu in cell H114. Do you know how to add to the formula if I add a rate 3 un the drop down menu??

Thanks




<colgroup><col></colgroup><tbody>
</tbody>
=IF(G114="","",IF(H114=1,G114*B109,B110*G114))
 

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.
cmccambridge,

Assuming that your third rate is in cell B111 then try......

=IF(G114="","",IF(H114=1,G114*B109,IF(H114=2,B110*G114,B111*G114)))

Hope that helps.
 
Upvote 0
Hi,

I have a formula that calculates wages based off either choosing rate 1 or 2 in a drop down menu in cell H114. Do you know how to add to the formula if I add a rate 3 un the drop down menu??

Thanks



<tbody>
</tbody>
=IF(G114="","",IF(H114=1,G114*B109,B110*G114))

Hi,
please test it

=IF(H114=1,G114*B109,IF(H114=2,B110*G114,IF(H114=3,XX*XX,"")))
 
Upvote 0
I' making some assumptions based on your code for how your workbook is set up, but one option that may be easier than having to go through nested if statements:

Code:
=IF(G114="","",G114*CHOOSE(H114,B109,B110))

To add a condition 3, just put a ,B111 after B110.
 
Upvote 0
Hi,

I have a formula that calculates wages based off either choosing rate 1 or 2 in a drop down menu in cell H114. Do you know how to add to the formula if I add a rate 3 un the drop down menu??

Thanks



<tbody>
</tbody>
=IF(G114="","",IF(H114=1,G114*B109,B110*G114))

Looks like:

=IF(G114="","",G114*INDEX(B109:B111,H114))
 
Upvote 0

Forum statistics

Threads
1,207,171
Messages
6,076,916
Members
446,241
Latest member
Nhacai888b

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