LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default calculating water bill base on the following rules

Yes, you need help. With respect to the formula you posted, Excel doesn't
use "or" that way, and you can't include a comma in a number (Excel uses
that to determine the end of the test). So try it this way:
=if(or(c2="Yes",g2<25000),0,vlookup(b2,page!b3:c5, 2)*g2)

If you need more help, post back with details.

Regards,
Fred.

"vivian" wrote in message
...
if customer bill is waived place 0 in the water bill columm, gal used must
be
greater than 25,000 otherwise, the water bill is 0. For all other
accounts,
the billing rate varies based on the type of customer. billing rate is
$3,2
&1.50 per thousand gallons used depending on the type of customer, there
is a
billing rate worksheet. I'm using formula =if(c2="Yes" or g2<25,000,0,
vlookup(b2,page!b3:c5,2)*g2) is not working. Need help please.
Thank you.


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
calculating a % attainment when base number is negative smw2340 Excel Discussion (Misc queries) 6 March 6th 08 10:57 PM
how do I set up a validation rules with two data rules Trudy Excel Worksheet Functions 1 October 16th 06 05:42 AM
Formula for calculating Hydro bill skateblade Excel Worksheet Functions 4 May 31st 06 12:43 AM
In Excel- change the order of a name? Bill Gates to Gates, Bill arnold36 Excel Discussion (Misc queries) 1 September 29th 05 06:05 PM
Calculating a bill using a graduated rate... Dave Smith Excel Worksheet Functions 7 May 22nd 05 10:06 PM


All times are GMT +1. The time now is 01:24 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"