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

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
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,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

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