Convert formula output to country flag

virtuosok

Board Regular
Joined
Sep 2, 2020
Messages
209
Office Version
  1. 365
Platform
  1. Windows
Hi,
For this one, I'm working online in Teams (as the function is not available in my Excel 2016). Desired result is in the clip below for Spain
Capture.PNG

First column is the result of the INDEX/MATCH type of formula and that's the crux of the story.
Second column is essentially a helper column as I tried different methods to convert the output from column A into the format accepted by Data=>Convert to Geography functionality in Teams. So far, I haven't found a way to do that (formatting, =A2, =TEXT(A2), =TEXTJOIN...), so the entry in B2 is currently hardcoded just to show what I need.
Third column is the final desired output; as long as I have second column sorted I will arrange for that...
Any hint is appreciated on 2nd column.
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Try converting the data that the index/match formula is looking at.
 
Upvote 0
This one apparently has no solution... I've found the following:
Warning: You can’t convert cells containing formula to data types.
 
Upvote 0
I did (by changing the format of the source cells to Text), so that INDEX/MATCH would take the info from there... no change.
Or have I misunderstood the idea?
 
Upvote 0
You need to change the source to Data types.
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,213,554
Messages
6,114,280
Members
448,562
Latest member
Flashbond

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top