List based on formula

CaptArt

New Member
Joined
Dec 2, 2022
Messages
5
Office Version
  1. 2016
Platform
  1. Windows
Excel version 2013. “Long time listener first time caller”
I have a list of dates in a column that is based on a formula. So the cells contain a formula to gather the dates. The column contains 200 rows, the dates listed have usually less than 25 dates. I would like to make a separate list without the blanks showing just the dates.
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
A picture or some sample data, preferably posted using XL2BB, would be helpful as it's not entirely clear what you need. For example, when you say 'without the blanks', does that imply that of the 200 rows only about 25 are dates and the rest are blank? Are there duplicate dates among the 200 and should they be kept or discarded? Is this a one-off or are you looking for a formula or VBA solution. As a one-off you could use Data->Data Tools->Remove duplicates.
 
Upvote 0
Hi, maybe you can have a go at adapting something like this to your actual layout. The column A formula is just to generate test data for the formula in column C.

Cell Formulas
RangeFormula
A2:A19A2=IF(ISODD(RANDBETWEEN(1,10)),DATE(RANDBETWEEN(2000,2024),RANDBETWEEN(1,12),1),"")
C2:C19C2=IFERROR(INDEX($A$2:$A$20,AGGREGATE(15,6,(ROW($A$2:$A$20)-MIN(ROW($A$2:$A$20))+1)/ISNUMBER($A$2:$A$20),ROWS(C$2:C2))),"")
 
Upvote 1
Solution

Forum statistics

Threads
1,223,893
Messages
6,175,246
Members
452,623
Latest member
cliftonhandyman

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