if function

  • Thread starter Thread starter Pinnacle Accounting
  • Start date Start date
P

Pinnacle Accounting

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

please help asap

thanks
 
On Tue, 19 Jan 2010 14:50:02 -0800, Pinnacle Accounting <Pinnacle
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

please help asap

thanks

Try this formula in cell B7:

=INDEX(A1:A3,MATCH(A7,B1:B3,0))

Hope this helps / Lars-Åke
 
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
 
Back
Top