Hi
This is filtered data with company names on the rows that proceed preceed the record ID, so Record ID 1 has Co 1, Record ID has Co 2, and both reside in Argentina, Co 3 through to Co 14, has Record ID 4 through to 14...etc etc
How can I populate the country name against all of these company names based on the record ID, so Record ID 1-2 would have Argentina in a new Country column, Record ID 4 to 14 would have Australia in the Country column etc. Struggling to get it right but it'll help automate something quite complex if I can figure this little bit out!! Thanks in advance
| RecordID | Tax Jurisdiction |
| 3 | ARGENTINA |
| 15 | AUSTRALIA |
| 21 | AUSTRIA |
| 27 | BRAZIL |
| 31 | BULGARIA |
| 34 | CANADA |
| 40 | CHILE |
| 46 | CHINA |
| 50 | COLOMBIA |
| 53 | COSTA RICA |
| 55 | DENMARK |
| 61 | FRANCE |
| 72 | GERMANY |
| 76 | HONG KONG |
| 82 | INDIA |
| 84 | INDONESIA |
| 86 | PHILIPPINES |
| 93 | IRELAND |
| 96 | ITALY |
| 98 | JAPAN |
| 100 | KOREA |
| 102 | MAYANMAR |
| 108 | MALAYSIA |
| 110 | MEXICO |
| 118 | MONACO |
| 128 | NETHERLANDS |
| 130 | NEW ZEALAND |
| 135 | NORWAY |
| 139 | PERU |
| 141 | POLAND |
| 148 | SINGAPORE |
| 150 | NAMIBIA |
| 152 | LESOTHO |
| 155 | UGANDA |
| 157 | BOTSWANA |
| 159 | MOZAMBIQUE |
| 174 | SOUTH AFRICA |
| 176 | SWITZERLAND |
| 186 | SPAIN |
| 188 | THAILAND |
| 191 | TURKEY |
| 195 | RUSSIA |
| 285 | UNITED KINGDOM |
| 329 | UNITED STATES |
| 330 | REPORT TOTALS |