Value to be assigned to date from list formula

gero92

New Member
Joined
Apr 15, 2018
Messages
10
Hello everyone,

I am trying to assign a value to each date of the calendar days. If the calendar day is less or equal than the date from the table than it will have that value assigned, otherwise the next value. I copy here and example of the excel. How could I solve it? Thank you very much!!! :)

DateValue20/06/20181
20/06/2018121/06/20182
21/06/2018222/06/20182
26/06/2018523/06/20182
29/06/2018424/06/20182
01/07/2018625/06/20182
09/07/2018426/06/20185
13/07/2018327/06/20185
28/06/20185
29/06/20184
30/06/20184
01/07/20186
02/07/20186
03/07/20186
04/07/20186
05/07/20186
06/07/20186
07/07/20186
08/07/20186
09/07/20184

<colgroup><col><col span="2"><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.

Forum statistics

Threads
1,214,431
Messages
6,119,458
Members
448,899
Latest member
maplemeadows

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