Formula extract the dates

jevi

Active Member
Joined
Apr 13, 2010
Messages
339
Office Version
  1. 2016
Platform
  1. Windows
Hi All,

I have a start date 01/01/2020 and an end date 13/11/2020. I did this formula so it can give me all the dates in H6 but it stops till 11/11/2020 and not 13/11/2020. So I can't understand why. Maybe C2 goes in the empty rows?
C2 = START DATE
C3 = END DATE
H6 = THE ROW WHERE I WANT THE DATE TO BE FROM H6 AND ON.

=IF($C$2+ROW(C2)>=$C$3;"";H6+1)

THANK YOU,
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Try this min H6, copied down
Excel Formula:
=IF(ROWS(H$6:H6)>C$3-C$2+1;"";C$2+ROWS(H$6:H6)-1)
 
Upvote 0
Solution
It worked like a treat:). thank you
 
Upvote 0
You are welcome. Thanks for the follow-up. :)
 
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,551
Members
449,088
Latest member
davidcom

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