In a column I have colored cell values I want to extract that particular value how can I do that. Can anyone help me please.
you have get cell color activity which you can use here…if you dont find the activity from the activities panel → Click filter icon → Select classic and then search
cheers
As per the data it seems you are trying to get duplicate values. You can read the full range using Read Range activity and then use below expression in assign activity to get list of the duplicate rows.
Dim allDuplicates As List(Of String) = dt.AsEnumerable().GroupBy([Function](dr), dr.Field(Of String)("VMDList")).Where([Function](g), g.Count() > 1).SelectMany([Function](g), g).ToList()
Answer from here: Finding duplicate items in a datatable - #4 by bcorrea
Another solution you can try this.
Thanks,
Ashok
Hi, If I use this I am getting output as while color only for all cells even though it is red colored in 12th & 13th cells. Can you please help me. Also here issue is if it is red color I should fetch value not only cell color.
Yes, you can use only white cells. If the cell values are not equal to white. You can use this
I didn’t got. Here my scenario is only red colored cell values i should fetch but if i use above logic i am getting output as white color.
@ashokkarale Here I am getting all duplicate values but i want only red colored cell value.
Can you help me please.
I just change if condition
not colorresult.tostring.contains("Color [White]")
Your excel is not working well. Excel Formula not working. Please try a dummy excel with my code
Main.xaml (25.7 KB)