web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How can i use flow to ...
Power Automate
Answered

How can i use flow to separate/split out text from a open text field in Forms and add to different columns in SharePoint Online/Excel?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi, Hoping to get some help on my case here 🙂 

 

I have a forms where i have a open text field - the users will use this one text field to write comments on three different topics (do not want to divide them into several questions because the topics might change). I want Powerautomate to automatically differentiate the text in this textfield based on a sign like : or starting with (...) and then creating cells in different columns (one column per topic) in a sharepoint online list or in excel. Any advice/help on how to set this up? 

 

I have also looked at the text to columns in excel - but i dont know how you could do that action automatically. 

 

Categories:
I have the same question (0)
  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on at

    You can use the split function to split as per the sign reference: https://docs.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference#split

     

    Let me know if you need further inputs on this

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks for the reply Annajhaveri, maybe i should have mentioned i am quite new to this - so i wouldnt know how to even put this function into my flow - like what "boxes" do i have to use (compose etc.). I have tried to google, but i am not finding the right resources. any idea of how i design it in powerautomate with this split option?

  • Verified answer
    annajhaveri Profile Picture
    8,531 Most Valuable Professional on at

    @Anonymous , please configure your flow as follows:

     

    1.  Initialize variable of type string and assign it value from your form, here just for example I have assigned it a static value

    annajhaveri_0-1609169937623.png

     

    2. Add compose action and copy following expression from dynamic content -> expressions and click on ok button

    split(variables('text'),':')

     

    annajhaveri_1-1609169997171.png

     

    3. Then add apply to each action and configure it as shown in below screenshot

    annajhaveri_2-1609170058835.png

     

     

     

  • adam0s Profile Picture
    47 on at

    Hello, I know this is an old post but i am hopeful you will reply, I am having the same issue and have followed the steps you laid out but I feel like the last step is missing, I have initialized a variable as a string the value being the form response that needs to be split into multiple columns, done the compose step where I split the variables based on my chosen delimiter, and created an apply to each based on your steps, but how then do I take what I have split up and input it into separate columns of an excel table?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 791

#2
Valantis Profile Picture

Valantis 582

#3
Haque Profile Picture

Haque 529

Last 30 days Overall leaderboard