a complex solution to help mindless work

bmarquez74

New Member
Joined
Sep 27, 2013
Messages
3
on a daily basis I have lots of data that needs to be separated into various tabs. Example data below:

1a3fFEF
2a4fDFG
3a5fRET
4a3fFGH
5a7fERT
6a3fDFG
7a4fERT
8a3fDFG
9a6fDFG
10a3fERTY

<tbody>
</tbody>

Based on the contents of the 3rd column, I need the whole line moved to a new spreadsheet within the workbook. For instance, if column 3 data is '4', I need both of those lines moved to another spreadsheet.

2a4fDFG
7a4fERT

<tbody>
</tbody>

Is this possible? Ideally, I would like to have a macro that I can run to move all the data.
 

Rick Rothstein

MrExcel MVP
Joined
Apr 18, 2011
Messages
35,504
Office Version
2010
Platform
Windows
on a daily basis I have lots of data that needs to be separated into various tabs. Example data below:

1
a
3
f
FEF
2
a
4
f
DFG
3
a
5
f
RET
4
a
3
f
FGH
5
a
7
f
ERT
6
a
3
f
DFG
7
a
4
f
ERT
8
a
3
f
DFG
9
a
6
f
DFG
10
a
3
f
ERTY

<TBODY>
</TBODY>

Based on the contents of the 3rd column, I need the whole line moved to a new spreadsheet within the workbook. For instance, if column 3 data is '4', I need both of those lines moved to another spreadsheet.

2
a
4
f
DFG
7
a
4
f
ERT

<TBODY>
</TBODY>

Is this possible? Ideally, I would like to have a macro that I can run to move all the data.
Sure it is possible, but you are going to have to tell us what sheets the various numbers in Column "C" move to.
 

Rick Rothstein

MrExcel MVP
Joined
Apr 18, 2011
Messages
35,504
Office Version
2010
Platform
Windows
Thanks Rick, Let's just assume generic names such as sheet1, sheet2, and sheet3.
I have been doing this volunteer stuff for quite some time now and I can assure you that doing what you suggest is usually a bad idea as it means more work for me later when you can't match the code and its loop iterations to your actual sheet names. I rather avoid that if you don't mind. I have trouble believing you do not already have the number-sheet name mappings, so I'll ask again... please tell them to us. Also, what sheet (name) is your main data on? Also, does your data really start on Row 1 as your example shows (that is, there is no header row)?
 

bmarquez74

New Member
Joined
Sep 27, 2013
Messages
3
The sheet that the main data is on is different all the time..I suppose we can change it prior to running the code. The the three sheets are labeled as [AT&T Feats] [AT&T Acts] [AT&T Ups]

There is a header row, so the data starts on Row 2. The data that will be checked is actually in Column H. Obviously, I'm not trying to make more work for you, but I do appreciate your assistance.
 

Forum statistics

Threads
1,081,849
Messages
5,361,673
Members
400,644
Latest member
ndroger1

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