LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default Can IF and VLOOKUP functions be inserted together?

I am finishing an online tutorial section. I need to write a function to
determine a water bill. I was able to write a VLOOKUP function (using a
provided table in the workbook) for three water rate types but I need to
insert a function for inserting $0 as the water bill if a) their bill is
waived (determined by a yes or no answer in a column) or b) their water usage
is <25,000 gallons (determined by the Gallons Used Column info).

When I try to mix the formulas the results are wrong so I know I am making a
big and dumb error. This is my last attempted formula:

=IF([Bill Waived]="yes",0,IF[Gal
Used]<25000,VLOOKUPVLOOKUP(B2,Rates,2,FALSE)*G2/1000

Thanks for any help.
 
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
$ for VLOOKUP functions *Suzannah* Excel Worksheet Functions 4 April 4th 23 10:54 AM
Inserted Columns into VLOOKUP Tables RJB[_2_] Excel Discussion (Misc queries) 4 April 9th 08 02:49 PM
VLookup Functions Monica Excel Worksheet Functions 2 March 15th 07 02:54 AM
Automatically copy formulas/functions to inserted rows. Barbara Excel Worksheet Functions 7 February 2nd 07 11:40 PM
VLOOKUP and IF Functions Peter W Soady \(UK\) Excel Worksheet Functions 2 January 24th 07 07:23 AM


All times are GMT +1. The time now is 12:11 PM.

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

About Us

"It's about Microsoft Excel"