jeffreyweir
Active Member
Challenge name:
Return everything in string after first block of numbers
Challenge Description:
Challenge Data
https://www.dropbox.com/s/kvl48vto4hzurm3/Return%20everything%20in%20string%20after%20first%20block%20of%20numbers%2020130625.xlsb
Space-delimited data below:
A: B:
Monaco7190Australia1484 Australia1484
Liechtenstein4352Austria8590 Austria8590
Malta1306Belarus7578 Belarus7578
Iceland8130Belgium244 Belgium244
Luxembourg2796Bulgaria2691 Bulgaria2691
Slovenia8287Canada2019 Canada2019
Latvia1303Croatia5528 Croatia5528
Croatia9766CzechRepublic210 CzechRepublic2108
Estonia19Denmark6285 Denmark6285
Lithuania7737Estonia6840 Estonia6840
Norway734EuropeanUnion3206 EuropeanUnion3206
Switzerland7183Finland6004 Finland6004
Ireland5103France8873 France8873
NewZealand3014Germany9846 Germany9846
Portugal1621Greece2441 Greece2441
Denmark4206Hungary5624 Hungary5624
Finland1541Iceland8954 Iceland8954
Slovakia8715Ireland7149 Ireland7149
Sweden9235Italy2395 Italy2395
Austria1067Japan1407 Japan1407
Greece7601Latvia4011 Latvia4011
Hungary6089Liechtenstein4034 Liechtenstein4034
Bulgaria2367Lithuania7857 Lithuania7857
Belarus6113Luxembourg1444 Luxembourg1444
Belgium4754Malta2496 Malta2496
Turkey3846Monaco7385 Monaco7385
CzechRepublic4916Netherlands9261 Netherlands9261
Netherlands2684NewZealand6907 NewZealand6907
Spain5464Norway2554 Norway2554
Romania3475Poland8874 Poland8874
Australia2471Portugal661 Portugal661
Italy5510Romania7422 Romania7422
France399RussianFederation5895 RussianFederation5895
Poland5176Slovakia1841 Slovakia1841
Canada5428Slovenia9651 Slovenia9651
UnitedKingdomofGreatBritainandNorthernIreland3415Spain3559 Spain3559
Ukraine4083Sweden9443 Sweden9443
Germany1287Switzerland8602 Switzerland8602
Japan9813Turkey5622 Turkey5622
RussianFederation7115Ukraine9180 Ukraine9180
EuropeanUnion6864UnitedKingdomofGreatBritainandNorthernIreland3518 UnitedKingdomofGreatBritainandNorthernIreland3518
Return everything in string after first block of numbers
Challenge Description:
- * This is a formula challenge, designed to get you thinking creatively about how to solve a tricky problem using formulas only.
* Split the strings in Column A with a formula that only returns the substring that you see in column B. So for instance, if the string is Monaco7190Australia1484 then we want everything to the right of that first block of numbers i.e. Australia1484.
* Your formula should handle any length of string, and any length of numbers - not just the lengths shown below
* You should not use any helper cells, intermediate formulas, named ranges, or VBA
* The shortest formula I've found to do this is 139 characters, including the = sign.
* To find the length of your formula, put an apostrophe in front of the = sign, and then point a LEN function at it.(Note that the LEN function doesn't count the apostrophe)
Challenge Data
https://www.dropbox.com/s/kvl48vto4hzurm3/Return%20everything%20in%20string%20after%20first%20block%20of%20numbers%2020130625.xlsb
Space-delimited data below:
A: B:
Monaco7190Australia1484 Australia1484
Liechtenstein4352Austria8590 Austria8590
Malta1306Belarus7578 Belarus7578
Iceland8130Belgium244 Belgium244
Luxembourg2796Bulgaria2691 Bulgaria2691
Slovenia8287Canada2019 Canada2019
Latvia1303Croatia5528 Croatia5528
Croatia9766CzechRepublic210 CzechRepublic2108
Estonia19Denmark6285 Denmark6285
Lithuania7737Estonia6840 Estonia6840
Norway734EuropeanUnion3206 EuropeanUnion3206
Switzerland7183Finland6004 Finland6004
Ireland5103France8873 France8873
NewZealand3014Germany9846 Germany9846
Portugal1621Greece2441 Greece2441
Denmark4206Hungary5624 Hungary5624
Finland1541Iceland8954 Iceland8954
Slovakia8715Ireland7149 Ireland7149
Sweden9235Italy2395 Italy2395
Austria1067Japan1407 Japan1407
Greece7601Latvia4011 Latvia4011
Hungary6089Liechtenstein4034 Liechtenstein4034
Bulgaria2367Lithuania7857 Lithuania7857
Belarus6113Luxembourg1444 Luxembourg1444
Belgium4754Malta2496 Malta2496
Turkey3846Monaco7385 Monaco7385
CzechRepublic4916Netherlands9261 Netherlands9261
Netherlands2684NewZealand6907 NewZealand6907
Spain5464Norway2554 Norway2554
Romania3475Poland8874 Poland8874
Australia2471Portugal661 Portugal661
Italy5510Romania7422 Romania7422
France399RussianFederation5895 RussianFederation5895
Poland5176Slovakia1841 Slovakia1841
Canada5428Slovenia9651 Slovenia9651
UnitedKingdomofGreatBritainandNorthernIreland3415Spain3559 Spain3559
Ukraine4083Sweden9443 Sweden9443
Germany1287Switzerland8602 Switzerland8602
Japan9813Turkey5622 Turkey5622
RussianFederation7115Ukraine9180 Ukraine9180
EuropeanUnion6864UnitedKingdomofGreatBritainandNorthernIreland3518 UnitedKingdomofGreatBritainandNorthernIreland3518