Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hello,
I'm trying to write a formula so that if excel can match a product in an array it will go to another column to find the associated cost for the product at a certain date. I'm attempting to use the formula below but it is not working. Any suggestions would be helpful. =IF(S!$A$2:$A$10900=samir!B$1,IF(S!$E$2:$E$10900=s amir!A8,VLOOKUP(samir!A8,S!$F$2:$G$10900,2,FALSE), ""),"") Thank You, Stan |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Might want to use a different function Example A B C Cat 1 Tan Dog 2 Black =VLOOKUP(A2,A1:C2,2,FALSE) - provides the answer 2 =VLOOKUP(A1,A1:C2,3,FALSE) - provides the answerTan --Wag more, bark less "stan" wrote: Hello, I'm trying to write a formula so that if excel can match a product in an array it will go to another column to find the associated cost for the product at a certain date. I'm attempting to use the formula below but it is not working. Any suggestions would be helpful. =IF(S!$A$2:$A$10900=samir!B$1,IF(S!$E$2:$E$10900=s amir!A8,VLOOKUP(samir!A8,S!$F$2:$G$10900,2,FALSE), ""),"") Thank You, Stan |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try this:
=IF(ISNA(VLOOKUP(samir!A8,*S!$F$2:$G$10900,2,FALSE )),"",VLOOKUP(samir! A8,*S!$F$2:$G$10900,2,FALSE)) Hope this helps. Pete On May 6, 9:40*pm, stan wrote: Hello, I'm trying to write a formula so that if excel can match a product in an array it will go to another column to find the associated cost for the product at a certain date. *I'm attempting to use the formula below but it is not working. *Any suggestions would be helpful. =IF(S!$A$2:$A$10900=samir!B$1,IF(S!$E$2:$E$10900=s amir!A8,VLOOKUP(samir!A8,*S!$F$2:$G$10900,2,FALSE) ,""),"") Thank You, Stan |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
If, Then Statements | Excel Worksheet Functions | |||
IF Statements (Mutliple Statements) | Excel Worksheet Functions | |||
IF Statements | Excel Discussion (Misc queries) | |||
If statements | Excel Worksheet Functions | |||
If statements | Excel Worksheet Functions |