Is it possible to use the Column function in a formula?!

Lucilla

New Member
Joined
Apr 13, 2011
Messages
15
Hi,

I am try to do what I supposed to be a "normal" thing, but I am in truble!

is there a way in excel to specify the reference of a cell in another sheet with a formula and not with fixed columns or rows?

In the specific I have two sheets and I would like to link the cell using this "formula":

Code:
Sheet2!C1=Sheet1! ((COLUMN(C1)+3)/2) & "1"

that means
  • in cell C1 of Sheet2 takes the value in Sheet1 in cell (3+3)/2 -> 3->C
  • in cell E1 of Sheet2 takes the value in Sheet1 in cell (5+3)/2 -> 4->D
  • in cell G1 of Sheet2 takes the value in Sheet1 in cell (7+3)/2 -> 5->E
  • ...

the point is that I don't know how to make the column reference a formula and not a specified value.
I would like to NOT use macros...

is it possible!?

Thanks a lot!
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
One way maybe:

Code:
=INDIRECT("Sheet1!"&ADDRESS(1,(COLUMN(C1)+3)/2))
 
Upvote 0
Hi All,

Didn't know about 'Address' until FormR's post, but see it could also be used in this form: =INDIRECT(ADDRESS(1,(COLUMN(C1)+3)/2,,,"Sheet2"))

Thanks FormR.

Regards
 
Upvote 0
Hi

Another option, in Sheet2!C1 (or Sheet2!E1, or Sheet2!G1)


=INDEX(Sheet1!1:1,(COLUMN()+3)/2)
 
Upvote 0
You Guys are Genius!!!!

Thanks a lot, I knew I should come in this forum earlier instead of become creazy for all the morning!!
All the three solutions work perfectly!
Thanks!
 
Upvote 0

Forum statistics

Threads
1,215,563
Messages
6,125,550
Members
449,237
Latest member
Chase S

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