Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 24
Default lookup formulas dependent upon lookup formulas

I dont think I expressed myself clearly.

The initial lookup formula (given below) works well and returns a value in M7.

=LOOKUP(L7,{0,15,15.1,15.4,15.5,15.9,16,16.9,17,17 .9,18,18.9,19,19.9,20,20.9,21,21.9,22,22.9,23,23.9 ,24,24.9,25.0259},{"1.00","1.00","2.50","2.50","4. 00","4.00","5.50","5.50","6.50","6.50","7.00","7.0 0","8.75","8.75","9.50","9.50","10.75","10.75","12 .00","12.00","13.25","13.25","14.50""14.50","15.75 ","15.75"})

The value of M7 could be any of the following

1.00
2.50
4.00
5.50
6.50
7.00
8.75
9.50
10.75
12.00
13.25
14.50
15.75

In O7, I need to look at the value of M7 (being drawn from the lookup
formula looking at the value in L7), and depending which value was returned,
return yet another value eg

1.00 returns £0.00
2.50 returns £1.75
4.00 returns £3.50
5.50 returns £4.50
6.50 returns £5.25
And so on to
15.75 returns £16.00

I have tried to do this by using a similar lookup formula to the first,
however it returns #NA! I dont know if this is because I am doing something
wrong or because it is not possible to perform a lookup formula upon a
previous lookup formula.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default lookup formulas dependent upon lookup formulas

Where does M7 come into it, do you mean L7?

If you simply want to look at L(M)7 and return values from your tabel then
build a table likes this:-

0 1
2.5 1.75
4 3.5
5.5 4.5
6.5 5
7 5.5
7.5 8
8 16

Note the laft hand side must be sorted and use this formula to look at L7

=VLOOKUP(L7,A20:B27,2,TRUE)

Note that my table is in A20 to B27

Mike

"Skibee" wrote:

I dont think I expressed myself clearly.

The initial lookup formula (given below) works well and returns a value in M7.

=LOOKUP(L7,{0,15,15.1,15.4,15.5,15.9,16,16.9,17,17 .9,18,18.9,19,19.9,20,20.9,21,21.9,22,22.9,23,23.9 ,24,24.9,25.0259},{"1.00","1.00","2.50","2.50","4. 00","4.00","5.50","5.50","6.50","6.50","7.00","7.0 0","8.75","8.75","9.50","9.50","10.75","10.75","12 .00","12.00","13.25","13.25","14.50""14.50","15.75 ","15.75"})

The value of M7 could be any of the following

1.00
2.50
4.00
5.50
6.50
7.00
8.75
9.50
10.75
12.00
13.25
14.50
15.75

In O7, I need to look at the value of M7 (being drawn from the lookup
formula looking at the value in L7), and depending which value was returned,
return yet another value eg

1.00 returns £0.00
2.50 returns £1.75
4.00 returns £3.50
5.50 returns £4.50
6.50 returns £5.25
And so on to
15.75 returns £16.00

I have tried to do this by using a similar lookup formula to the first,
however it returns #NA! I dont know if this is because I am doing something
wrong or because it is not possible to perform a lookup formula upon a
previous lookup formula.

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 formulas dependent upon lookup formulas Skibee Excel Worksheet Functions 1 July 20th 07 02:20 AM
IF and LOOKUP formulas Sue Excel Worksheet Functions 7 December 9th 06 02:18 PM
lookup formulas cquatro Excel Worksheet Functions 3 November 10th 06 11:50 PM
Lookup formulas Heather O'Malley Excel Discussion (Misc queries) 1 June 14th 06 11:54 AM
Lookup formulas Esrei Excel Discussion (Misc queries) 3 August 1st 05 01:50 PM


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