A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Discount table



 
 
Thread Tools Display Modes
  #1  
Old October 9th, 2003, 01:45 AM
Max
external usenet poster
 
Posts: n/a
Default Discount table

Nothing wrong as far as your VLOOKUP set-up is concerned.
Take it that the VLOOKUP cells are formatted as percentages.

Kanga wrote in message
...
As part of an assessment I have to create a discount table to show 0-4
sales attract 0% discount, 5-10 sales attract a 2% discount, 11-20
sales attract an 5% discount and so on. I created a simple table with 2
columns - the first column has the numbers 0, 5,11 and 21. And a second
column with 0%, 2%, 5%, 8%. In another worksheet I created a VLOOKUP
function to find the appropriate discount
=VLOOKUP(D19,Discount!A3:B7,2,TRUE) - and it works! But the teacher
states that it is close but will not work correctly - the values in
column 1 are the change points - 0,5,11,21 Column 2 contains the
discount - try again. What have I done wrong?
Update: This is the table
=VLOOKUP(D19,Discount!A3:B7,2,TRUE)
Purch Discount
0 0%
5 2%
11 5%
21 8%
51 10%
Can you help me? Why did the teacher say it isn't correct?




  #2  
Old October 9th, 2003, 02:58 AM
Laura Cook
external usenet poster
 
Posts: n/a
Default Discount table

Kanga-

I agree with Max. I am not seeing any errors on your part.

--
Laura Cook
Appleton, WI


"Kanga" wrote in message
...
As part of an assessment I have to create a discount table to show 0-4
sales attract 0% discount, 5-10 sales attract a 2% discount, 11-20
sales attract an 5% discount and so on. I created a simple table with 2
columns - the first column has the numbers 0, 5,11 and 21. And a second
column with 0%, 2%, 5%, 8%. In another worksheet I created a VLOOKUP
function to find the appropriate discount
=VLOOKUP(D19,Discount!A3:B7,2,TRUE) - and it works! But the teacher
states that it is close but will not work correctly - the values in
column 1 are the change points - 0,5,11,21 Column 2 contains the
discount - try again. What have I done wrong?
Update: This is the table
=VLOOKUP(D19,Discount!A3:B7,2,TRUE)
Purch Discount
0 0%
5 2%
11 5%
21 8%
51 10%
Can you help me? Why did the teacher say it isn't correct?



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:50 AM.


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