shared cell to unnamed group

can u assist , how to convert shared cells into unnamed group with losing filled data. and unfilled tags dont want to retained.
kindly suggest in key in command or macro