Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi, i have this code:
=IF(B3<"",IF(ISNA(VLOOKUP($B3,PLANNING!$B$4:$G$50 ,6,FALSE)),"??",VLOOKUP($B3,PLANNING!$B$4:$G$50,6, FALSE)),"") And i need two criteria, and to make the code something like this: =IF(AND(B3,C3<"",IF(ISNA(VLOOKUP($B3,PLANNING!$B$ 4:$G$50,6,FALSE))),"??",VLOOKUP($B3,C3,PLANNING!$B $4:$G$50,6,FALSE)),"") If B3 and C3 content is find in "PLANNING!$B$4:$G$50", than the code to give the "6" cell content |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
For a nice clear explanation of a two-way lookup see
http://j-walk.com/ss/excel/usertips/tip020.htm The AND part will need to read =IF(AND(B3<"", C3<"", Or you could use =IF(COUNTA(B3:C3)=2, -- Bernard V Liengme Microsoft Excel MVP http://people.stfx.ca/bliengme remove caps from email "puiuluipui" wrote in message ... Hi, i have this code: =IF(B3<"",IF(ISNA(VLOOKUP($B3,PLANNING!$B$4:$G$50 ,6,FALSE)),"??",VLOOKUP($B3,PLANNING!$B$4:$G$50,6, FALSE)),"") And i need two criteria, and to make the code something like this: =IF(AND(B3,C3<"",IF(ISNA(VLOOKUP($B3,PLANNING!$B$ 4:$G$50,6,FALSE))),"??",VLOOKUP($B3,C3,PLANNING!$B $4:$G$50,6,FALSE)),"") If B3 and C3 content is find in "PLANNING!$B$4:$G$50", than the code to give the "6" cell content |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|