Hi @Cox,Andy
Teams does not currently have the ability to automatically extract certain text from channel messages and upload it to Excel.
I suggest you use PowerAutomate to implement this function. According to your needs, using PowerAutomate to achieve this requirement has the following prerequisites:
a. The message sent to the channel must have a fixed format (for example, the text before and after the room number is the same every day)
b. There must be a table in Excel to store the room number (PowerAutomate can only add data to the table but not to the Sheet)
I made a test for your reference:
Daily duty outline: There are noise complaints in room A203, please deal with them in time.
In the expression last(split(first(split(triggerOutputs()?['body/body/content'],',')),'room')) used in the room number field:
triggerOutputs()?['body/body/content'] gets the messages sent in the channel.
Functions like last, first, split are designed to get the room number.
This document guides the use of PowerAutomate functions. If you meet the above two conditions but do not know how to write expressions, please provide the text format you receive every day so that I can help you better.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.