WELCOME TO THE BOARD!
Could you please provide a little more detail? What do you mean "like the subtotal function"? Do you mean to insert a blank row with each change in a field? Do you want to automate the process, i.e. use VBA? You could insert blank rows manually, via (Insert | Rows), but I'm guessing there's more to it than that.