How to change excel cell value base on the adjustment criteria stated in another excel sheet?
I have 2 excel sheets now, if “Type” column in sheet 1 is same as the “Type” column in sheet 2, then “Level” column in sheet 1 will be increasrd base on “Addition” column in sheet 2. If not the same, then pass
It works with this excel file. However, when I apply the same method to another excel, it shows “Assign: Conversion from type ‘DBNull’ to type ‘Integer’ is not valid.”, this error appears in creating dictionary variable. What is the problem?
I appreciate your help very much, it works. I have a further question. I want to adjust “Level” column in sheet 1 if the Name column in sheet 1 contain certain word listed in sheet 3, then increase the value base on “Add” column in sheet 3. How to write the Condition inside “if activity”?
What i’ve understood, is you want exact same behavior of Sheet2 over Sheet1 but using Sheet3, instead of Sheet2. if that is correct, below is way to do it.
Logic remain the same, you have to modify Read Range and For each activity.
Just update the dictionary variable creation.
Update the Read Range activity from Sheet2 to Sheet3
I think, i got it wrong. This time, the validation column is NAME, not TYPE.
Just confirm one thing, the matching text will always be the last string in NAME (ABC share)column or it can appear anywhere?
Also, text under NAME column will always be unique or not?
The matching text will appear in any position and the text under NAME column will always be unique. And I have added more adjustment criteria in sheet 3, how to deal with it? Thank you. file.xlsx (11.3 KB)