Formula/Macro to put date in date column

Tahas

Board Regular
Joined
Sep 10, 2008
Messages
166
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
 
Glad we could help & thanks for the feedback.
 
Upvote 0

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Can you post an example of what you want?
 
Upvote 0
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
 
Upvote 0
I was able to find the formula "=XLOOKUP(1,DA40:EK40,$DA$1:$EK$1)" and it is working well.

Thanks again.
Taha
 
Upvote 0

Forum statistics

Threads
1,213,562
Messages
6,114,322
Members
448,564
Latest member
ED38

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