Welcome to the { mindfrost82.com } forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Microsoft > MS Office > Excel

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-17-2008, 08:05 PM
JMac
 
Posts: n/a
Make lists on new tab from previous tab

I'm sure this is somewhere out on the net, but I can't find it.

How do I create a list on a new tab, from a list of values that were
imported into the workbook?

Tab 1
Name,acct#,group
John Doe,6676,rc10
Jane Smith,6782,rc10
John Hopkins,2342,tj21
Jane Doe, 6980,ut41

What I want to do is separate the list by group to their respective
tabs.

Tab rc10
Tab tj21
Tab ut41

Thanks
Reply With Quote
  #2 (permalink)  
Old 01-17-2008, 11:17 PM
Tyro
 
Posts: n/a
Re: Make lists on new tab from previous tab

Tab? Worksheets have tabs. Perhaps you're referring to creating a list on a
new worksheet?

Tyro

"JMac" <mcdowdjr@gmail.com> wrote in message
news:4e0e249c-25d8-48f9-a48c-245a339ceb12@z17g2000hsg.googlegroups.com...
> I'm sure this is somewhere out on the net, but I can't find it.
>
> How do I create a list on a new tab, from a list of values that were
> imported into the workbook?
>
> Tab 1
> Name,acct#,group
> John Doe,6676,rc10
> Jane Smith,6782,rc10
> John Hopkins,2342,tj21
> Jane Doe, 6980,ut41
>
> What I want to do is separate the list by group to their respective
> tabs.
>
> Tab rc10
> Tab tj21
> Tab ut41
>
> Thanks



Reply With Quote
  #3 (permalink)  
Old 01-19-2008, 10:42 PM
Herbert Seidenberg
 
Posts: n/a
Re: Make lists on new tab from previous tab

Here is a method with Pivot Table
or Advanced Filter. VBA addition needed.
http://www.freefilehosting.net/download/3ai95
Reply With Quote
  #4 (permalink)  
Old 01-21-2008, 06:08 PM
JMac
 
Posts: n/a
Re: Make lists on new tab from previous tab

On Jan 19, 4:42*pm, Herbert Seidenberg <herbds7-ms...@yahoo.com>
wrote:
> Here is a method with Pivot Table
> or Advanced Filter. VBA addition needed.http://www.freefilehosting.net/download/3ai95


HS-

Thanks for the information that is great. However, I would like to
keep it automated. Where the user will not have to do anything. Is it
possible to use a formula that will lookup the clinic values and list
them on the seperate tab in the workbook?
Reply With Quote
  #5 (permalink)  
Old 01-22-2008, 02:00 AM
Ken Johnson
 
Posts: n/a
Re: Make lists on new tab from previous tab

Hi JMac,

This seems to work, but you might not like it because of step 1!

1. Shift your Tab 1 data across 1 column by selecting A1 then
inserting a column (Insert|Columns). This enables the use of the
VLOOKUP function on your other sheets. This helper column can of
course be hidden latter.

2. paste this formula in A2...

=D2&COUNTIF($D$2:$D$1001,D2)-COUNTIF(D2:D$1001,D2)+1

increase the 1001 if your Tab 1 table has more than 1000 entries.

3. Fill the formula down as far as needed. This formula simply appends
each value in column D (rc10, tj21 and ut41 in you sample data) with a
number that corresponds to its position in the table eg the 50th tj21
will result in tj2150.

4. With the headings, Name and Acct# in row 1 on all the other sheets,
and with their sheet names being rc10, tj21, ut41 etc, paste the
following formula into A2 on each of those sheets...

=VLOOKUP(MID(CELL("filename",A1),FIND("]",CELL("filename",A1))
+1,255)&ROW(A1),Sheet1!$A$2:$C$1001,COLUMN(B1),FAL SE)

5. Fill the formula across to B2 then fill down for as many rows as
you filled down on sheet1

6. If you don't like the 1s that appear in column A on Sheet1 below
your existing data then use...

=IF(D2="","",D2&COUNTIF($D$2:$D$1001,D2)-COUNTIF(D2:D$1001,D2)+1)

and if you don't like the NA#s on the other sheets then use...

