hi VJ
good news
I've made it through ... haha
results :
View attachment 1042
but can you help me , how to copy the header Level also to the column E ???
thanks so much
Did you see, you asked about a problem but if you gave it a little more time and effort you were able to resolve it yourself. Now need to do a little bit more. There is something clearly visible in the Copy Paste action where you need to make a change in order to get the 'Level' header for Column F.
After the Copy Paste action, give it a different name like 'NewLevel' or 'Level
1' using a simple 'Set Cell Value' action so that you can use it later for comparing the columns other wise it will be two same columns with same name (more on it below).
Regarding comparing each row in Column C with Column F,
- Once you get the 'Level
1' header right, get the worksheet data into a Collection using 'Get Worksheet As Collection' action of Ms Excel VBO
- Loop through this collection
- Inside the loop use a Decision stage and check [CollectionName.Level]=[CollectionName.Level
1]
There are two arrow flows out of the Decision stage Yes and No. Point the Yes to a Calc stage where you will set the 'Checking' column to Yes. You will do this by writing "Yes" in the Calc stage and in the Store In section of Calc stage [CollectionName.Checking].
Do the same for the 'No' arrow by writing a "No".
- After the loop is over, write the collection back to the Excel using 'Write Collection' action. This will write your collection back to the sheet with the 'Checking' column filled up.
- Save the Excel.