Formula/Macro to put date in date column

Tahas

Board Regular
Joined
Sep 10, 2008
Messages
165
Hello Friends,
I have a table where Column A is the date field which contains multiple dates. From Column B:J, I have blank field names with month/year name. I want excel to auto fill the dates when a date is entered in Column A.
Can somebody help me please?

DateJan-2020Mar-2020Mar-2020Apr-2020Apr-2020May-2020Jul-2020Jul-2020Dec-2020
01/01/2020
31/03/2020
31/03/2020
28/04/2020
28/04/2020
31/05/2020
31/07/2020
31/07/2020
31/12/2020
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
55,626
Office Version
  1. 365
Platform
  1. Windows
Glad we could help & thanks for the feedback.
 

Some videos you may like

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

Tahas

Board Regular
Joined
Sep 10, 2008
Messages
165
Is that possible to put 1 in case if date exist, otherwise return ""?
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
55,626
Office Version
  1. 365
Platform
  1. Windows
Can you post an example of what you want?
 

Tahas

Board Regular
Joined
Sep 10, 2008
Messages
165
Dear Jason and Fluff, I was able to modify the formula to give me "1" instead of date. "=IF(ISNUMBER(IF(EOMONTH($CV4,-1)+1=DC$1,$CV4,"")),1,"")"
I have another request for help. My users have updated the project dates manually and now I am trying to find a formula to do reverse calculation i.e. to match date in non-blank cells with the "Bid Date" column and put "1" in the yellow fields. Please see the image below.
Kindly help!
Taha

1606694840006.png
 

Tahas

Board Regular
Joined
Sep 10, 2008
Messages
165
I was able to find the formula "=XLOOKUP(1,DA40:EK40,$DA$1:$EK$1)" and it is working well.

Thanks again.
Taha
 

Watch MrExcel Video

Forum statistics

Threads
1,127,751
Messages
5,626,657
Members
416,199
Latest member
Gautamsunil

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
Top