Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks to all for the replies. I used this one and it worked and I dont need
to re arrange tha data. Thanks for the tips though. I've stayed away from the lookups in the past, or just never needed thm actually but i should look at them sometime too. Thanks "Mike H" wrote: Hi, I assume that's a typo where in your data table the categories are shown in column C and you mean column B as in your narrative. Maybe this =OFFSET(INDEX($B$1:$B$4,MATCH(A1,$C$1:$C$4)),1,0) Drag down as required. You don't say what you would want for (say) 0.3 so I have assumed the higher category. Mike "LiAD" wrote: Hi, I hope this description will be clear, please forgive me if its not. I do not know whats the easiest or neatest way to achieve this. I have a list of data composed of input numbers, then a category column then a category limits column, such as A C D 0,2 1 0 0,4 2 0,3 0,6 3 0,6 4 0,9 So i have input data in A. In B I have a category, which is numerical. In D I have a regularily increasing range of data. I would like excel to look at the data in A, (0,2 for example) then search through D to find which two values it lies between and then return the category that corresponds to that input. The category is the higher ranking number of the two values it lies between so a value of 0,1 for example is category 2. If it is equal to a limit it takes the category that corresponds to that limit, so 0,3 is category 2 for example. The result output I would like to see in col E would read 2, 3, 3. What is the best function to use to achieve this? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
sum, ave with limits, help pls. | Excel Discussion (Misc queries) | |||
Sum with limits | Excel Discussion (Misc queries) | |||
Query on Category & Sub-category | Excel Discussion (Misc queries) | |||
Row Limits | Excel Worksheet Functions | |||
Limits | Excel Discussion (Misc queries) |