Hi,
I do have a worksheet with a list of a lot of account numbers, like this:
What I want to do, is to automatically insert a value in the D column, based on the account number (column A).
The mapping should be done using this layout:
Where the value I want to insert (in column D in first image) should be between one of the ranges (in column A and B), and then return the value in column C.
I need to have both from and to-value, as there might be some open gaps in the mapping scheme.
How should the formula be?
I do have a worksheet with a list of a lot of account numbers, like this:

What I want to do, is to automatically insert a value in the D column, based on the account number (column A).
The mapping should be done using this layout:

Where the value I want to insert (in column D in first image) should be between one of the ranges (in column A and B), and then return the value in column C.
I need to have both from and to-value, as there might be some open gaps in the mapping scheme.
How should the formula be?
