Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default Cell A1=range from B1-B10

I have a large data (about 3 000 rows)where column A has product name and
column B has detailed product discription that can range anywhere from 1 to
10 rows. I want to choose a specific product name and print its complete
discription on a separate worksheet. How can I do it?

--
Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,688
Default Cell A1=range from B1-B10

Here's a sample file that does what you want:

Extract1.xls 18.5kb

http://cjoint.com/?lrxHhWkbGx

Biff

"rash30" wrote in message
...
I have a large data (about 3 000 rows)where column A has product name and
column B has detailed product discription that can range anywhere from 1
to
10 rows. I want to choose a specific product name and print its complete
discription on a separate worksheet. How can I do it?

--
Thanks



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default Cell A1=range from B1-B10

Biff,

Thank you for your file. It worked. To complete this project, I need the
following:

1. The data will always be dynamic, i.e. the number of rows with item
description will always be different. Some body helped me to figure out the
main formula which worked. This formula is:
=IF(B$2="","",IF(ROWS(Pricebook!$1:1)<=MATCH(TRUE, Pricebook!A$6750:INDEX(Pricebook!A$6:Pricebook!A$6 750,MATCH(B$2,Pricebook!A$6:Pricebook!A$6750,0)+1) <"",0),INDEX(Pricebook!B$6:Pricebook!B$6750,MATCH (B$2,Pricebook!A$6:Pricebook!A$6750,0)+ROWS($1:1)-1),""))

However, it only searches in a specific place - B$2.

What I need is the following:

1. I need for it to look at items in column A, Worksheet1.
2. When it finds item 1 in A2, it should match its description located in
data in Pricebook!, column B.
3. Then it should display complete item description in column B, Worksheet1.
The length (# of rows in description will always be different)
4. Then it should skip a row, grab item 2 (it may be in A3 or A4, etc.) put
it in Column A, 2 rows below the last populated (with description of item 1)
row in Column B.
5. Then it should match the description for item 2 in Column B 2 rows below
the last populated row for description for item 1.
6. This process should repeat until there are no more items in Column A.
Please note that number of items may vary from 1 to more then 15.
7. The first row of each description in Column B should always be bold. The
rest of rows showing each description should have the same font and size.

I know this can be done, but my knowledge of Excell is limited, and I know
nothing of VBA. Do you think you can help, at least point me to the correct
functions.

Thank you in advance. Do you still want me to post this in a new post as
well?

Gary


--
Thanks


"Biff" wrote:

Here's a sample file that does what you want:

Extract1.xls 18.5kb

http://cjoint.com/?lrxHhWkbGx

Biff

"rash30" wrote in message
...
I have a large data (about 3 000 rows)where column A has product name and
column B has detailed product discription that can range anywhere from 1
to
10 rows. I want to choose a specific product name and print its complete
discription on a separate worksheet. How can I do it?

--
Thanks




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
Cell References [email protected] Excel Discussion (Misc queries) 2 November 15th 06 11:37 PM
Using an offset formula for the reference in a relative reference Cuda Excel Worksheet Functions 6 November 15th 06 05:12 PM
Compiling macro based on cell values simonsmith Excel Discussion (Misc queries) 1 May 16th 06 08:31 PM
Instead of a negative number, I'd like to show zero... Dr. Darrell Excel Worksheet Functions 6 December 7th 05 08:21 PM
cell color index comparison MINAL ZUNKE New Users to Excel 1 June 30th 05 07:11 AM


All times are GMT +1. The time now is 01:31 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"