Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
How do I create a list, where I can look-up a corresponding value
Im am trying to set a system where you would have to example:
Date Data Range Relevent Location 29/10 10 - 20 1 30/10 21 - 42 2 I want to know if I can set a formula in excel to be able to set the data range (with specific unique values) so that if I look up say data value 19, it will tell me the location is 1? |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
How do I create a list, where I can look-up a corresponding value
If you restructure the data so that you have start points not ranges,
Date Data Range Relevant Location 29/10 10 1 30/10 21 2 you can then use =INDEX(C2:C3,MATCH(19,B2:B3,1)) -- --- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Daiire" wrote in message ... Im am trying to set a system where you would have to example: Date Data Range Relevent Location 29/10 10 - 20 1 30/10 21 - 42 2 I want to know if I can set a formula in excel to be able to set the data range (with specific unique values) so that if I look up say data value 19, it will tell me the location is 1? |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
How do I create a list, where I can look-up a corresponding value
Hi,
You could create a table like this which in my case is in A1 - B4 10 1 21 2 43 3 66 4 Note that the left column is sorted ascending and the numbers are your thresholds Then use a formula =VLOOKUP(C1,A1:B4,2,TRUE) The formula looks in column A for the value in C1. For 10 to 20 it will return 1 and for 21 on returns 2 etc. Mike "Daiire" wrote: Im am trying to set a system where you would have to example: Date Data Range Relevent Location 29/10 10 - 20 1 30/10 21 - 42 2 I want to know if I can set a formula in excel to be able to set the data range (with specific unique values) so that if I look up say data value 19, it will tell me the location is 1? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to create adress list so can mail merge and create labels? | Excel Discussion (Misc queries) | |||
I do not have the List-create a list option on my data toolbar ?? | New Users to Excel | |||
Want to Create a List in Excel 2002; Don't see List in Data Menu? | Excel Discussion (Misc queries) | |||
Auto filtering vs Date List Create List | Excel Worksheet Functions | |||
Does Excel 2002 have a List>Create List option under Data? | Excel Discussion (Misc queries) |