Hello everyone,
I want to find the amount of stair beams and steel by checking from A and C status.
I have the following information.
test.xlsx (9.6 KB)
Thanks.
Perawat
Hello everyone,
I want to find the amount of stair beams and steel by checking from A and C status.
I have the following information.
test.xlsx (9.6 KB)
Thanks.
Perawat
hi @Perawat
May i know that the data within Sheet2 how it is calculated ??
Happy Automation
Best Regards
Er Pratik Wavhal
From Sheet 1 at the status column. The beam has a status in all 4.
Best Regards
Perawat
@Perawat Will the Status Column have only āaā and ācā status ?
@supermanPunch,
Yes, only have a and c
@Perawat Check this Workflow :
GroupByCount.zip (9.1 KB)
Hi @Perawat
So here is the workflow for the same :-
MainPratik.xaml (11.7 KB)
test.xlsx (9.6 KB)
Output :-
I have used the Linq as below in assign activity :-
This will give the count for each data for Status A :-
(From d In readExcelFromSheet1.asenumerable Where d(1).ToString.Equals(row("Data").ToString.Trim) And d(2).ToString.Equals("a")).count
This will give the count for each data for Status C :-
(From d In readExcelFromSheet1.asenumerable Where d(1).ToString.Equals(row("Data").ToString.Trim) And d(2).ToString.Equals("c")).count
Mark as solution and like it
Happy Automation
Best Regards
Er Pratik Wavhal
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.