VB Code To Move Entire Row Based On Cell Contents

mantmit

New Member
Joined
Apr 22, 2014
Messages
1
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.


ABCDEFGHIJKLMNO
############Alarm 1##Active#####
############Alarm 1##Inactive#####
############Alarm 3##Pending#####
############Alarm 2##Inactive#####

<tbody>
</tbody>

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:

Naich5

New Member
Joined
May 11, 2014
Messages
1
Dear Friends
I am new on mrexcel..

My problem is same as above, as I want EXCEL to copy entire row to a new sheet having same headings like say sheet1.
I've synopsis data containing names of 500 students of different disciplines say, education, economics, computer science, psychology etc. upto 10 sheets... My sheets contains a column of above mentioned disciplines.
I actually want that when I put name of a students and his/her discipline, excel should copy entire row to their respective discipline's sheet.


Regards

An earliest help will be highly appreciated.
Thanks in advance
 

Forum statistics

Threads
1,082,333
Messages
5,364,675
Members
400,810
Latest member
elbashka

Some videos you may like

This Week's Hot Topics

  • populate from drop list with multiple tables
    Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
  • Find list of words from sheet2 in sheet1 before a comma and extract text vba
    Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
  • Dynamic Formula entry - VBA code sought
    Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...
  • Listbox Header
    Have a named range called "AccidentsHeader" Within my code I have: [CODE]Private Sub CommandButton1_Click() ListBox1.RowSource =...
  • Complex Heat Map using conditional formatting
    Good day excel world. I have a concern. Below link have a list of countries that carries each country unique data. [URL...
  • Conditional formatting
    Hi good morning, hope you can help me please, I have cells P4:P54 and if this cell is equal to 1 then i want row O to say "Fully Utilised" and to...
Top