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.

31/05/201830/06/201831/07/201831/08/201830/09/201831/10/2018
1

<tbody>
</tbody>
 

Some videos you may like

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK

AlanY

Well-known Member
Joined
Oct 30, 2014
Messages
4,173
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
copy B2 across

<b>Excel 2013/2016</b><table cellpadding="2.5px" rules="all" style=";background-color: rgb(255,255,255);border: 1px solid;border-collapse: collapse; border-color: rgb(187,187,187)"><colgroup><col width="25px" style="background-color: rgb(218,231,245)" /><col /><col /><col /><col /><col /><col /><col /></colgroup><thead><tr style=" background-color: rgb(218,231,245);text-align: center;color: rgb(22,17,32)"><th></th><th>A</th><th>B</th><th>C</th><th>D</th><th>E</th><th>F</th><th>G</th></tr></thead><tbody><tr ><td style="color: rgb(22,17,32);text-align: center;">1</td><td style="text-align: right;;"></td><td style="text-align: right;;">31/05/2018</td><td style="text-align: right;;">30/06/2018</td><td style="text-align: right;;">31/07/2018</td><td style="text-align: right;;">31/08/2018</td><td style="text-align: right;;">30/09/2018</td><td style="text-align: right;;">31/10/2018</td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">2</td><td style="text-align: right;;">30/09/2018</td><td style="background-color: #E2EFDA;;"></td><td style="background-color: #E2EFDA;;"></td><td style="background-color: #E2EFDA;;"></td><td style="background-color: #E2EFDA;;"></td><td style="text-align: right;background-color: #E2EFDA;;">1</td><td style="background-color: #E2EFDA;;"></td></tr></tbody></table><p style="width:4.8em;font-weight:bold;margin:0;padding:0.2em 0.6em 0.2em 0.5em;border: 1px solid rgb(187,187,187);border-top:none;text-align: center;background-color: rgb(218,231,245);color: rgb(22,17,32)">Sheet1</p><br /><br /><table width="85%" cellpadding="2.5px" rules="all" style=";border: 2px solid black;border-collapse:collapse;padding: 0.4em;background-color: rgb(255,255,255)" ><tr><td style="padding:6px" ><b>Worksheet Formulas</b><table cellpadding="2.5px" width="100%" rules="all" style="border: 1px solid;text-align:center;background-color: rgb(255,255,255);border-collapse: collapse; border-color: rgb(187,187,187)"><thead><tr style=" background-color: rgb(218,231,245);color: rgb(22,17,32)"><th width="10px">Cell</th><th style="text-align:left;padding-left:5px;">Formula</th></tr></thead><tbody><tr><th width="10px" style=" background-color: rgb(218,231,245);color: rgb(22,17,32)">B2</th><td style="text-align:left">=IF(<font color="Blue">AND(<font color="Red">$A$2>A1,$A$2<=B1</font>),1,""</font>)</td></tr></tbody></table></td></tr></table><br />
 

Watch MrExcel Video

Forum statistics

Threads
1,109,146
Messages
5,527,076
Members
409,743
Latest member
sukuto20

This Week's Hot Topics

Top