LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 193
Default Query on how I would calculate a result in Excel?

Hi

I need to calculate the night rate within excel which I have done without a
problem as it is done using a lookup table. =VLOOKUP(C17,RATETABLE,2).

I now need to ammend this to include a second lookup relating to a separate
cell which I can get working on its own, as it is a further lookup
=VLOOKUP(F23,discount_range,2) (this effectively discounts a % if the
customer places multiple bookings.

I then also need to add an if function which will say if the entry into a
cell is yes then deduct a discount, if the input is no then dont discount,
which I have got to this
=IF(F19="Yes",F28*Repeat_Customer_Discount,F28*0)

I know the first two calculations work on their own I am around 70% sure
that the third works on its own, but I need to put them all together. I have
been trying to do this without success for well over a week now an I would
appreciate any help that you can provide.

Many thanks

Louise
 
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
query in excel George Applegate Excel Worksheet Functions 0 June 13th 06 01:21 PM
how to use spellnumber formula Aarif Excel Worksheet Functions 3 February 27th 06 04:36 PM
Convert number into words Blackwar Excel Discussion (Misc queries) 4 December 2nd 05 12:05 PM
date from query when brought into excel is incorrect Ellen Excel Discussion (Misc queries) 0 March 10th 05 08:35 PM
How to use a Access Query that as a parameter into Excel database query Karen Middleton Excel Discussion (Misc queries) 1 December 13th 04 07:54 PM


All times are GMT +1. The time now is 02:18 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"