Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 63
Default reference every other row

Excel 2007 - I need to do a reference on every other row for another column
to bring over some data. So for example:

row 1 Column A Column B
row 2 4229
row 3 $1000
row 4 5667
row 5 $2500


So I want in row2 column C "4229" and in row 2 column D $1000. In row 4
column C "5667" and in row 4 column D $2500 and so on. I need to bring up
the dollar amount to the row above it so I can perform a vlookup on column A
to bring over the corresponding dollar amount.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default reference every other row

In C2 put the formula =IF(A2="","",A2)
In D2 put the formula =IF(B3="","",B3)
Copy down as far as required.
--
David Biddulph

"duketter" wrote in message
...
Excel 2007 - I need to do a reference on every other row for another
column
to bring over some data. So for example:

row 1 Column A Column B
row 2 4229
row 3 $1000
row 4 5667
row 5 $2500


So I want in row2 column C "4229" and in row 2 column D $1000. In row 4
column C "5667" and in row 4 column D $2500 and so on. I need to bring up
the dollar amount to the row above it so I can perform a vlookup on column
A
to bring over the corresponding dollar amount.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default reference every other row

In C2:
=IF(MOD(ROW(),2),"",OFFSET(A2,MOD(COLUMN()+1,2),))

Copy across to column D, and downward as needed.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"duketter" wrote:

Excel 2007 - I need to do a reference on every other row for another column
to bring over some data. So for example:

row 1 Column A Column B
row 2 4229
row 3 $1000
row 4 5667
row 5 $2500


So I want in row2 column C "4229" and in row 2 column D $1000. In row 4
column C "5667" and in row 4 column D $2500 and so on. I need to bring up
the dollar amount to the row above it so I can perform a vlookup on column A
to bring over the corresponding dollar amount.

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
Nesting a sheet name reference within a cell reference??? Broyston Excel Discussion (Misc queries) 9 July 8th 08 08:35 PM
Changing sheet reference to cell reference TeeJay Excel Worksheet Functions 3 October 19th 07 11:50 AM
Using an offset formula for the reference in a relative reference Cuda Excel Worksheet Functions 6 November 15th 06 05:12 PM
Row reference increment but preserve column reference Pwanda Excel Worksheet Functions 1 April 28th 05 01:12 PM
Macro to Reference Column Next to Current Reference dolphinv4 Excel Discussion (Misc queries) 2 April 11th 05 08:36 AM


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