I need to count duplicate values in the same column “Lote” from sheet 2 and then I’d like to compare that with values in sheet 1 on column “quantity”. If this match on the first attempt It should finish and print the value of column c which means what value matched.
For example:
In sheet 2, there are 8 values of “L1” so It should look for in sheet 1 and try to match with 1 but “quantity” has 9 so It doesn’t match.
So next attempt:
In sheet2, there are 4 values of “L2” so It should look for in sheet1 It matches with quantity “4” of 2 and It should print “L2” which is the value of column Lote".
To automate a repetitive task, you can record a macro with the Macro Recorder in Microsoft Excel. Imagine you have dates in random formats and you want to apply a single format to all of them. A macro can do that for you. You can record a macro applying the format you want, and then replay the macro whenever needed.
Excel automation streamlines your use of the application by automatically performing tasks like formatting cells, updating values, and running macros. With an RPA solution, you can also integrate Excel tasks in automated processes with other tasks across the enterprise.