result of filter function (date) to convert to horizontal then change format

ExcelNewbie2020

Active Member
Joined
Dec 3, 2020
Messages
343
Office Version
  1. 365
Platform
  1. Windows
I have this formula to filter the date if it meet the condition (number column=1) =FILTER(FILTER(A2:D11,E2:E11=1),{0,0,1,0})

I would like the result to change the date format ("dd mmm") then make it horizontally arrange as below (should be result).. many thanks in advance


nameEmp.#DateDept.Number
Name1100111-05-22A1RESULT OF FILTER FORMULAshould be result
Name2100211-06-22B211-05-2211 May, 11 Jul, 11 Sept, 11 Nov, 13 Nov
Name3100311-07-22C111-07-22
Name4100411-08-22A211-09-22
Name5100511-09-22B111-11-22
Name6100611-10-22C213-11-22
Name7100711-11-22A1
Name8100811-12-22B2
Name9100913-11-22C1
Name10101014-11-22A2
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Try below:

=TRANSPOSE(TEXT(FILTER(C2:C11,E2:E11=1),"dd mmm"))

/Skovgaard
 
Upvote 0
Try this then:

=TEXTJOIN(", ",TRUE,TRANSPOSE(TEXT(FILTER(C2:C11,E2:E11=1),"dd mmm")))

/Skovgaard
 
Upvote 0
Solution
FWIW there is no need to transpose the data you could just use
Excel Formula:
=TEXTJOIN(", ",,TEXT(FILTER(C2:C11,E2:E11=1),"dd mmm"))
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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