View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JE McGimpsey JE McGimpsey is offline
external usenet poster
 
Posts: 4,624
Default How would I use one cell to look at two different vlookups?

One way (if I understand you correctly):

=IF(D10="",IF(D11="", "", VLOOKUP(D11,A323:F391,6)),
VLOOKUP(D10,A323:F391,6))




In article ,
operative Word <operative wrote:

I am trying to use a cell to show one of two different inputs from two
different cells into one using vlookup. I used 'or' did not work I used :
=IF(D10="","",IF(D10="",(VLOOKUP(D10,A228:F320,6)) ,IF(D11="","",IF(D11,"",(VLO
OKUP(D11,A323:F391,6))))))
excell accepted but it does not work. The cells d10 and d11 are validation
cell with lists.