LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Junior Member
 
Posts: 1
Default LOOKUP problem

Hello I am a little stuck.

I have the following lookup which is correct but I want to also check H22 for other numbers but can't get the syntax right. I want the lookup table to be different if H22 contains different numbers. Also I require an error if H22 contains something that is not in the function.

=IF(H22=4,(LOOKUP(L22,{0,1,2,3,4,5},{1.111,2.222,3 .333,4.444,5.555})))

so if H22 could also be value of 5 then =IF(H22=5,(LOOKUP(L22,{0,1,2,3,4,5},{1.777,2.777,3 .777,4.777,5.777})))

Basically I do not know how to join the arguments together.

Thanks in advance
 
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 problem murrmeik Excel Worksheet Functions 2 May 13th 08 07:33 PM
Help please with a lookup problem CP Excel Worksheet Functions 5 November 21st 07 11:08 PM
problem with v lookup Elliott Excel Discussion (Misc queries) 3 April 20th 06 12:06 PM
Lookup problem RD Wirr Excel Worksheet Functions 4 February 8th 06 01:14 PM
HELP -- probably a LOOKUP problem Liz-In-USA Excel Discussion (Misc queries) 3 December 9th 04 12:18 AM


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