Aerowil2016
New Member
- Joined
- Feb 12, 2024
- Messages
- 5
- Office Version
- 365
- Platform
- Windows
Good day.
I am now programming in vda in excel and I need to get a code for specific task.
The idea is in a set of data thta some times might have 2 rows to 1000 i need to find the most common value based on a column that I need to create in a specific sheet in this way columns A, B, C, D has values in column A will have two possible values (Sender or Receiver) in column E macro needs to paste values from rows in columns C and D depending value in Column A (for Sender copy value in column C and for receiver copy value from column D). Once in column E all values are in raws need to find most common value and if the value in raw E1 is the most common in cell F1 need to add text "main" if the value is not the most common add value "other" them same for all raws in column F
I am now programming in vda in excel and I need to get a code for specific task.
The idea is in a set of data thta some times might have 2 rows to 1000 i need to find the most common value based on a column that I need to create in a specific sheet in this way columns A, B, C, D has values in column A will have two possible values (Sender or Receiver) in column E macro needs to paste values from rows in columns C and D depending value in Column A (for Sender copy value in column C and for receiver copy value from column D). Once in column E all values are in raws need to find most common value and if the value in raw E1 is the most common in cell F1 need to add text "main" if the value is not the most common add value "other" them same for all raws in column F