witch function would work for this...

G

Guest

Could some please help me determane which function in need to use to
accomplish the following...

On sheet1 I have a list of parts. This list changes often, as additions and
deletions are made.

On sheet2 I need every fifth cell in column A (starting with row two) to
display a part number. So that no matter what changes are made on sheet1,
Sheet2!A2 always displays the part number from sheet1!d2
and
Sheet2!a7 = sheet1!d3
Sheet2!a12 = sheet!d4
etc...

Also, I would like to be able to drag the formula I put on sheet2 down the
column since I have many many parts to reference. (the things I have tried so
far have worked with the exception of this step...I would have to edit each
formula by hand in order to get it to the correct reference).

Thanks in advance....
 
G

Guest

I forgot to add.

The reason I need the formula in every fifth row is because on sheet2 the
cells in column A are merged in groups of five...(I want a part number to
appear in each consecutive merged cell in the column)

this may make a difference if you use a count function...
 
G

Guest

In Sheet2
Put in the 1st merged cell, ie A2:
=INDIRECT("'Sheet1'!D"&INT((ROWS($1:1)-1)/5)+2)
Copy down

---
 
R

Roger Govier

Hi Max

Utilising your row count, the OP could alternatively use the non volatile
=INDEX(Sheet1!D:D,INT((ROWS($1:1)-1)/5)+2)
 
M

Max

Roger,
A better alternative !
(but there's beauty, too <g> in the earlier volatile one)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top