I Have multiple excel files with chances to have a duplicate column in header name
I want to find if the excel file has a duplicate column name and then rename it with a running number, example in the column name I have column name, address, address I want to rename it to name, adrress1, address2 before I read range the excel file with option AddHeaders tick.
Because the excel file that I working is random, how I can find the duplicate value if I don’t know which column has a duplicate value?
for example, the address column could be the first column or it can be the second column