Required auto fill of months using month number

ravi2628

New Member
Joined
Dec 20, 2017
Messages
23
HI every one,

i need a small logic if any one can help it will be very great full to me.

Month8
Year2019
Calander Year08.201909.201910.201911.201912.201901.202002.202003.202004.202005.202006.202007.202008.202009.202010.202011.202012.202001.202102.202103.202104.202105.202106.2021

<tbody>
</tbody>


Highlighted values to populated based on Month & Year Selection from Drop Down

Thanks in advance


Thanks & Regards,
Raviteja
 

Michael M

Well-known Member
Joined
Oct 27, 2005
Messages
18,199
Office Version
2013
Platform
Windows
Assuming your first date is in place place the formula in C3 and drag 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 /></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></tr></thead><tbody><tr ><td style="color: rgb(22,17,32);text-align: center;">1</td><td style=";">Month</td><td style="text-align: right;;">8</td><td style="text-align: right;;"></td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">2</td><td style=";">Year</td><td style="text-align: right;;">2019</td><td style="text-align: right;;"></td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">3</td><td style="font-weight: bold;;">Calander Year</td><td style="font-weight: bold;text-align: right;color: #00FF00;;">8.2019</td><td style="font-weight: bold;text-align: right;color: #00FF00;;">9.2019</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)">C3</th><td style="text-align:left">=EDATE(<font color="Blue">B3, 1</font>)</td></tr></tbody></table></td></tr></table><br />
 

ravi2628

New Member
Joined
Dec 20, 2017
Messages
23
Assuming your first date is in place place the formula in C3 and drag across

Excel 2013/2016
ABC
1Month8
2Year2019
3Calander Year8.20199.2019

<colgroup><col style="width: 25pxpx"><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet1

Worksheet Formulas
CellFormula
C3=EDATE(B3, 1)

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>

sorry michael the logic which you have suggested not worked
 

jasonb75

Well-known Member
Joined
Dec 30, 2008
Messages
7,154
Office Version
2019
Platform
Windows
Try this in B3
=EDATE(DATE($B$2,$B$1,1),COLUMNS($B3:B3)-1)
 

ravi2628

New Member
Joined
Dec 20, 2017
Messages
23
hi jason & michael,

i have got the following logic to complete the task.

thanks for you efforts

Month

<tbody>
</tbody>
8
Year2019
Calander Year=date(b2,b1,1)=edate(b3,1)

<tbody>
</tbody>


thanks
Raviteja
 

Michael M

Well-known Member
Joined
Oct 27, 2005
Messages
18,199
Office Version
2013
Platform
Windows
Glad WE could help....thx for the feedback..(y)
 

Forum statistics

Threads
1,082,305
Messages
5,364,401
Members
400,800
Latest member
germanpbv

Some videos you may like

This Week's Hot Topics

  • populate from drop list with multiple tables
    Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
  • Find list of words from sheet2 in sheet1 before a comma and extract text vba
    Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
  • Dynamic Formula entry - VBA code sought
    Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...
  • Listbox Header
    Have a named range called "AccidentsHeader" Within my code I have: [CODE]Private Sub CommandButton1_Click() ListBox1.RowSource =...
  • Complex Heat Map using conditional formatting
    Good day excel world. I have a concern. Below link have a list of countries that carries each country unique data. [URL...
  • Conditional formatting
    Hi good morning, hope you can help me please, I have cells P4:P54 and if this cell is equal to 1 then i want row O to say "Fully Utilised" and to...
Top