LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 132
Default Use VB to get group of cells

Take a look at the linked example to see if it does what you need.
http://wcpii.com/Documents/Product%20Lookup.xls

It assumes that you have a maximum limit on the possible number of cells you
woutld return (I used 10 columns in the example).



"Chad@KSA" wrote:

Thanks for replying Bill. I am trying to create a 24-hr calendare for
time-tracking on equipment that produces chemicals. Each chemical has a
product code number. I want to enter the product code number on one
worksheet, then perform a lookup on a different sheet that looks up the
product code, then the column next to it to get the number of standard hours
it takes to produce the material, then based on that number take the same
number of cells to the right back to the first worksheet but start the
placement directly below cell that has the product code.

worksheet#1
Product code
X

worksheet#2
Product Code Standard hours Standard Plot
123 12 abcxxxxxxxxx(each character is a
cell)
124 16 defxxxxxxxxxxxxx
125 14 ghixxxxxxxxxxx

worksheet#1
Product code
124 125 123
defxxxxxxxxxxxxx ghixxxxxxxxxxxx abcxxxxxxxxxx

Am I still confusing? Thanks

"Bill Pfister" wrote:

Would you mind supplying a simple example? I'm not clear what you mean when
you say "to fill in a certain number of cells below it" (what are you filling
into those cells?).

Regards,
Bill



"Chad@KSA" wrote:

I need to be able to supply a product code on one worksheet, then go to
another sheet to do a lookup which will tell me how many cells to the right
of the looked up value to select and bring back to the cell below the code in
the first worksheet. Basically, based on a product code number, I need to
fill in a certain number of cells below it to represent a standard processing
time in days(one cell per day).

Any ideas?

 
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
Match a group of cells with another group of cells Rod in Oz Excel Worksheet Functions 1 October 9th 08 01:45 AM
Copy Data from One Group of Cells to Another Group Alan Auerbach Charts and Charting in Excel 2 May 27th 07 04:12 PM
from a group of cells.find average of cells containing values farm Excel Discussion (Misc queries) 1 December 21st 06 08:50 PM
I want to add a group of cells, using a sumif of another group of. larrylab Excel Programming 1 March 5th 05 04:01 PM
copy group of cells to another group of cells using "IF" in third Chuckak Excel Worksheet Functions 2 November 10th 04 06:04 PM


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