How to auto fill Year or month ?

navinrb

Board Regular
Joined
Jun 9, 2020
Messages
82
Office Version
  1. 2019
Platform
  1. Windows
  2. Mobile
  3. Web
I want to know if there is any way to auto fill year or month as i enter only day.i have many dates with same month and year but with different days so i don't want to write full date format.
For example if i input 05 and press enter..it should automatically set date as 05-01-2020
If i enter 07 ..output should be 07-01-2020 ..and so on.
So basically i mean i just want to enter day but month and year is autofilled
Thanks in advance.
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Will it always be January and 2020?
No.it would be different. For eg i have hundreds of sale for March 2019. I need to manually enter all invoice dates. So I just want to input only day of sale but month and year should be autfilled. If day of sale is 2nd march i just want to enter 02 but month and year i.e 03-2019 should be autofilled. Is that possible?
 
Last edited:
Upvote 0
You can use Auxiliary cells,just change D1,Then paste date as Values(V)
union.xlsm
ABCD
101-03-2019201931
2
3
4
5
6
Sheet2
Cell Formulas
RangeFormula
A1A1=TEXT(DATE(B$1,C$1,D$1),"dd-mm-yyyy")
 
Upvote 0
You can use Auxiliary cells,just change D1,Then paste date as Values(V)
union.xlsm
ABCD
101-03-2019201931
2
3
4
5
6
Sheet2
Cell Formulas
RangeFormula
A1A1=TEXT(DATE(B$1,C$1,D$1),"dd-mm-yyyy")
Sorry that's not what i am looking for.You might be unlear about my question. It seems my query not possible with excel.
 
Upvote 0

Forum statistics

Threads
1,215,059
Messages
6,122,913
Members
449,093
Latest member
dbomb1414

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