Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I would like to use (IF) for more than 100 values "I want to type the
employee number and the logical test to be employee name |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
You can't nest id's that deeply so another way is a table like this Col A Col B 100 aa 101 bb 102 cc 103 dd 104 ee 105 ff 106 gg 107 hh 108 ii 109 jj 110 kk 111 ll Column A are your ID No's and Column B are names. The formula =VLOOKUP(C1,A1:B12,2,FALSE) Looks for the ID No in C1 in Column A and returns the corresponding name form Column B Mike "Horani" wrote: I would like to use (IF) for more than 100 values "I want to type the employee number and the logical test to be employee name |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi
You should not be using IF for that number of tests. Use Vlookup instead. With a list of Employee numbers in column A and Employee Names in column B, and with the Employee number to be looked up in C1, enter in D1 =VLOOKUP(C1,$A:$B,2,0) and that will return the Employee's name For more help on Vlookup take a look at http://www.contextures.com/xlFunctions02.html -- Regards Roger Govier "Horani" wrote in message ... I would like to use (IF) for more than 100 values "I want to type the employee number and the logical test to be employee name |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Need help to write formula in Excel to auto show only cells with values | Excel Discussion (Misc queries) | |||
Need to test for alphanumeric value and write numeric values to ce | Excel Worksheet Functions | |||
is it possible to execute write to the fields in another .xsl form a macro in another .xsl? e.g. some way to load another .xsl into an .xsl macro and write to its data? | Excel Worksheet Functions | |||
How do I write formula to compare two values and pull the resulta. | Excel Worksheet Functions | |||
Can't find logical_test for "if"statement | Excel Worksheet Functions |