hi, want to transpose row to column data in excel.
without using linq query, any shortcut keys or macro.
is it possible through Data table activities and looping if.
Note: Rows and columns are dynamic.
hi, want to transpose row to column data in excel.
without using linq query, any shortcut keys or macro.
is it possible through Data table activities and looping if.
Note: Rows and columns are dynamic.
Hi,
You can follow below steps:
Excel Application Scope (Open Excel File)
Build Data Table (Create transposedDataTable with desired column structure)
For Each Row in originalDataTable
Excel Application Scope (Open/Select Excel File to Write Transposed Data)
Hi @suraj.l ,
Have many way to Transpose row to column in excel
1.use for loop, we have dtinput and dtoutput
each row of dtinput, use add data columns to dtoutput
2.use invoke vb code
3.use hot key when open excel file
regards,
Hi @suraj.l
To transpose row data to column data in Excel without using LINQ, shortcut keys, or macros, you can use UiPath’s DataTable activities and a loop. Here’s a high-level overview of how you can achieve this:
This workflow will transpose the data from rows to columns. It assumes that the number of rows in the original DataTable will become the number of columns in the transposed DataTable and vice versa. You may need to adapt it to your specific Excel data structure.
Thanks!!
Cross reference:
@Nguyen_Van_Luong1
as i mention don’t want any scripting code or shortcut keys read once my question properly
@ppr please provide me xaml regarding this if possible.
hi @suraj.l ,
in 3 ways, you can select 1
use activity
for loop
each row original data, add data columns to target data
or
LINQ
regards,
@Nitya1 please provide xaml file as i mention the logic which you are saying here rows are dynamic in rows and columns as i noted in question please read once and share xaml file.
@Irtetala
Please read my question properly once i need to transpose from row to column where rows and columns both are dynamic.
provide xaml for same.
provide me the looping way through datatable activities share xaml for same.
Any blockers to complete it along with the given detailed explanations? What was done so far at your end?
row to column.xlsx (9.5 KB)
where rows and column are unstructure and dynamic.
row to column.xlsx (9.5 KB)
where rows and column are unstructure and dynamic.
will match the explanation, what we gave for the case
Show us your XAML and what was modelled so far at your end. Thanks
bro why do you sound so frustrated and rude at the same time in the reply section, everyone above tried to help you. Be Grateful bro