How can we calculate the average of 2 similar rows cells in Excel using UiPath
Suppose: I have an excel and its 2 rows first cells are similar and we want the average of 2 cells beside the first cells in different excel sheet.
Input:
Input Value
A1 23.9
A2 18.7
A1 24.9
A2 16.8
this A1 and A2 are present in the same sheet and can be anywhere maybe cell A11 contains A2 and cell A1 contains A2
A1 and A2 are not cell numbers they are random item names like a1,a2,a3…
actually the excel is like this:
From “Heading1” column Bot has to remove “=” and fetch only the chars and no sign and for both a1 and a2 it has to calculate the average values of the values present in Column “Heading2”
Hi Saranya,
in my scenario,header1 contains multiple a1,a2,a3,…ath…the logic that u have provided is just for a1 and a2 to add in the collection…Please suggest how we will calculate if we have multiple time a1,a2,a3 and their corresponding values in header2