Since you're returning "" if there is no match, you could use:
=if(isnumber(search(".us",c3)),"USA","")
&if(isnumber(search(".ae",c3)),"UAE","")
&if(isnumber(search(".jp",c3)),"Japan","")
Or if those are always the last characters in email address:
You could build a table (in another sheet):
A B
jp Japan
US USA
ae UAE
Then this formula will return the characters after the last dot:
=MID(A1,FIND(CHAR(1),SUBSTITUTE(A1,".",CHAR(1),
LEN(A1)-LEN(SUBSTITUTE(A1,".",""))))+1,99)
(999 is just a number big enough to cover the worst case possibility)
So you could use an extra column (say B) that contains those last few characters
and use a formula like:
=vlookup(b1,sheet2!a:b,2,false)
or
=if(isna(vlookup(b1,sheet2!a:b,2,false)),"Not on list",
vlookup(b1,sheet2!a:b,2,false))
You could actually embed the first formula into the second, but it gets pretty
long.
=IF(ISNA(VLOOKUP(MID(A1,FIND(CHAR(1),SUBSTITUTE(A1,".",CHAR(1),
LEN(A1)-LEN(SUBSTITUTE(A1,".",""))))+1,99),Sheet2!A:B,2,FALSE)),
"Not on list",
VLOOKUP(MID(A1,FIND(CHAR(1),SUBSTITUTE(A1,".",CHAR(1),
LEN(A1)-LEN(SUBSTITUTE(A1,".",""))))+1,99),Sheet2!A:B,2,FALSE))
========
If I were doing it, I'd use the table on the other sheet, extra column and
shorter formulas. I could hide that intermediate column if it was distracting.
But updating the table would be easier than adding more stuff to the long
concatenating formula (which is limited to 1024 characters when measured in R1C1
reference style).