Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,346
Default Which formula will return a value for this table?

Hi,

You would set up a lookup table in the range, let's say E1:F4:

0 39.99
25 69.99
40 89.99
50

You didn't tell us what happens if the number is =50 so I left it blank.

The use the formula

=VLOOKUP(A1,E$1:F$4,2)

where the value you are checking is in A1.

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"AcctCA755" wrote:

I created a table in Excel. If the wholesale cost A1, is between a certain
figure, B2-D2, the price will be $39.99 B3-D3. What is the correct formula?

A1
Cost $20.00
B2 C2
D2
Cost Range .01-25.00 25.01-40.00 40.01-50.00

B3 C3
D3
Retail Price 39.99 69.99 89.99


If the cost is less than $25.00, the retail price will be $39.99

If the cost is greater than $25.00, and less than $40.00, the retail price
will be $69.99

If the cost is greater than $40.00, and less than $50.00, the retail price
will be $89.99


--
AcctCA755

Reply
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
Return values from table Paula Excel Worksheet Functions 5 August 22nd 08 03:17 AM
how do I return a value between two other values from a table P Forbes Excel Worksheet Functions 7 June 17th 08 07:04 PM
Pivot Table: Return Value From Same Row Sean Smart Excel Discussion (Misc queries) 5 March 19th 08 05:38 AM
Help: Need Excel formula to return correct price from price history table Ian_W-at-GMail Excel Discussion (Misc queries) 5 March 21st 07 06:45 PM
Formula using 2 points of reference to return a value from a table MrvinGover Excel Worksheet Functions 6 December 2nd 05 08:36 PM


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