You can use the Sort command in the Data/ menu in Excel to separate beamoff=0 and beamoff=1 events. For example, sort the beamoff column in ascending order. Move the beamoff=1 events to a separate Worksheet (to add additional worksheets to your spreadsheet, click Worksheet in the Insert/ menu).