Hi All,
I have Some scenario i need to convert csv file into Excel file, without using premium connectors like Encodian and Plumsail Documents connector.
If anyone knows better solution let me know.
Thanks,
Ahammad Riyaz
You can now try automatically converting most CSVs to a new Excel table with the same column names as the CSV headers with this template:
https://powerusers.microsoft.com/t5/Power-Automate-Cookbook/CSV-To-New-Excel-Table/m-p/1826096#M964
Yes, for me column name will be constant.
Hi @Ahammad_Riyaz great to hear you were able to use my blog post to help you.
You might also want to check this one out to make your flow more efficient when putting the data into Excel:
https://www.tachytelic.net/2021/08/power-automate-export-to-excel/
@Ahammad_Riyaz That solution will only work for you if you have the same column titles in your CSV every time. Is that the case?
Hi All,
Thanks for all your responses.
I got the solution from this link, https://www.tachytelic.net/2021/02/power-automate-parse-csv/
Not much steps to follow.
Hi @Ahammad_Riyaz
Yes, this is achievable - I spent way too long testing this out on my side, haha. I am tired, so this is going to be a quick screenshot dump - with probably a lot of inelegance, as I was just going for function!
My demo CSV...
To start, we get the File Content from your CSV file.
Then, we start processing the File Content. I used these actions:
Split by NewLine: I'm replacing the newlines with a dollar sign, and then splitting on them.
Theeeeeeen before the Apply to Each starts over for another row, I clear the vars.
I think the Office Script that @tom_riha mentioned sounds better, but, this was still fun to try.
R
Hello @Ahammad_Riyaz ,
@DamoBird365 has a video where he does that using Office scripts: https://www.youtube.com/watch?v=ZejstvPiFZw
WarrenBelz
146,645
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional