Need help with an IF formula

susiesc

New Member
Joined
Mar 24, 2013
Messages
29
I am to Add a column named Gal Billed to the table; wich I did.
And the enter a formula to calculate the number of gallons billed based on the following rules:
If a customer's bill is waived (Bill Waived Column) or the number of gallons used is less than 25,000 (Gal Used Column), display 0 in Gal Billed Column; otherwise, display the value from the Gal Used Column in the Gal Billed Column. I am confused....Help please

Customer NameCust TypeBill WaivedTaxableBilling YearGal UsedGal Billed
Red Lake ChapterNPROFITNoYes2013108,300
Amity ChurchNPROFITYesNo201355,160

<tbody>
</tbody>
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
I am to Add a column named Gal Billed to the table; wich I did.
And the enter a formula to calculate the number of gallons billed based on the following rules:
If a customer's bill is waived (Bill Waived Column) or the number of gallons used is less than 25,000 (Gal Used Column), display 0 in Gal Billed Column; otherwise, display the value from the Gal Used Column in the Gal Billed Column. I am confused....Help please

Customer NameCust TypeBill WaivedTaxableBilling YearGal UsedGal Billed
Red Lake ChapterNPROFITNoYes2013108,300
Amity ChurchNPROFITYesNo201355,160

<tbody>
</tbody>

This should do it:
=IF(AND(C2="No", F2>=25000),F2,"0")

Let me know if that took care of it or else I'll try again.
 
Upvote 0
Hi and welcome to MrExcel.

Does this work for you?....

Excel Workbook
ABCDEFGH
1Customer NameCust TypeBill WaivedTaxableBilling YearGal UsedGal Billed
2Red Lake ChapterNPROFITNoYes2013108,300108300
3Amity ChurchNPROFITYesNo201355,1600
4
Sheet15


I hope that helps.

Ak
 
Upvote 0
I believe this should do it.
Place this formula in the Gal Billed cell, then drag down as needed.
=IF(F2<25000,0,IF(C2="Yes",0,F2))
 
Upvote 0
This should do it:
=IF(AND(C2="No", F2>=25000),F2,"0")

Let me know if that took care of it or else I'll try again.

Yes that did it; thank you. Do you think you can help me with another?

This is so confusing...
In the column water bill, the formula rule is based on:
The billing rate varies based on the type of customer (Cust type column). The billing rate is $3, $2, or $1.50 per thousand gallonds billed, depending on the customer type (In cells B2:C5 of the billing rate worksheet). For example, a commercial customer using 75,000 gallons pays $150 (100 x$1.50).
A commercial customer using 15,000 gallons has a water bill of $0.

Can you assist?
 
Upvote 0

Forum statistics

Threads
1,216,109
Messages
6,128,883
Members
449,477
Latest member
panjongshing

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