LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #11   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Susan
 
Posts: n/a
Default how can I make this work? =LOOKUP(A2,{any number},{5,6,7,10})

I give up! I am trying to compose & inadvertently am posting...time to go
home & sleep over this puzzle

Column A will have the price ranges, column B will have the fixed prices.
I'd like to drop in the costs from our vendor into column C and in column D,
have the formula applied from the 36 element table. I want to either hide
this table or keep it on a second sheet, the second sheet is my preference
since I want to have 2 individual price tables of about 600 items each.
I am only semi-literate w/ Excel, & hence these next questions: does x
refer to the cell with my vendor cost, in this case C? & The 2 statements of
"-", what am I asking here? or should I substitute something for those value?
My final sheet should read acq cost = 0.83, price=$6.00.
I really appreciate your help with this.
Susan

"Harlan Grove" wrote:

Susan wrote...
I am trying to use a lookup formula to calculate the price, The dollar
amount could be from zero on up to $150.00. Can this be done as a lookup?
Thanks so much for any tips.
Regards, Susan

range price
0 $5
0.01-1.00 $6
1.01-2.00 $7
2.01-5.00 $10
5.01-7.00 $12
7.01-10.00 $15
up to
145.01-150.00 $155 (table contains 36 values)


If the table above were in A1:B37 with the column labels in A1:B1 and
the ranges as text in A2:A37, then you could use LOOKUP as long as the
low ends of the ranges are in ascending order.

=LOOKUP(x,--MID(A2:A37,1,FIND("-",A2:A37&"-")-1),B2:B37)


 
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
How can I make Excel Macros created on PC work on Macintosh? best_before Excel Worksheet Functions 1 April 28th 05 04:40 PM
Spin button in a work sheet - how do I make it work? [email protected] Excel Worksheet Functions 1 April 7th 05 08:43 PM
Make Autofit row height work with merged cells Franketh Excel Discussion (Misc queries) 2 April 6th 05 09:13 PM
How do I make 'save as web page' with interactivity work properly. Giasemi Charts and Charting in Excel 0 January 6th 05 03:51 PM
make a cell empty based on condition mpierre Charts and Charting in Excel 2 December 29th 04 01:01 PM


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