LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default =IF(AND Function

I am using the LOOKUP function in conjunction with the
IF(AND function. =IF(AND(B3="M",B4="R",LOOKUP(B1,C3:C6,D3:D6))
Would yield 20.3 for age 40. I am not sure how to test for all
variables (M, F, R,L) and select the correct value for any combination
(M-R, M-L,F-R,F-L)

Thanks for any help.


Example: B C D
E F

1 Age: 40 Male 2 Right Left
3 Sex: M/F (from pulldown list) 20 22.7 20
21.4
4 Domininance: R/L (from pulldown list) 30 21.9 30
20.5
5 40
20.3 40 19.6
6 50
19.7 50 18.3
7
8 Female
9 Right Left
10 20
18.4 20 17.7
11 30
19.6 30 18.6
12 40
17.4 40 16.8
13 50
16.9 50 15.2
14
15
16
17
18



Robert
 
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



All times are GMT +1. The time now is 08:09 AM.

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"