Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I would like to be able to create a formula, so that when I type in a Chart
of Account number in one cell, the description of the account appears in the next cell. I've been searching the Microsoft Help site, but no luck... Anyone?? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Look up VLookup in Help. HTH Otto
"sweetb" wrote in message ... I would like to be able to create a formula, so that when I type in a Chart of Account number in one cell, the description of the account appears in the next cell. I've been searching the Microsoft Help site, but no luck... Anyone?? |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi sweetb
Have a look at creating a VLOOKUP table. A search on here or the help page will give you thousands of examples. HTH Michael M "sweetb" wrote: I would like to be able to create a formula, so that when I type in a Chart of Account number in one cell, the description of the account appears in the next cell. I've been searching the Microsoft Help site, but no luck... Anyone?? |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try this:
You could create a 2-column list on another sheet that has the AcctNum in the left column and the corresponding AcctName in the right column. Once that's done, you could use a VLOOKUP function to find the input AcctNum in that list and return the AcctName. Example: Sheet2, A1:B3 contains this list: 100 Cash 200 A/R 300 A/P Then....on Sheet1 A1: 200 B1: =VLOOKUP(A1,Sheet2!$A$1:$B$3,2,0) That basic formula will return "A/R". But if you use Data Validation in cell A1, your users would see a drop-down list of available AcctNums to choose from. Selecting one would return its AcctName in B1. You could also use this slightly fancier version to avoid the error message when no AcctNum is selected: B1: =IF(B1="","",VLOOKUP(A1,Sheet2!$A$1:$B$3,2,0)) Does that help? Post back if you have more questions. -------------------------- Regards, Ron Microsoft MVP (Excel) (XL2003, Win XP) "sweetb" wrote in message ... I would like to be able to create a formula, so that when I type in a Chart of Account number in one cell, the description of the account appears in the next cell. I've been searching the Microsoft Help site, but no luck... Anyone?? |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Use the VLOOKUP Function.
You have a table of Account Numbers and Descriptions in two columns, say on a separate Sheet2 in Columns A and B from row1 to row 50 In A1 of Sheet1 enter an account number. In B1 of Sheet1 enter this formula =VLOOKUP(A1,Sheet2!$A$1:$B$50,2,FALSE) The description for account number will show in B1. For more on VLOOKUP and perhaps Data Validation dropdown lists see Debra Dalgleish's site. http://www.contextures.on.ca/xlFunctions02.html http://www.contextures.on.ca/xlDataVal01.html The DV lists save the typing part. Gord Dibben MS Excel MVP On Wed, 28 Nov 2007 15:56:04 -0800, sweetb wrote: I would like to be able to create a formula, so that when I type in a Chart of Account number in one cell, the description of the account appears in the next cell. I've been searching the Microsoft Help site, but no luck... Anyone?? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I create a chart out of a list, instead of number values? | Charts and Charting in Excel | |||
sumif based on last digit of account list | Excel Worksheet Functions | |||
How do I create a comparison chart from a data list? | Charts and Charting in Excel | |||
How do I create a Pie Chart from a LIST of Data? | Charts and Charting in Excel | |||
How do I setup a list box that has several account numbers so use. | Excel Worksheet Functions |