Hello,
I want to get count of rows as per Status updated in Excel file in column.
I have different status in one column and want to get count against that status.
Below is my Excel file data
From this data I want to get 3 counts (1st 2 able to get, challenge is for only 3rd)
-
Total Number of Lines (Which I am able to Get with Op_Dt.Rows.Count.ToString)
-
Count with Status -“Printed” (Able to get with Op_Dt.asenumerable.where(function(a) a(“Status”).tostring.startswith(“Printed”)).tolist.count)
-
Count with Status - “Report not found message” & “Not Printed” (return 0 count if I used multiple condition in above statement)
