If/Or Function help please

L

Legacy 116183

Guest
I need some help with an if/or function with options

This function works fine for the females on the spearsheet:

=IF(C3="Female",IF(E3="Yes",0,IF(E3="No",9.5,IF(F3="Social",16.5,IF(F3="Resigned",16.5,IF(G3="New to Membership",16.5,""))))),"")

But if C3 = Male, how do I set it up ?

If C3 were male, I'd like IF(E3="Yes",0,IF(E3="No",9.35,IF(F3="Social",13.85,IF(F3="Resigned",13,85,IF(G3="New to Membership",13.85,
I know I could hvae a column next to the one for females, or use helper cells elsewhere on the spreadsheet, but I'd really like it all in one function if that's possible. If only to learn.

Thanks
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Try this:

Excel Formula:
=IF(C3="Female",IF(E3="Yes",0,IF(E3="No",9.5,IF(O(F3="Social",F3="Resigned",G3="New to Membership"),16.5,""))),
IF(C3="Male",IF(E3="Yes",0,IF(E3="No",9.35,IF(O(F3="Social",F3="Resigned",G3="New to Membership"),13.85,""))),""))
 
Upvote 0
Another option
Excel Formula:
=IF(E3="Yes",0,IF(C3="Female",IF(E3="No",9.5,IF(OR(F3={"Social","Resigned"},G3="New to Membership"),16.5,"")),IF(C3="Male",IF(E3="No",9.35,IF(OR(F3={"Social","Resigned"},G3="New to Membership"),13.85,"")),"")))
 
Upvote 0
Solution
Thanks very much for your response. It's kind of you to try and help me.

I shall give them a try.
 
Upvote 0
Glad we could help, let us know how it goes. (y)
 
Upvote 0

Forum statistics

Threads
1,216,082
Messages
6,128,709
Members
449,464
Latest member
againofsoul

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