Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How can i copy data from a tabbed working sheet to a summary sheet | Excel Discussion (Misc queries) | |||
how to copy a cell with formula from sheet 1 (data is all vertical) into sheet 2 | Excel Worksheet Functions | |||
copy some data to next sheet | New Users to Excel | |||
Copy sheet 1 data to sheet 2 cells. | Excel Worksheet Functions | |||
Copy data in other sheet | Excel Worksheet Functions |