Sample1 contains 3 columns Number ,RQ and Status.
Sample2 contains 2 columns Number and AQ.
To fill the status column:
If RQ<=AQ, Status = “available” else Status =" less available"
Sample1 sheet contains duplicate value which also needs to be assigned the Status based on the remaining AQ value.
Eg: firstly 3 is assigned Status = “available” then if 3 comes again(duplicate value), it will check for if and else condition for RQ and AQ where the AQ will be net AQ i.e. AQ-RQ.
I really need some help in solving this problem .Thanks a lot in advance.
(From p in dt.Select() where( From q in dt.Select() where string.Join(“,”,q.ItemArray).Equals(string.Join(“,”,p.ItemArray)) Select q).ToArray.Count>1 Select p).ToArray.CopyToDataTable()
@Soniya215
When i was developping the Code, i Had even to fix the Excel for the blanks in the column Header row. After that IT was working fine. Are you running my xaml or a Port to your xaml. If so, please Share your xaml with me.
Writing Back to Excel is Not implemented. Just do IT by your own with a write Range activity