I pull weekly alarm reports. Each alarm has a different "Process States". The states include: active, inactive, completed and pending. I only need to see the "Active" alarms.
The Process State is in column J.
The raw report looks like this. The report is anywhere from 40,0000 to 60,0000 entries long in any given week.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD]H[/TD]
[TD]I[/TD]
[TD]J[/TD]
[TD]K[/TD]
[TD]L[/TD]
[TD]M[/TD]
[TD]N[/TD]
[TD]O
[/TD]
[/TR]
[TR]
[TD]##[/TD]
[TD]##[/TD]
[TD]##[/TD]
[TD]##[/TD]
[TD]##[/TD]
[TD]##[/TD]
[TD]Alarm 1[/TD]
[TD]##[/TD]
[TD][/TD]
[TD]Active[/TD]
[TD]#[/TD]
[TD]#[/TD]
[TD]#[/TD]
[TD]#[/TD]
[TD]#[/TD]
[/TR]
[TR]
[TD]##[/TD]
[TD]##[/TD]
[TD]##[/TD]
[TD]##[/TD]
[TD]##[/TD]
[TD]##[/TD]
[TD]Alarm 1[/TD]
[TD]##[/TD]
[TD][/TD]
[TD]Inactive[/TD]
[TD]#[/TD]
[TD]#[/TD]
[TD]#[/TD]
[TD]#[/TD]
[TD]#[/TD]
[/TR]
[TR]
[TD]##[/TD]
[TD]##[/TD]
[TD]##[/TD]
[TD]##[/TD]
[TD]##[/TD]
[TD]##[/TD]
[TD]Alarm 3[/TD]
[TD]##[/TD]
[TD][/TD]
[TD]Pending[/TD]
[TD]#[/TD]
[TD]#[/TD]
[TD]#[/TD]
[TD]#[/TD]
[TD]#[/TD]
[/TR]
[TR]
[TD]##[/TD]
[TD]##[/TD]
[TD]##[/TD]
[TD]##[/TD]
[TD]##[/TD]
[TD]##[/TD]
[TD]Alarm 2[/TD]
[TD]##[/TD]
[TD][/TD]
[TD]Inactive[/TD]
[TD]#[/TD]
[TD]#[/TD]
[TD]#[/TD]
[TD]#[/TD]
[TD]#[/TD]
[/TR]
</tbody>[/TABLE]
In a best case scenario, I would have Sheet 1 be the raw report and then have Sheet 2 be only "Active" alarms.
I am aware I can sort the data and just copy it over but I want to explore the best/fastest possible way to do this each week.
I am messing around with the Formula: =IF(alarmhis!$J1="Active", alarmhis!A1,""). The issue with this is I have to copy it to every cell on the sheet to cover the 40,000 or so entries.
I thank anybody who can help or has any ideas about this at all.
The Process State is in column J.
The raw report looks like this. The report is anywhere from 40,0000 to 60,0000 entries long in any given week.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD]H[/TD]
[TD]I[/TD]
[TD]J[/TD]
[TD]K[/TD]
[TD]L[/TD]
[TD]M[/TD]
[TD]N[/TD]
[TD]O
[/TD]
[/TR]
[TR]
[TD]##[/TD]
[TD]##[/TD]
[TD]##[/TD]
[TD]##[/TD]
[TD]##[/TD]
[TD]##[/TD]
[TD]Alarm 1[/TD]
[TD]##[/TD]
[TD][/TD]
[TD]Active[/TD]
[TD]#[/TD]
[TD]#[/TD]
[TD]#[/TD]
[TD]#[/TD]
[TD]#[/TD]
[/TR]
[TR]
[TD]##[/TD]
[TD]##[/TD]
[TD]##[/TD]
[TD]##[/TD]
[TD]##[/TD]
[TD]##[/TD]
[TD]Alarm 1[/TD]
[TD]##[/TD]
[TD][/TD]
[TD]Inactive[/TD]
[TD]#[/TD]
[TD]#[/TD]
[TD]#[/TD]
[TD]#[/TD]
[TD]#[/TD]
[/TR]
[TR]
[TD]##[/TD]
[TD]##[/TD]
[TD]##[/TD]
[TD]##[/TD]
[TD]##[/TD]
[TD]##[/TD]
[TD]Alarm 3[/TD]
[TD]##[/TD]
[TD][/TD]
[TD]Pending[/TD]
[TD]#[/TD]
[TD]#[/TD]
[TD]#[/TD]
[TD]#[/TD]
[TD]#[/TD]
[/TR]
[TR]
[TD]##[/TD]
[TD]##[/TD]
[TD]##[/TD]
[TD]##[/TD]
[TD]##[/TD]
[TD]##[/TD]
[TD]Alarm 2[/TD]
[TD]##[/TD]
[TD][/TD]
[TD]Inactive[/TD]
[TD]#[/TD]
[TD]#[/TD]
[TD]#[/TD]
[TD]#[/TD]
[TD]#[/TD]
[/TR]
</tbody>[/TABLE]
In a best case scenario, I would have Sheet 1 be the raw report and then have Sheet 2 be only "Active" alarms.
I am aware I can sort the data and just copy it over but I want to explore the best/fastest possible way to do this each week.
I am messing around with the Formula: =IF(alarmhis!$J1="Active", alarmhis!A1,""). The issue with this is I have to copy it to every cell on the sheet to cover the 40,000 or so entries.
I thank anybody who can help or has any ideas about this at all.
Last edited: