Lookups combined with filter

CelineT

New Member
Joined
Mar 10, 2016
Messages
17
Hi all,
I have the following list:

Nbr date amount
1 1/1/15 20
1 1/1/16 25
1 1/10/16 30
2 1/1/08 19
2 1/1/09 20
3...

So basically several rows per nbr with different dates. Each date has a different amount (list of employees ans their salaries from tjat day onwards)

Per nbr I need to determine 2 amounts:
- on last known date (1: 30, for nbr 2: 20)
- on date 1/09/16: for nbr 1 it should give me the value of the last known date before that date so: 25. For nbr 2: 20

This must be possible i guess but i don't know how. Maybe with arrays?

I hooe someone can answer here :-)

Thanks in advance
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.

Forum statistics

Threads
1,225,757
Messages
6,186,850
Members
453,379
Latest member
gabriellegonzalez

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top