Return non-blank cells in an array to a single column

LindaLinda

New Member
Joined
Jun 26, 2024
Messages
10
Office Version
  1. 365
Platform
  1. Windows
I have a data table (event calendar) that gives 5 cells to every date of the year. I would like to return all events that happen in a month to a single column (there will never be more than 10 items in a month). The filter formula won't pull from the array I have. =FILTER('2024'!$B$2:$AF$6,'2024'!$B$2:$AF$6<>"") when I select more than one column or row to pull from. Is there any way to pull all the non-blank information into a single column for a given month?
 

Attachments

  • 2024.png
    2024.png
    20.6 KB · Views: 18
  • monthly activities.png
    monthly activities.png
    10.1 KB · Views: 18

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
how about Tocol function ? like this

Excel Formula:
=TOCOL('2024'!$B$2:$AF$6,3)
 
Upvote 0
Solution
Awesome! I'd never seen a TOCOL before. Very cool
The marked solution has been changed accordingly. In your future questions, please mark the post as the solution that actually answered your question, instead of your feedback message as it will help future readers. No further action is required for this thread.
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,154
Members
453,021
Latest member
Justyna P

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