Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 50
Default 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....
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 50
Default 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....

  #3   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default 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....

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 50
Default 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....

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default 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....



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,480
Default 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....



  #7   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default 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



  #8   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default 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.



  #9   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default 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



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
Why does my Function not work? [email protected] Excel Discussion (Misc queries) 2 April 27th 07 10:22 PM
work days function tom Excel Worksheet Functions 3 July 20th 06 08:30 PM
how do i get the mid function to work with a zero garbold Excel Worksheet Functions 7 June 7th 06 10:58 PM
What is a function in VBA EXCEL witch finds a string like "not" in cell and then deletes a row with this cell? [email protected] Excel Worksheet Functions 3 November 14th 05 01:48 AM
How to find something in another file, witch is not open HELP ME!! Andrzej New Users to Excel 8 May 29th 05 07:06 AM


All times are GMT +1. The time now is 07:23 AM.

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"