LMAO took 5 min to write code that excel aready has a built-in function for. HAHAHAHAHA

The Built in idear is ALOT better