Combine Multiple Matches & Separate by Semicolon

redhots4

Board Regular
Joined
Aug 30, 2004
Messages
136
Office Version
  1. 365
Platform
  1. MacOS
Hi everyone - I need help with a readings list at church. In my spreadsheet, individual readings are listed on separate lines but I want to combine all readings for a given day into a single cell. For each unique value in the "ACT Code" column, I want to concatenate the values in "Scripture Citation", separated by semicolons between each. For example, AAIIS should return "Psalm 34:1-10, 22; Matthew 5:1-12; 1 John 3:1-3; Revelation 7:9-17" in Cell F2 (and other rows where AAIIS appears). Thanks in advance!

Lectionary 2022-2023.xlsx
ABCDE
1TimingScripture CitationYearSeasonACT Code
2All Saints DayPsalm 34:1-10, 22Year A Season after PentecostAAllS
3All Saints DayMatthew 5:1-12Year A Season after PentecostAAllS
4Easter VigilGenesis 1:1-2:4aYear B EasterBVigil
5Easter VigilGenesis 1:1-2:4aYear C EasterCVigil
6Baptism of the LordGenesis 1:1-5Year B EpiphanyBEpip01
7All Saints Day1 John 3:1-3Year A Season after PentecostAAllS
8Proper 22 (27)Genesis 2:18-24Year B Season after PentecostBProp22
9Proper 5 (10)Genesis 3:8-15Year B Season after PentecostBProp05
10All Saints DayRevelation 7:9-17Year A Season after PentecostAAllS
11Annunciation of the LordPsalm 40:5-10Year A LentAAnLo
12Easter VigilGenesis 7:1-5, 11-18; 8:6-18; 9:8-13Year B EasterBVigil
13Easter VigilGenesis 7:1-5, 11-18; 8:6-18; 9:8-13Year C EasterCVigil
14First Sunday in LentGenesis 9:8-17Year B LentBLent01
15Day of PentecostGenesis 11:1-9Year C EasterCPDay
16Annunciation of the LordPsalm 45Year A LentAAnLo
17Annunciation of the LordIsaiah 7:10-14Year A LentAAnLo
18Proper 14 (19)Genesis 15:1-6Year C Season after PentecostCProp14
19Second Sunday in LentGenesis 15:1-12, 17-18Year C LentCLent02
20Second Sunday in LentGenesis 17:1-7, 15-16Year B LentBLent02
21Proper 11 (16)Genesis 18:1-10aYear C Season after PentecostCProp11
22Annunciation of the LordLuke 1:26-38Year A LentAAnLo
23Proper 12 (17)Genesis 18:20-32Year C Season after PentecostCProp12
24Annunciation of the LordHebrews 10:4-10Year A LentAAnLo
25Ascension of the LordPsalm 47Year A EasterAAscn
26Ascension of the LordPsalm 93Year A EasterAAscn
27Easter VigilGenesis 22:1-18Year B EasterBVigil
28Easter VigilGenesis 22:1-18Year C EasterCVigil
29Ascension of the LordLuke 24:44-53Year A EasterAAscn
30Ascension of the LordActs 1:1-11Year A EasterAAscn
31Ascension of the LordEphesians 1:15-23Year A EasterAAscn
32Ash WednesdayPsalm 51:1-17Year A LentAAshW
33Ash WednesdayIsaiah 58:1-12Year A LentAAshW
34Proper 24 (29)Genesis 32:22-31Year C Season after PentecostCProp24
35Ash WednesdayJoel 2:1-2, 12-17Year A LentAAshW
36Ash WednesdayMatthew 6:1-6, 16-21Year A LentAAshW
37Seventh Sunday after the EpiphanyGenesis 45:3-11, 15Year C EpiphanyCEpip07
38Ash Wednesday2 Corinthians 5:20b-6:10Year A LentAAshW
39Baptism of the LordPsalm 29Year A EpiphanyAEpip01
40Baptism of the LordIsaiah 42:1-9Year A EpiphanyAEpip01
41Baptism of the LordMatthew 3:13-17Year A EpiphanyAEpip01
42Maundy ThursdayExodus 12:1-4, (5-10), 11-14Year B Holy WeekBHoly04
43Maundy ThursdayExodus 12:1-4, (5-10), 11-14Year C Holy WeekCHoly04
44Baptism of the LordActs 10:34-43Year A EpiphanyAEpip01
45Canadian Thanksgiving DayDeuteronomy 8:7-18Year A Season after PentecostATDay
46Easter VigilExodus 14:10-31; 15:20-21Year B EasterBVigil
47Easter VigilExodus 14:10-31; 15:20-21Year C EasterCVigil
48Canadian Thanksgiving DayPsalm 65Year A Season after PentecostATDay
49Canadian Thanksgiving DayLuke 17:11-19Year A Season after PentecostATDay
50Canadian Thanksgiving Day2 Corinthians 9:6-15Year A Season after PentecostATDay
51Easter VigilExodus 15:1b-13, 17-18Year B EasterBVigil
52Easter VigilExodus 15:1b-13, 17-18Year C EasterCVigil
53Proper 13 (18)Exodus 16:2-4, 9-15Year B Season after PentecostBProp13
54Day of PentecostNumbers 11:24-30Year A EasterAPDay
55Day of PentecostPsalm 104:24-34, 35bYear A EasterAPDay
56Day of PentecostJohn 7:37-39Year A EasterAPDay
57Day of PentecostJohn 20:19-23Year A EasterAPDay
58Day of PentecostActs 2:1-21Year A EasterAPDay
59Third Sunday in LentExodus 20:1-17Year B LentBLent03
60Day of Pentecost1 Corinthians 12:3b-13Year A EasterAPDay
61Easter EveningPsalm 114Year A EasterARess
62Proper 19 (24)Exodus 32:7-14Year C Season after PentecostCProp19
63Easter EveningIsaiah 25:6-9Year A EasterARess
64Transfiguration SundayExodus 34:29-35Year C EpiphanyCTran
65Easter EveningLuke 24:13-49Year A EasterARess
66Easter Evening1 Corinthians 5:6b-8Year A EasterARess
67Easter VigilGenesis 1:1-2:4aYear A EasterAVigil
68Holy Name of JesusNumbers 6:22-27Year B ChristmasBHNam
69Holy Name of JesusNumbers 6:22-27Year C ChristmasCHNam
70Proper 21 (26)Numbers 11:4-6, 10-16, 24-29Year B Season after PentecostBProp21
71Easter VigilGenesis 7:1-5, 11-18; 8:6-18; 9:8-13Year A EasterAVigil
72Fourth Sunday in LentNumbers 21:4-9Year B LentBLent04
73Easter VigilGenesis 22:1-18Year A EasterAVigil
74Holy CrossNumbers 21:4b-9Year B Season after PentecostBHoCr
75Holy CrossNumbers 21:4b-9Year C Season after PentecostCHoCr
76Proper 17 (22)Deuteronomy 4:1-2, 6-9Year B Season after PentecostBProp17
77Ninth Sunday after the EpiphanyDeuteronomy 5:12-15Year B EpiphanyBEpip09
78Proper 4 (9)Deuteronomy 5:12-15Year B Season after PentecostBProp04
79Proper 26 (31)Deuteronomy 6:1-9Year B Season after PentecostBProp26
80Easter VigilExodus 14:10-31; 15:20-21Year A EasterAVigil
81Easter VigilExodus 15:1b-13, 17-18Year A EasterAVigil
82Easter VigilPsalm 16Year A EasterAVigil
83Easter VigilPsalm 19Year A EasterAVigil
3 Yr Lectionary
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
How about
Excel Formula:
=TEXTJOIN("; ",,FILTER($B$2:$B$1000,$E$2:$E$1000=E2))
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,694
Members
448,979
Latest member
DET4492

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