choosing range on which one wants to analyse data