View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default Formula to lookup info in a table

=INDEX(SALES,MATCH(A1,INDEX(SALES,0,1),0),MATCH(A2 ,INDEX(SALES,1,0),0))

--
Regards,
Tom Ogilvy

"James" wrote in message
...
if the left column is Bill, John, Joe
and the column headers are Jan, Feb, Mar.....
and the table is named Sales

A1 is named Salesman and contains John,
A2 is named Month and contains Mar
What is the best formula to lookup John's sales in March?