Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
Hello,
I have a sheet with 2 columns as Below A B 1 Apples 1 2 Oranges 3 3 Bannanas 2 Cells in Column A have data validation with values say Apples Bannanas Oranges What I want in Cells of Column B is the Index i,e the Number 1 or 2 or 3 as and when "Apples" or "Bannanas" or "Oranges" are selected is this possible without using any macro but with Worksheet formulas? Regards, SSR |
#2
![]() |
|||
|
|||
![]()
create a named range somewhere e..g <fruits
the range will be apple 1 orange 2 bananas 3 in the columb B of your data type =VLOOKUP(A15,fruits,2,FALSE) as you enter in column A by validation list automatically the appropriate index will be entered in column B. ============================== SSR wrote in message ... Hello, I have a sheet with 2 columns as Below A B 1 Apples 1 2 Oranges 3 3 Bannanas 2 Cells in Column A have data validation with values say Apples Bannanas Oranges What I want in Cells of Column B is the Index i,e the Number 1 or 2 or 3 as and when "Apples" or "Bannanas" or "Oranges" are selected is this possible without using any macro but with Worksheet formulas? Regards, SSR |
#3
![]() |
|||
|
|||
![]()
It is if you put the items in a table elsewhere on the sheet, say H1:H10,
and use that range in your DV list. Then in B1 use =MATCH(A1,H1:H10,0) -- HTH Bob Phillips "SSR" wrote in message ... Hello, I have a sheet with 2 columns as Below A B 1 Apples 1 2 Oranges 3 3 Bannanas 2 Cells in Column A have data validation with values say Apples Bannanas Oranges What I want in Cells of Column B is the Index i,e the Number 1 or 2 or 3 as and when "Apples" or "Bannanas" or "Oranges" are selected is this possible without using any macro but with Worksheet formulas? Regards, SSR |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
lookup, index, match, offset, etc. | Excel Worksheet Functions | |||
Index table lookup anomaly | Excel Worksheet Functions | |||
Lookup values in a list and return multiple rows of data | Excel Worksheet Functions | |||
Lookup with logic | Excel Worksheet Functions | |||
Lookup value in colA whos row matches row of index value in colB | Excel Worksheet Functions |