A less complicated Multiple IF Statement

nutrijenna

New Member
Joined
Feb 8, 2019
Messages
1
Hi,


I'm wondering if we can make this Multiple IF Statement a less complicated one.


=if(J2="Free Minutes - New Client/Welcome Email",0,
if(J2="Free Minutes - Payoff/Bonus", 0,
if(J2="Internal - Not Billed",0,
if(J2="Billed Minutes - Peak", H2*0.25,
if(J2="Billed Minutes - Off-Peak", H2*0.38,
if(J2="Pre-Task Activities", 0,
if(J2="Admin",0
)))))))


Thanks in advance!!!
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Hi, welcome to the board.

There are lots of ways of simplifying this.

Here's one . . .
=((RIGHT(J2,4)="Peak")*H2*0.25)+((RIGHT(J2,8)="Off-Peak")*H2*0.13)
 
Upvote 0
Another option, like
=IF(OR(J2={"Free Minutes - New Client/Welcome Email","Free Minutes - Payoff/Bonus","Internal - Not Billed","Pre-Task Activities","Admin"}),0,IF(J2="Billed Minutes - Peak", H2*0.25,IF(J2="Billed Minutes - Off-Peak", H2*0.38,"")))
 
Upvote 0

Forum statistics

Threads
1,217,380
Messages
6,136,222
Members
450,000
Latest member
jgp19

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