Yes - it will be fine. Personally I avoid the very cheap ones as the protection factor is often very different from what it says on the bottle. But other than that any factor 50 - not necessarily baby formula - is fine. Anything with "horse" in the title will often be significantly more expensive than it needs to be! Actually so are many things which say "baby". Stick to a reasonable known brand if you have something really prone to burn. (WHICH tests are a good indicator). Otherwise - the cheaper the better!
I use something called Filtabac cream( can buy from Amaz*n) and it is brilliant stuff, can use for minor cuts as well , it is antibacterial sunblock cream, you only need a bit and it does not wash off with rain