Thread: if function
View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default if function

One way, use index/match (you can return it left or right of the match col)
In B7: =IF(A7="","",INDEX(A1:A3,MATCH(A7,B1:B3,0)))
Success? celebrate it, hit the YES below
--
Max
Singapore
---
"Pinnacle Accounting" wrote:
in A1,A2 and A3 i have the salesperson name, in B1,B2 and B3 i have the sales
person employee number.

in A7 i have to input the sales person number and i would like their name to
atuomatically show up on B7, i was thinking that if a used the If function i
could achieve this