Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 425
Default create sheet based on value in string

Column A on active sheet has contains a list of one or two values.
"abc"
"def"

For each value of abc, create a sheet entitled "product of abc" and
opy the entire row (or at least a:g) to that sheet.

For each value of def, create a sheet entitled "product of def" and
opy the entire row (or at least a:g) to that sheet.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,934
Default create sheet based on value in string

Obviously, you have simplified your question for us (by the way, that is
almost always a bad thing to do as it usually leads to unusable solutions;
that is, solutions that work for your example, but that cannot easily be
extended to your real situation)... I'm assuming we are talking about more
than two items in Column A... can these repeat (that is, can "abc" be listed
more than once) and, if so, what do you want to happen with the row for that
repeated data?

--
Rick (MVP - Excel)


"J.W. Aldridge" wrote in message
...
Column A on active sheet has contains a list of one or two values.
"abc"
"def"

For each value of abc, create a sheet entitled "product of abc" and
opy the entire row (or at least a:g) to that sheet.

For each value of def, create a sheet entitled "product of def" and
opy the entire row (or at least a:g) to that sheet.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 425
Default create sheet based on value in string

Thanx.

They will repeat however their will be only one phrase "abc" or "def"
in the string in column A

In other words....

There will be two sheets created. "product of abc" and "product of
def"
Based on cell value in column A, if the contents are "abc" then that
row will paste to row 1 sheet "product of abc"
The next row that matches will follow with row 2, and so on.

Subsequently, if the contents are "def" then that row will paste to
sheet "product of def"
etc.,etc.,





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
Create New Sheets and Name Them Based on Values in another sheet KennyD Excel Discussion (Misc queries) 2 January 28th 10 06:51 PM
Create helper column which returns a text string based on multiplecriteria. Pierre Excel Worksheet Functions 3 March 28th 09 01:08 AM
Create new sheets based off Data sheet, and template sheet Midget Excel Programming 2 May 1st 07 09:55 PM
Create a 'text' string based on whether values appear in other cel Ben Excel Worksheet Functions 4 February 20th 07 10:05 AM
Create summary based on specifc value in a different sheet RayYeung Excel Worksheet Functions 0 July 19th 05 05:39 AM


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

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

About Us

"It's about Microsoft Excel"