View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Shane Devenshire[_2_] Shane Devenshire[_2_] is offline
external usenet poster
 
Posts: 3,346
Default Lookup formula for both row and column

Hi,

=VLOOKUP($A3,TLTargets!$A$46:$Q$86,MATCH(Month,Mon ths,0),FALSE)

Where Month is the month you want to find and Months is the range (row where
the months are listed)

A more standard way to do this would be to use Match with INDEX or OFFSET:

=INDEX(TLTargets!$A$46:$Q$86,MATCH(A3,TLTargets!$A $46:$A$86,0),MATCH(Month,Months,0))

Cheers,
Shane Devenshire

"gcw" wrote:

I am trying to do a lookup on both row and column. My spreadsheet has
targets per cost center (Rows) by Months (Columns) starting in Column D. The
"Row" lookup is working but how do I add the second portion. See ???? below

This is the formula I have so far:

=VLOOKUP($A3,TLTargets!$A$46:$Q$86,????,FALSE)