Pictures are absolutely worthless. We cannot see the functionality of any formulas. We cannot manipulate data in a picture. Suggest you upload a sample file and a mocked up solution of what you are looking to achieve. We will need more information than what you have provided to understand your needs.