collect items in a table to make a list

I have a two-dimensional table (dates with time slots). I would like to collect all entries that start with a specific text and provide them as a list on another sheet. There may be multiple entries in one column.

MacBook Pro 15″, macOS 12.7

Posted on Mar 21, 2024 3:17 AM

Reply
Question marked as Best reply

Posted on Mar 27, 2024 7:28 AM

Yes,

wbleek wrote:

Do I understand correctly that I have to copy your formula into each cell to extract the following items?


Yes, in the example I entered the formula in A2, then "filled" it down the column.


Autofill cells in Numbers on Mac - Apple Support


That explanation is from the User Guide, which you can also access via Help > Numbers Help in your menu. If you are new to Numbers, or even if you aren't, having a look at the User Guide can help.


The formula in the screenshot is correct, but Badunit spotted a typo in the version included in the text of the post so you could copy-paste. It should be:


=REGEX.EXTRACT(TEXTJOIN("~",1,Table 1::$B:$G),"(TODO[^~]+)",ROW()−1,1)


SG


6 replies
Question marked as Best reply

Mar 27, 2024 7:28 AM in response to wbleek

Yes,

wbleek wrote:

Do I understand correctly that I have to copy your formula into each cell to extract the following items?


Yes, in the example I entered the formula in A2, then "filled" it down the column.


Autofill cells in Numbers on Mac - Apple Support


That explanation is from the User Guide, which you can also access via Help > Numbers Help in your menu. If you are new to Numbers, or even if you aren't, having a look at the User Guide can help.


The formula in the screenshot is correct, but Badunit spotted a typo in the version included in the text of the post so you could copy-paste. It should be:


=REGEX.EXTRACT(TEXTJOIN("~",1,Table 1::$B:$G),"(TODO[^~]+)",ROW()−1,1)


SG


Mar 22, 2024 9:41 AM in response to wbleek

This will generate a simple list in a different order from your example:


:



=REGEX.EXTRACT(TEXTJOIN("~",1,Table 1::$B:$G),"(TODO[^~]+)",ROW(−1,1)


Use ; instead of , in the formula if your region uses , as the decimal separator.


Looking up the date and time for each item may be possible, but complicated. In general what you are trying to do can be complicated with a spreadsheet. You might consider structuring your table differently.


SG


collect items in a table to make a list

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.