ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   if function (https://www.excelbanter.com/excel-discussion-misc-queries/253818-if-function.html)

Pinnacle Accounting

if function
 
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

Lars-Åke Aspelin[_2_]

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

please help asap

thanks


Try this formula in cell B7:

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

Hope this helps / Lars-Åke

Max

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



All times are GMT +1. The time now is 01:33 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com