#1   Report Post  
Wilco
 
Posts: n/a
Default LOOKUP

Hello all!
In excel I have a formula that returns a given value using LOOKUP.
The formula is
LOOKUP(Y1,{0,4,5,6,7,8,9,10,11,12,13,14,15,16,17,1 8,19,20},{"61","79","97","115","133","151","170"," 188","201","215","228","241","254","268","281","29 4","308","321"})
Example if 4 is keyed in it returns a value of "79", 6 returns a value of
"115".
What I want to do is for every extra value of 1 over 20 is add 13.33 to the
value of 321 each time.
Hence keying in a value of 21 would give 334.33, 22 would give 347.66, and
so on.

Can I add a formula into the LOOKUP statement to calculate this addition,
and how would I do this.
  #2   Report Post  
Morrigan
 
Posts: n/a
Default


=IF(Y120,321+13.33*(Y1-20),LOOKUP(Y1,{0,4,5,6,7,8,9,10,11,12,13,14,15,16, 17,18,19,20},{"61","79","97","115","133","151","17 0","188","201","215","228","241","254","268","281" ,"294","308","321"}))



Wilco Wrote:
Hello all!
In excel I have a formula that returns a given value using LOOKUP.
The formula is
LOOKUP(Y1,{0,4,5,6,7,8,9,10,11,12,13,14,15,16,17,1 8,19,20},{"61","79","97","115","133","151","170"," 188","201","215","228","241","254","268","281","29 4","308","321"})
Example if 4 is keyed in it returns a value of "79", 6 returns a value
of
"115".
What I want to do is for every extra value of 1 over 20 is add 13.33 to
the
value of 321 each time.
Hence keying in a value of 21 would give 334.33, 22 would give 347.66,
and
so on.

Can I add a formula into the LOOKUP statement to calculate this
addition,
and how would I do this.



--
Morrigan
------------------------------------------------------------------------
Morrigan's Profile: http://www.excelforum.com/member.php...fo&userid=7094
View this thread: http://www.excelforum.com/showthread...hreadid=388040

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
lookup more than one cell andrewm Excel Worksheet Functions 20 June 14th 05 05:33 AM
Lookup Vector > Lookup Value Alec Kolundzic Excel Worksheet Functions 6 June 10th 05 02:14 PM
Lookup Function Problem seve Excel Discussion (Misc queries) 9 February 28th 05 02:46 AM
Lookup function w/Text and Year Josh O. Excel Worksheet Functions 1 February 12th 05 11:27 PM
double lookup, nest, or macro? Josef.angel Excel Worksheet Functions 1 October 29th 04 09:50 AM


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