Home

How do I group rows in an excel table?

%3CLINGO-SUB%20id%3D%22lingo-sub-210875%22%20slang%3D%22en-US%22%3EHow%20do%20I%20group%20rows%20in%20an%20excel%20table%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-210875%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20creating%20an%20excel%20table%20to%20keep%20a%20tab%20of%20patients'%20payments%20made%20on%20their%20visits.%20The%20problem%20I%20am%20having%20is%20that%20some%20patients%20have%20multiple%20visits%20so%20they%20have%20multiple%20rows%20in%20the%20table%2C%20but%20I%20don't%20have%20their%20name%20listed%20repeatedly.%20So%20for%20example%2C%20their%20name%20is%20listed%20in%20A1%2C%20and%20their%20visits%20are%20listed%20in%20D1%20and%20D2%2C%20but%20their%20name%20is%20not%20listed%20again%20in%20A2.%20When%20I%20try%20and%20sort%20or%20filter%20the%20table%2C%20only%20the%20visit%20listed%20in%20D1%20gets%20sorted%20with%20the%20patient%20name.%20How%20do%20I%20get%20these%20grouped%20together%20to%20where%20if%20I%20sort%20alphabetically%2C%20the%20multiple%20visits%20(rows)%20get%20sorted%20too%3F%20I%20have%20included%20a%20picture%20of%20the%20problem.%20Thank%20you!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-210875%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Egroup%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Emultiple%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Erow%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Eseparate%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Esort%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Etable%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-211025%22%20slang%3D%22en-US%22%3ERe%3A%20How%20do%20I%20group%20rows%20in%20an%20excel%20table%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-211025%22%20slang%3D%22en-US%22%3EH%20Marisa%3CBR%20%2F%3E%3CBR%20%2F%3EUnless%20you%20enter%20the%20names%20in%20column%20A%20against%20the%20visits%20in%20column%20D%20there%20will%20be%20no%20way%20of%20knowing%20who%20the%20visits%20are%20for.%20So%20you%20do%20need%20to%20copy%20the%20name%20down%20in%20column%20A%20against%20each%20appointment%20before%20sorting.%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Visitor

I'm creating an excel table to keep a tab of patients' payments made on their visits. The problem I am having is that some patients have multiple visits so they have multiple rows in the table, but I don't have their name listed repeatedly. So for example, their name is listed in A1, and their visits are listed in D1 and D2, but their name is not listed again in A2. When I try and sort or filter the table, only the visit listed in D1 gets sorted with the patient name. How do I get these grouped together to where if I sort alphabetically, the multiple visits (rows) get sorted too? I have included a picture of the problem. Thank you!

 

1 Reply
Highlighted
H Marisa

Unless you enter the names in column A against the visits in column D there will be no way of knowing who the visits are for. So you do need to copy the name down in column A against each appointment before sorting.
Related Conversations