Is store brand formula just as good as name brands?

Yes. There is no difference in how effective they are. Always go for the cheaper, generic drug when you have a choice in over the counter medicines.
Generic drug. Yes the store brand is as good as a brand name drug. If you look at the boxes side by side you will see that the main chemical ingredient is the same.