Hi and welcome
your question is too vague/general to get a meaningful response.
Please post a sample sheet with some mock up data and expected results;
Thanks