Date falls within certain banding

hardgrafting

New Member
Joined
Feb 6, 2017
Messages
25
Hi,

I would like assistance with the below query please.

If I have a specific date, I want to create formula, which flags which period the date falls into. So for example if the date is 30/08/2018, I want to have a 1 under the cell with the date 31/08/2018, if the date was 15/09/2018, I would like to have a 1 under 30/09/2018.

Assume this is very simple and thank you in advance.

[TABLE="width: 500"]
<tbody>[TR]
[TD]31/05/2018[/TD]
[TD]30/06/2018[/TD]
[TD]31/07/2018[/TD]
[TD]31/08/2018[/TD]
[TD]30/09/2018[/TD]
[TD]31/10/2018[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
copy B2 across


Excel 2013/2016
ABCDEFG
131/05/201830/06/201831/07/201831/08/201830/09/201831/10/2018
230/09/2018 1
Sheet1
Cell Formulas
RangeFormula
B2=IF(AND($A$2>A1,$A$2<=B1),1,"")
 
Upvote 0

Forum statistics

Threads
1,223,898
Messages
6,175,272
Members
452,628
Latest member
dd2

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