ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   witch function would work for this... (https://www.excelbanter.com/excel-discussion-misc-queries/157691-witch-function-would-work.html)

diaare

witch function would work for this...
 
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....

diaare

which function would work for this...
 
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...


"diaare" wrote:

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....


Max

which function would work for this...
 
In Sheet2
Put in the 1st merged cell, ie A2:
=INDIRECT("'Sheet1'!D"&INT((ROWS($1:1)-1)/5)+2)
Copy down
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"diaare" wrote:
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...


"diaare" wrote:

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....


diaare

which function would work for this...
 
Perfect!

Thank you so much for your help.

"Max" wrote:

In Sheet2
Put in the 1st merged cell, ie A2:
=INDIRECT("'Sheet1'!D"&INT((ROWS($1:1)-1)/5)+2)
Copy down
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"diaare" wrote:
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...


"diaare" wrote:

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....


Gary''s Student

which function would work for this...
 
a beautiful formula
--
Gary''s Student - gsnu200743


"Max" wrote:

In Sheet2
Put in the 1st merged cell, ie A2:
=INDIRECT("'Sheet1'!D"&INT((ROWS($1:1)-1)/5)+2)
Copy down
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"diaare" wrote:
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...


"diaare" wrote:

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....


Roger Govier[_3_]

which function would work for this...
 
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)

--
Regards
Roger Govier



"Max" wrote in message
...
In Sheet2
Put in the 1st merged cell, ie A2:
=INDIRECT("'Sheet1'!D"&INT((ROWS($1:1)-1)/5)+2)
Copy down
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"diaare" wrote:
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...


"diaare" wrote:

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....




Max

which function would work for this...
 
Roger,
A better alternative !
(but there's beauty, too <g in the earlier volatile one)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Roger Govier" <rogerattechnology4NOSPAMu.co.uk wrote in message
...
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)

--
Regards
Roger Govier




Max

which function would work for this...
 
welcome. glad it worked for you.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"diaare" wrote in message
...
Perfect!

Thank you so much for your help.




Max

which function would work for this...
 
Thanks for the compliment, GS!
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Gary''s Student" wrote in message
...
a beautiful formula
--
Gary''s Student - gsnu200743





All times are GMT +1. The time now is 11:22 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com