# A less complicated Multiple IF Statement

#### nutrijenna

##### New Member
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,
)))))))

### Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
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)

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,"")))

Replies
0
Views
428
Replies
1
Views
4K
Replies
3
Views
995

1,216,298
Messages
6,129,962
Members
449,545
Latest member
SURY

### 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.

### Which adblocker are you using?

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

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