Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Copy from worksheet 1 to worksheet 2, 3 , 4 etc..

Okay. I learned a thing or two but still not working for me.

Sheet 1 looks like this


Monday Tuesday Wednesday Etc...

John Smith off 4am 4am
Katie Jones 4am 4am 4am
Dawn Moran 4am 4am off

etc....


I would like sheet 2 (renamed "Monday") to list the names with "4am" under
the column Monday. And not list the names with "off" under the Monday column.


So "Monday" sheet should look someting like

Schedule

Katie Jones
Dawn Moran
etc...

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Copy from worksheet 1 to worksheet 2, 3 , 4 etc..

This easy formulas model might appeal to you

Your source table as posted is in Sheet1,
with text in B1 across: Monday, Tuesday
and corresponding data in row2 down

In another sheet
Let's say B1 will house the day of interest, eg: Monday (text label)
Put in A2:
=IF(OR(OFFSET(Sheet1!A:A,,MATCH(B$1,Sheet1!$1:$1,0 )-1)={0,"off"}),"",ROW())
This is the criteria col which reads the input in B1, and flags rows which
are neither blank nor contains "off"

Put in B2:
=IF(ROWS($1:1)COUNT($A:$A),"",INDEX(Sheet1!A:A,SM ALL($A:$A,ROWS($1:1))))
Copy A2:B2 down to cover the max expected extent of source data in Sheet1,
eg down to B100? Minimize/hide col A. Col B will auto-return the required
names dependent on the day input in B1, with all names neatly packed at the
top. Test it by changing the day in B1 to: Tuesday, it'll return the names
for Tuesday. And so forth. With this flexibility you can have it all easily
extracted in just one sheet. Success? celebrate it, hit the YES below
--
Max
Singapore
---
"qteekat" wrote:
Sheet 1 looks like this

Monday Tuesday Wednesday Etc...

John Smith off 4am 4am
Katie Jones 4am 4am 4am
Dawn Moran 4am 4am off

etc....


I would like sheet 2 (renamed "Monday") to list the names with "4am" under
the column Monday. And not list the names with "off" under the Monday column.


So "Monday" sheet should look someting like

Schedule

Katie Jones
Dawn Moran
etc...

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Copy from worksheet 1 to worksheet 2, 3 , 4 etc..

Hi Max,

I've tried to use the formula you gave me on a new workbook and it's not
working. It's not listing any names at all. What am I doing wrong?

Clueless,
Kathy

"Max" wrote:

This easy formulas model might appeal to you

Your source table as posted is in Sheet1,
with text in B1 across: Monday, Tuesday
and corresponding data in row2 down

In another sheet
Let's say B1 will house the day of interest, eg: Monday (text label)
Put in A2:
=IF(OR(OFFSET(Sheet1!A:A,,MATCH(B$1,Sheet1!$1:$1,0 )-1)={0,"off"}),"",ROW())
This is the criteria col which reads the input in B1, and flags rows which
are neither blank nor contains "off"

Put in B2:
=IF(ROWS($1:1)COUNT($A:$A),"",INDEX(Sheet1!A:A,SM ALL($A:$A,ROWS($1:1))))
Copy A2:B2 down to cover the max expected extent of source data in Sheet1,
eg down to B100? Minimize/hide col A. Col B will auto-return the required
names dependent on the day input in B1, with all names neatly packed at the
top. Test it by changing the day in B1 to: Tuesday, it'll return the names
for Tuesday. And so forth. With this flexibility you can have it all easily
extracted in just one sheet. Success? celebrate it, hit the YES below
--
Max
Singapore
---
"qteekat" wrote:
Sheet 1 looks like this

Monday Tuesday Wednesday Etc...

John Smith off 4am 4am
Katie Jones 4am 4am 4am
Dawn Moran 4am 4am off

etc....


I would like sheet 2 (renamed "Monday") to list the names with "4am" under
the column Monday. And not list the names with "off" under the Monday column.


So "Monday" sheet should look someting like

Schedule

Katie Jones
Dawn Moran
etc...

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Copy from worksheet 1 to worksheet 2, 3 , 4 etc..

Perhaps this illustrative working sample will help you
see where you might have gone off-track in your trial:

http://cjoint.com/?bfwOknxKNg
AutoExtract Names Schedule by Day.xls

Take it away. Let me know here how it went for you.
Do press the YES button (like the one below) in my earlier response
--
Max
Singapore
"qteekat" wrote in message
...
Hi Max,

I've tried to use the formula you gave me on a new workbook and it's not
working. It's not listing any names at all. What am I doing wrong?

Clueless,
Kathy



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
copy & paste worksheet with print settings into new worksheet Larry Ohio Excel Discussion (Misc queries) 1 December 23rd 09 05:17 PM
copy graph from a Worksheet based on a field in another Worksheet Jim K. - SGB Excel Worksheet Functions 2 July 6th 07 06:08 PM
Enter number on a worksheet to copy row from another worksheet 1SG Excel Worksheet Functions 1 May 22nd 07 12:15 AM
copy part of a worksheet into a worksheet in the same file/keepi. JTB Excel Worksheet Functions 1 September 23rd 06 09:13 AM
Unable to Insert Worksheet/Move and copy worksheet Excel 2003 lukerush Excel Worksheet Functions 2 September 7th 06 05:05 PM


All times are GMT +1. The time now is 04:02 PM.

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"