=IF(ISNA(VLOOKUP(MID(CELL("filename",A1),FIND("]",CELL("filename",A1))
+1,255)&ROW(A1),Sheet1!$A$2:$C
$1001,COLUMN(B1),FALSE)),"",VLOOKUP(MID(CELL("file name",A1),FIND("]",CELL("filename",A1))
+1,255)&ROW(A1),Sheet1!$A$2:$C$1001,COLUMN(B1),FAL SE))

Ken Johnson

Reply With Quote
  #6 (permalink)  
Old 01-22-2008, 07:03 PM
JMac
 
Posts: n/a
Re: Make lists on new tab from previous tab

On Jan 21, 8:00*pm, Ken Johnson <KenCJohn...@gmail.com> wrote:
> Hi JMac,
>
> This seems to work, but you might not like it because of step 1!
>
> 1. Shift your Tab 1 data across 1 column by selecting A1 then
> inserting a column (Insert|Columns). This enables the use of the
> VLOOKUP function on your other sheets. This helper column can of
> course be hidden latter.
>
> 2. paste this formula in A2...
>
> =D2&COUNTIF($D$2:$D$1001,D2)-COUNTIF(D2:D$1001,D2)+1
>
> increase the 1001 if your Tab 1 table has more than 1000 entries.
>
> 3. Fill the formula down as far as needed. This formula simply appends
> each value in column D (rc10, tj21 and ut41 in you sample data) with a
> number that corresponds to its position in the table eg the 50th tj21
> will result in tj2150.
>
> 4. With the headings, Name and Acct# in row 1 on all the other sheets,
> and with their sheet names being rc10, tj21, ut41 etc, paste the
> following formula into A2 on each of those sheets...
>
> =VLOOKUP(MID(CELL("filename",A1),FIND("]",CELL("filename",A1))
> +1,255)&ROW(A1),Sheet1!$A$2:$C$1001,COLUMN(B1),FAL SE)
>
> 5. Fill the formula across to B2 then fill down for as many rows as
> you filled down on sheet1
>
> 6. If you don't like the 1s that appear in column A on Sheet1 below
> your existing data then use...
>
> =IF(D2="","",D2&COUNTIF($D$2:$D$1001,D2)-COUNTIF(D2:D$1001,D2)+1)
>
> and if you don't like the NA#s on the other sheets then use...
>
> =IF(ISNA(VLOOKUP(MID(CELL("filename",A1),FIND("]",CELL("filename",A1))
> +1,255)&ROW(A1),Sheet1!$A$2:$C
> $1001,COLUMN(B1),FALSE)),"",VLOOKUP(MID(CELL("file name",A1),FIND("]",CELL("*filename",A1))
> +1,255)&ROW(A1),Sheet1!$A$2:$C$1001,COLUMN(B1),FAL SE))
>
> Ken Johnson



Ken-

I have another dilemma, how would i sort for a group of smc1 and then
smc. The groups were not made by me, I'm trying to use data I was
given. The append works for the smc1 group, but the smc group will
also list the smc1 members..any ideas?

Thanks,
Josh
Reply With Quote
  #7 (permalink)  
Old 01-23-2008, 12:16 AM
Ken Johnson
 
Posts: n/a
Re: Make lists on new tab from previous tab

Hi Josh,
For the short but untidy version...

=D2&":"&COUNTIF($D$2:$D$1001,D2)-COUNTIF(D2:D$1001,D2)+1
and
=VLOOKUP(MID(CELL("filename",A1),FIND("]",CELL("filename",A1))
+1,255)&":"&ROW(A1),Sheet1!$A$2:$C$1001,COLUMN(B1) ,FALSE)

For the tidy version...

=IF(D2="","",D2&":"&COUNTIF($D$2:$D$1001,D2)-COUNTIF(D2:D$1001,D2)+1)
and

=IF(ISNA(VLOOKUP(MID(CELL("filename",A1),FIND("]",CELL("filename",A1))
+1,255)&":"&ROW(A1),Sheet1!$A$2:$C
$1001,COLUMN(B1),FALSE)),"",VLOOKUP(MID(CELL("file name",A1),FIND("]",CELL("filename",A1))
+1,255)&":"&ROW(A1),Sheet1!$A$2:$C$1001,COLUMN(B1) ,FALSE))

solves that problem by separating number in group from count number
with a ":".

Ken Johnson


Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Microsoft > MS Office > Excel


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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



All times are GMT. The time now is 09:53 AM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0


Sponsors:
Mortgage Calculator | Advertising | Remortgages | Loans | Credit Card



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114