Adding up cell position not values in cell

rayelle

New Member
Joined
Mar 30, 2009
Messages
6
I have a spreadsheet with two columns and 39900 rows, from that data I want to create two new columns so cell C1 = A143 and D1 = B143, C2=A286, D1=B286, and so on. The row location increases by 143.
The simplest thing I tried to do was to say C1=A1+142, but (knowing it is wrong) I get a #value error.
How can I tell excel to grab these values located every 144 rows below and create two new columns?
Thanks for your help.
 
Because:

D1 & E1 should reference A77 & C77, correspondingly.
D2 & E2 should reference A221 & C221.
D3 & E3 should reference A365 & C365.
D4 & E4 should reference A509 & C509.
D5 & E5 should reference A653 & C653.
And so on...

The results should look like this:
D1: 6/16/08, E1: 14.34
D2: 7/17/08, E2: 10.97

I think the problem is that 221/2 = 110.5, 365/3 = 121.66666, etc. so the numbers are not even numbers.

Any suggestions on how to work around that?
 
Upvote 0

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Hi,

In that case try this;

=IF(ROW()=1,INDIRECT("A"&(ROW()*77)),INDIRECT("A"&(((ROW()-1)*144)+77)))
 
Upvote 0

Forum statistics

Threads
1,215,011
Messages
6,122,680
Members
449,091
Latest member
peppernaut

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top