Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default If ,AND, LOOKUP, Functions

I would like to make a cell G37 come back with a number from checking IF
J37=1 and K2=1 Then LOOKUP FUNCTION But if J38=1 and K2=1 then LOOKUP
different function. If J37=1 and K2=2 then LOOKUP different function IF J38=1
and K2=2 then LOOKUP different function.

Even better yet I would like K2 to = N or E
I hope you can help thanks.




  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,480
Default If ,AND, LOOKUP, Functions

Hi

Substituting N for 1 and E for 2 in your tests, can we assume that K2 will
either be N or E?
Can we also assume that J37 and J38 will never both be equal to 1 at the
same time?

If so, then
=IF(K2="","",
IF(AND(K2="N",J37=1),"lookup1",
IF(AND(K2="N",J38=1),"lookup2",
IF(AND(K2="E",J37=1),"lookup3","lookup4"))))

Substitute your lookup formulae in place of the 4 Lookups (excluding the
quotes)
--
Regards
Roger Govier



"Lot Doctor" <Lot wrote in message
...
I would like to make a cell G37 come back with a number from checking IF
J37=1 and K2=1 Then LOOKUP FUNCTION But if J38=1 and K2=1 then LOOKUP
different function. If J37=1 and K2=2 then LOOKUP different function IF
J38=1
and K2=2 then LOOKUP different function.

Even better yet I would like K2 to = N or E
I hope you can help thanks.






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 and Sum Functions Christy Excel Discussion (Misc queries) 4 November 10th 06 09:18 PM
Lookup functions arnoberg Excel Worksheet Functions 4 July 8th 06 05:31 PM
help on lookup functions Kesqsay Excel Worksheet Functions 1 November 17th 05 04:23 PM
Lookup Functions nick Excel Worksheet Functions 3 October 11th 05 04:02 PM
Lookup Functions Sharon Excel Worksheet Functions 6 February 20th 05 05:04 AM


All times are GMT +1. The time now is 07:28 AM.

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"