#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
DAP DAP is offline
external usenet poster
 
Posts: 4
Default Fill

I am trying to fill in cells in one sheet with every 6th cell from another
sheet. I cannot get the fill feature to increment every 6th cell on the
reference sheet. Help! When I drag the handle it increments by one. When I
click on the fill button and type in 6 then OK... it still increments by 1.
Help!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Fill

In Sheet1,
you can place this in any starting cell, say in B2:
=OFFSET(Sheet2!$A$1,ROWS($1:1)*6-6,)
Then just copy B2 down as far as required

This returns in B2 down:
=Sheet2!A1
=Sheet2!A7
=Sheet2!A13
and so on

Adapt accordingly to suit:
Sheet2!$A$1 : the anchor, ie the starting source cell in Sheet2
ROWS($1:1)*6-6 : the step "6"
[Do not change the core incrementer term: ROWS($1:1)]
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:17,400 Files:358 Subscribers:55
xdemechanik
---
"DAP" wrote:
I am trying to fill in cells in one sheet with every 6th cell from another
sheet. I cannot get the fill feature to increment every 6th cell on the
reference sheet. Help! When I drag the handle it increments by one. When I
click on the fill button and type in 6 then OK... it still increments by 1.
Help!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
DAP DAP is offline
external usenet poster
 
Posts: 4
Default Fill

You are a Stud ! Worked great

It works but I dont really understand why?

Please explain the offset command and the command Rows ($1:1)*6-6 ?

Thanks


"Max" wrote:

In Sheet1,
you can place this in any starting cell, say in B2:
=OFFSET(Sheet2!$A$1,ROWS($1:1)*6-6,)
Then just copy B2 down as far as required

This returns in B2 down:
=Sheet2!A1
=Sheet2!A7
=Sheet2!A13
and so on

Adapt accordingly to suit:
Sheet2!$A$1 : the anchor, ie the starting source cell in Sheet2
ROWS($1:1)*6-6 : the step "6"
[Do not change the core incrementer term: ROWS($1:1)]
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:17,400 Files:358 Subscribers:55
xdemechanik
---
"DAP" wrote:
I am trying to fill in cells in one sheet with every 6th cell from another
sheet. I cannot get the fill feature to increment every 6th cell on the
reference sheet. Help! When I drag the handle it increments by one. When I
click on the fill button and type in 6 then OK... it still increments by 1.
Help!

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Fill

OFFSET and ROWS are standard Excel functions. Their syntax is explained if
you type the function name into Excel help. [Excel help will similarly help
you with any other Excel function (except one).]
--
David Biddulph

"DAP" wrote in message
...
You are a Stud ! Worked great

It works but I dont really understand why?

Please explain the offset command and the command Rows ($1:1)*6-6 ?

Thanks


"Max" wrote:

In Sheet1,
you can place this in any starting cell, say in B2:
=OFFSET(Sheet2!$A$1,ROWS($1:1)*6-6,)
Then just copy B2 down as far as required

This returns in B2 down:
=Sheet2!A1
=Sheet2!A7
=Sheet2!A13
and so on

Adapt accordingly to suit:
Sheet2!$A$1 : the anchor, ie the starting source cell in Sheet2
ROWS($1:1)*6-6 : the step "6"
[Do not change the core incrementer term: ROWS($1:1)]
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:17,400 Files:358 Subscribers:55
xdemechanik
---
"DAP" wrote:
I am trying to fill in cells in one sheet with every 6th cell from
another
sheet. I cannot get the fill feature to increment every 6th cell on the
reference sheet. Help! When I drag the handle it increments by one.
When I
click on the fill button and type in 6 then OK... it still increments
by 1.
Help!



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Fill

"DAP" wrote:
You are a Stud ! Worked great


That's good. But could you press the "Yes" button in that response since it
answered your original query

It works but I dont really understand why?
Please explain the offset command and the command Rows ($1:1)*6-6 ?


This is a second query. Just a couple of add-ons, assuming you have since
updated your knowledge in Excel's help as per David's comment

ROWS($1:1)*6-6 is the row param in OFFSET

To see what the above does (you could this in general for any nested
functions), just put in any cell: =ROWS($1:1)*6-6, then copy it down. You
would find it simply generates the number series: 0, 6, 12, ... . These
numbers (incrementing as desired) are then used as the row param in OFFSET to
return the required results based on the OFFSET's anchor cell.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:17,400 Files:358 Subscribers:55
xdemechanik
---
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
Erase fill print then bring fill back Homer Excel Discussion (Misc queries) 5 September 26th 07 01:50 PM
Fill in form to type Item descrictions and costs and fill in funct cradino Excel Worksheet Functions 0 July 16th 06 08:44 PM
I have a list of data, fill in the gaps. FILL function won't work Triv Excel Discussion (Misc queries) 1 September 17th 05 02:33 PM
The fill feature in Excel that gives option to fill or copy KAHelman New Users to Excel 1 July 29th 05 07:47 PM
How to fill colour in Excel, it appers No fill in my computer? bede Excel Discussion (Misc queries) 1 June 11th 05 03:27 AM


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