Automatically highlighting a data range formatted in a specific way

Andy0311

Board Regular
Joined
Oct 16, 2019
Messages
118
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hello,

Shown is an oversimplified data range from a report which shows a teacher and the number of units he graded over a two week period. Is there a way I could quickly select all of the data in the range so it could be copied and pasted for emailing. Presently I am dragging the cursor over each teacher's data to select it ( e.g. from A7 to F15 to capture teacher Phillip George's data), but there are 30 other teachers' data to individually highlight, and some teachers have data in columns B, C, D, E, and F that go down hundreds of lines, making the dragging method needlessly time-consuming. Thank you for any help you might offer.

1698780121895.png
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
It depends on how your data is structured. If each teacher's data is separated from the other teachers data by at least one row then simply placing the cursor in the data range and using 'CTRL-A' to select the cells for copy might work.

Book4
ABCDEFG
7George, Phillip
8misbearkeddahspegboxeswhirredliesh
9boltagechoraleonforestdominobelie
10languisheyelashesutraquistrigueurbayonet
11sinopitecoanimatereginaldeplantunheavy
12wittawerdoiliesdryabletourneystottyhead
13decoymancapacifyboswelljaukurucury
14downhaulglimpsedmalikzadiwomanliershirallee
15implementcavecavelewissongraffiti
16George, Phillip n units
17
18Pitt, Brad
19mothyimplementkaibarthadistomesdammish
20electinggeniusesguahivosaltboxinflater
21grassiestyohimbinepersonateacrodontpirner
22misrulerfeteswhickoverwhipramillied
23personateharatchmungcorncachedantrocele
24masonriesbaumepentinethegndomtelurgy
25epicarpalventedsculkretaughtgranules
26seekerclipsemacrouridalansvisceral
27selagolamiidmetamalebintangorequisetic
28horsiestdellenitelongwisebowllikehazelwort
29underwitfelinityemanatingaffydavyyields
30Pitt, Brad n units
Sheet1
 
Upvote 0
It depends on how your data is structured. If each teacher's data is separated from the other teachers data by at least one row then simply placing the cursor in the data range and using 'CTRL-A' to select the cells for copy might work.

Book4
ABCDEFG
7George, Phillip
8misbearkeddahspegboxeswhirredliesh
9boltagechoraleonforestdominobelie
10languisheyelashesutraquistrigueurbayonet
11sinopitecoanimatereginaldeplantunheavy
12wittawerdoiliesdryabletourneystottyhead
13decoymancapacifyboswelljaukurucury
14downhaulglimpsedmalikzadiwomanliershirallee
15implementcavecavelewissongraffiti
16George, Phillip n units
17
18Pitt, Brad
19mothyimplementkaibarthadistomesdammish
20electinggeniusesguahivosaltboxinflater
21grassiestyohimbinepersonateacrodontpirner
22misrulerfeteswhickoverwhipramillied
23personateharatchmungcorncachedantrocele
24masonriesbaumepentinethegndomtelurgy
25epicarpalventedsculkretaughtgranules
26seekerclipsemacrouridalansvisceral
27selagolamiidmetamalebintangorequisetic
28horsiestdellenitelongwisebowllikehazelwort
29underwitfelinityemanatingaffydavyyields
30Pitt, Brad n units
Sheet1
Each teacher's data does contain a blank, but Ctl A does not work. It highlights the entire report. What I think might be going on is that the blank row between each range of data looks like it's blank, but in fact isn't. Is there any way of easily removing the data from any blank looking rows without having to select the row and press Del ? When I did that, Ctl A works and only selects one teacher's data. Thanks.
 
Upvote 0
Each teacher's data does contain a blank, but Ctl A does not work. It highlights the entire report. What I think might be going on is that the blank row between each range of data looks like it's blank, but in fact isn't. Is there any way of easily removing the data from any blank looking rows without having to select the row and press Del ? When I did that, Ctl A works and only selects one teacher's data. Thanks.
I found a way. Use the Find and Replace. In the find field, leave blank and in the replace field enter some nonsense data that is not in your worksheet. Replace all. Then repeat the process. In Find field, enter qqq, and in the replace field, leave it blank. Replace all will remove all data in seemingly blank rows that are not. Then proceed to use Ctl A for each teacher's data to easily select just that data. Thanks again!
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,178
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top