Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35
Default Copy data from one sheet to another

I have two sheet(s), the first is called Names and the second is called
Master

in the Names sheet, I have the following:

A B C D
1 Name Work# Code
2 Doe, Jane 17 2
3 Doe, John 56 4
4 Edwards, Jeff 40
5 Franklin, Bob 27 2
6 Garcia, Sam 5 5
7 Henry, Joseph 0 5
8 Ignacio, Juan 48
9 Jackson, Frank 12

This list is an ALL inclusive list that can vary from 100 - 200 names at any
given time
and we would maintain list. this is created from our Host systems.

What I want to do is the following:

from the Name sheet, I only want to copy those names that has a Code number
next it. So,
in essence, create the Master sheet so that the Master sheet should look
like the following:

A B C D
1 Name Work# Code
2 Doe, Jane 17 2
3 Doe, John 56 4
4 Franklin, Bob 27 2
5 Garcia, Sam 5 5
6 Henry, Joseph 0 5
7
8

What I have been doing is sorting the data by column C (Code) and then
copying it over to the
Master sheet every other day. I just wanted to see I could automate it a
little bit.

Any and all help is greatly appreciated.

Argus


  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Copy data from one sheet to another

Here's one formulas way to have it dynamic

Assume source data in sheet: Names, cols A to C, from row2 down
where the key col = col C (Code)

In Master,

Put in A2:
=IF(Names!C2="","",ROW())
Leave A1 blank

Put in B2:
=IF(ROW(A1)COUNT($A:$A),"",INDEX(Names!A:A,SMALL( $A:$A,ROW(A1))))
Copy B2 to D2. Select A2:D2, copy down to cover the max expected extent of
data in Names. Hide away col A. Cols B to D will return the required results
all neatly bunched at the top. When you update the codes in Names, you'd get
the lines dynamically updated in Master.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"OdAwG" wrote:
I have two sheet(s), the first is called Names and the second is called
Master

in the Names sheet, I have the following:

A B C D
1 Name Work# Code
2 Doe, Jane 17 2
3 Doe, John 56 4
4 Edwards, Jeff 40
5 Franklin, Bob 27 2
6 Garcia, Sam 5 5
7 Henry, Joseph 0 5
8 Ignacio, Juan 48
9 Jackson, Frank 12

This list is an ALL inclusive list that can vary from 100 - 200 names at any
given time
and we would maintain list. this is created from our Host systems.

What I want to do is the following:

from the Name sheet, I only want to copy those names that has a Code number
next it. So,
in essence, create the Master sheet so that the Master sheet should look
like the following:

A B C D
1 Name Work# Code
2 Doe, Jane 17 2
3 Doe, John 56 4
4 Franklin, Bob 27 2
5 Garcia, Sam 5 5
6 Henry, Joseph 0 5
7
8

What I have been doing is sorting the data by column C (Code) and then
copying it over to the
Master sheet every other day. I just wanted to see I could automate it a
little bit.

Any and all help is greatly appreciated.

Argus



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35
Default Copy data from one sheet to another

Hey Mr. Max

Thanks for the help, it work great. Now, I just have to read up on the code
you provided so I can better understand it and see exactly how it works.

Thanks again.

Argus

"Max" wrote in message
...
Here's one formulas way to have it dynamic

Assume source data in sheet: Names, cols A to C, from row2 down
where the key col = col C (Code)

In Master,

Put in A2:
=IF(Names!C2="","",ROW())
Leave A1 blank

Put in B2:
=IF(ROW(A1)COUNT($A:$A),"",INDEX(Names!A:A,SMALL( $A:$A,ROW(A1))))
Copy B2 to D2. Select A2:D2, copy down to cover the max expected extent of
data in Names. Hide away col A. Cols B to D will return the required
results
all neatly bunched at the top. When you update the codes in Names, you'd
get
the lines dynamically updated in Master.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"OdAwG" wrote:
I have two sheet(s), the first is called Names and the second is called
Master

in the Names sheet, I have the following:

A B C D
1 Name Work# Code
2 Doe, Jane 17 2
3 Doe, John 56 4
4 Edwards, Jeff 40
5 Franklin, Bob 27 2
6 Garcia, Sam 5 5
7 Henry, Joseph 0 5
8 Ignacio, Juan 48
9 Jackson, Frank 12

This list is an ALL inclusive list that can vary from 100 - 200 names at
any
given time
and we would maintain list. this is created from our Host systems.

What I want to do is the following:

from the Name sheet, I only want to copy those names that has a Code
number
next it. So,
in essence, create the Master sheet so that the Master sheet should look
like the following:

A B C D
1 Name Work# Code
2 Doe, Jane 17 2
3 Doe, John 56 4
4 Franklin, Bob 27 2
5 Garcia, Sam 5 5
6 Henry, Joseph 0 5
7
8

What I have been doing is sorting the data by column C (Code) and then
copying it over to the
Master sheet every other day. I just wanted to see I could automate it a
little bit.

Any and all help is greatly appreciated.

Argus





  #4   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Copy data from one sheet to another

You're welcome, Argus. Good to hear that.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"OdAwG" wrote in message
...
Hey Mr. Max

Thanks for the help, it work great. Now, I just have to read up on the
code you provided so I can better understand it and see exactly how it
works.

Thanks again.

Argus



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can i copy data from a tabbed working sheet to a summary sheet StephenF Excel Discussion (Misc queries) 1 March 15th 07 03:40 PM
how to copy a cell with formula from sheet 1 (data is all vertical) into sheet 2 parag Excel Worksheet Functions 3 June 15th 06 10:29 PM
copy some data to next sheet Douglas groom New Users to Excel 2 January 31st 06 05:45 PM
Copy sheet 1 data to sheet 2 cells. Tom Doggett Excel Worksheet Functions 1 July 19th 05 11:49 PM
Copy data in other sheet Moynul Hoque Excel Worksheet Functions 0 June 23rd 05 05:17 PM


All times are GMT +1. The time now is 10:07 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"