Jon von der Heyden
MrExcel MVP, Moderator
- Joined
- Apr 6, 2004
- Messages
- 10,912
- Office Version
- 365
- Platform
- Windows
Hello
I'm struggling to think of a 'not so complicated' way of achieving similar to an approximate VLOOKUP.
I have a large table, and one of its' many fields is 'Days Overdue', which can be any integer greater than zero. I would like to update another existing field called 'Aged Bucket' to categorise each record according to 'Days Overdue'.
In excel I am lucky enough to be able to perform an approximate lookup, e.g:
=LOOKUP(F4,{0,"0-30 Days";31,"31-60 Days";61,"61-90 Days"})
Where F4 houses the 'Days Overdue'. E.g: If 'Days Overdue' = 34 then it should return "31-60 Days".
I would like to do similar but I would like to store the age categories in a table. I would like to avoid a big hiddeous expression if possible.
Suggestions gratefully received! Thanks.
I'm struggling to think of a 'not so complicated' way of achieving similar to an approximate VLOOKUP.
I have a large table, and one of its' many fields is 'Days Overdue', which can be any integer greater than zero. I would like to update another existing field called 'Aged Bucket' to categorise each record according to 'Days Overdue'.
In excel I am lucky enough to be able to perform an approximate lookup, e.g:
=LOOKUP(F4,{0,"0-30 Days";31,"31-60 Days";61,"61-90 Days"})
Where F4 houses the 'Days Overdue'. E.g: If 'Days Overdue' = 34 then it should return "31-60 Days".
I would like to do similar but I would like to store the age categories in a table. I would like to avoid a big hiddeous expression if possible.
Suggestions gratefully received! Thanks.
