Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
sdm
 
Posts: n/a
Default Enter every nth cell item

Hello,
Using Excel 2003. I am looking for a formula that will grab every 4th item
in a column and then paste it to a new column (or worksheet). For example,
cells A1, A2, ... A20 contain first names. I want to grab every 4th name in
the column and be copied to column D. Thanks for your help.
--
sdm
  #2   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
in D1 enter
=OFFSET($A$1,(ROW()-1)*4,0)
and copy down

--
Regards
Frank Kabel
Frankfurt, Germany

sdm wrote:
Hello,
Using Excel 2003. I am looking for a formula that will grab every 4th
item in a column and then paste it to a new column (or worksheet).
For example, cells A1, A2, ... A20 contain first names. I want to
grab every 4th name in the column and be copied to column D. Thanks
for your help.



  #3   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

Although you can do this with VBA you can also do it using a formula

if you meant extract what's in A1, A5, A9 and so on


=OFFSET($A$1,ROW(1:1)*4-4,)

copy down

if you meant A4, A8, A12 and so on

=OFFSET($A$1,ROW(1:1)*4-1,)


Regards,

Peo Sjoblom


"sdm" wrote:

Hello,
Using Excel 2003. I am looking for a formula that will grab every 4th item
in a column and then paste it to a new column (or worksheet). For example,
cells A1, A2, ... A20 contain first names. I want to grab every 4th name in
the column and be copied to column D. Thanks for your help.
--
sdm

  #4   Report Post  
sdm
 
Posts: n/a
Default

Thanks, Frank for you quick response. Works great!
Sonya

"Frank Kabel" wrote:

Hi
in D1 enter
=OFFSET($A$1,(ROW()-1)*4,0)
and copy down

--
Regards
Frank Kabel
Frankfurt, Germany

sdm wrote:
Hello,
Using Excel 2003. I am looking for a formula that will grab every 4th
item in a column and then paste it to a new column (or worksheet).
For example, cells A1, A2, ... A20 contain first names. I want to
grab every 4th name in the column and be copied to column D. Thanks
for your help.




  #5   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

If entered in D1...

=INDEX(A:A,(ROW()-ROW($D$1))*4+1)

which starts copying with the item in A1.

=INDEX(A:A,(ROW()-ROW(D$1))*4+4)

which starts copying with the item in A4.

These formulas are robust against inserting rows before the data and/or
before the formula cell.

"sdm" wrote in message
...
Hello,
Using Excel 2003. I am looking for a formula that will grab every 4th item
in a column and then paste it to a new column (or worksheet). For example,
cells A1, A2, ... A20 contain first names. I want to grab every 4th name
in
the column and be copied to column D. Thanks for your help.
--
sdm



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
Maintaining cell reference after sorting GRITS Excel Discussion (Misc queries) 2 April 30th 23 07:42 PM
How do I get one cell to record the time another cell was changed. Reigning in Seattle Excel Discussion (Misc queries) 1 December 17th 04 07:45 PM
how do i set up a single cell continual entry in excel to total f. mike@swallow Excel Discussion (Misc queries) 1 December 7th 04 12:29 PM
Changing Cell Fill Colour Nick Excel Discussion (Misc queries) 4 December 6th 04 10:05 PM
You Must Enter A Number In This Cell la90292 Excel Discussion (Misc queries) 3 December 4th 04 07:46 PM


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