Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 104
Default Dragging a formula with cell references

Hello,

I have a problem while dragging the formula to the next cells.

The formula in A1 of sheet 1 is ='Sheet2'!C34
The formula in B1 of sheet 1 is ='Sheet2'!F34
The formula in C1 of sheet 1 is ='Sheet2'!I34

Here while dragging the formula, the next cell has to take the value of the
same row (34) of every third column C, F, I, L... so on. But while dragging
its not coming the same way.

Can anyone suggest me how to do that?

Thanks in advance
Sasikiran

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default Dragging a formula with cell references

hi,
if i understand you....
you might try using absolute references instead of relative references.
example...
instead of ....sheet2!C34......
Use..............Sheet2!$C$34.....

Read up on absolute vs.relative references in xl help.

Regards
FSt1

"Sasikiran" wrote:

Hello,

I have a problem while dragging the formula to the next cells.

The formula in A1 of sheet 1 is ='Sheet2'!C34
The formula in B1 of sheet 1 is ='Sheet2'!F34
The formula in C1 of sheet 1 is ='Sheet2'!I34

Here while dragging the formula, the next cell has to take the value of the
same row (34) of every third column C, F, I, L... so on. But while dragging
its not coming the same way.

Can anyone suggest me how to do that?

Thanks in advance
Sasikiran

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 281
Default Dragging a formula with cell references

Hi,

a small correction:

=INDIRECT(CHAR(COLUMN()*3+64)&34)

enter this formula in the cell A1 and then copy drag it to B, C, D, .....

Thanks,
--
Farhad Hodjat


"Don Guillett" wrote:

Or for row 34
=INDIRECT(CHAR(COLUMN(A1)*2+64)&34)
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Don Guillett" wrote in message
...
Try this idea copied to the right
=INDIRECT(CHAR(COLUMN(A1)*3+64)& ROW())

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Sasikiran" wrote in message
...
Hello,

I have a problem while dragging the formula to the next cells.

The formula in A1 of sheet 1 is ='Sheet2'!C34
The formula in B1 of sheet 1 is ='Sheet2'!F34
The formula in C1 of sheet 1 is ='Sheet2'!I34

Here while dragging the formula, the next cell has to take the value of
the
same row (34) of every third column C, F, I, L... so on. But while
dragging
its not coming the same way.

Can anyone suggest me how to do that?

Thanks in advance
Sasikiran






  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 104
Default Dragging a formula with cell references

Hi Farhad,

Can you please help me more on this?

The data has to be copied thru a formula from a different sheet (sheet2) to
sheet 1.

The formula in A1 of sheet 1 is ='Sheet2'!C34
The formula in B1 of sheet 1 is ='Sheet2'!F34
The formula in C1 of sheet 1 is ='Sheet2'!I34

How do I incorporate in this formula

=INDIRECT(CHAR(COLUMN()*3+64)&34)

Im trying in this way..

=INDIRECT(CHAR('Sheet2'!C34*3+64)&34)

Please trying all the possible ways... please tell me where i'm going wrong

Thanks in advance
Sasikiran




"Farhad" wrote:

Hi,

a small correction:

=INDIRECT(CHAR(COLUMN()*3+64)&34)

enter this formula in the cell A1 and then copy drag it to B, C, D, .....


Hello,

I have a problem while dragging the formula to the next cells.

The formula in A1 of sheet 1 is ='Sheet2'!C34
The formula in B1 of sheet 1 is ='Sheet2'!F34
The formula in C1 of sheet 1 is ='Sheet2'!I34

Here while dragging the formula, the next cell has to take the value of
the
same row (34) of every third column C, F, I, L... so on. But while
dragging
its not coming the same way.

Can anyone suggest me how to do that?

Thanks in advance
Sasikiran




  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 281
Default Dragging a formula with cell references

Hi,

The formula that i correct for you works just to column Z and if you have
more column so you have to expand the formula as below:

=INDIRECT(IF(64+COLUMN()*390,IF(64+COLUMN()*3-2690,"'Sheet2'!B"&CHAR(64+COLUMN()*3-52),"'Sheet2'!A"&CHAR(64+COLUMN()*3-26)),"'Sheet2'!"&CHAR(64+COLUMN()*3))&34)

so this formula works till column BZ

Thanks,
--
Farhad Hodjat


"Sasikiran" wrote:

Hi Farhad,

Can you please help me more on this?

The data has to be copied thru a formula from a different sheet (sheet2) to
sheet 1.

The formula in A1 of sheet 1 is ='Sheet2'!C34
The formula in B1 of sheet 1 is ='Sheet2'!F34
The formula in C1 of sheet 1 is ='Sheet2'!I34

How do I incorporate in this formula

=INDIRECT(CHAR(COLUMN()*3+64)&34)

Im trying in this way..

=INDIRECT(CHAR('Sheet2'!C34*3+64)&34)

Please trying all the possible ways... please tell me where i'm going wrong

Thanks in advance
Sasikiran




"Farhad" wrote:

Hi,

a small correction:

=INDIRECT(CHAR(COLUMN()*3+64)&34)

enter this formula in the cell A1 and then copy drag it to B, C, D, .....


Hello,

I have a problem while dragging the formula to the next cells.

The formula in A1 of sheet 1 is ='Sheet2'!C34
The formula in B1 of sheet 1 is ='Sheet2'!F34
The formula in C1 of sheet 1 is ='Sheet2'!I34

Here while dragging the formula, the next cell has to take the value of
the
same row (34) of every third column C, F, I, L... so on. But while
dragging
its not coming the same way.

Can anyone suggest me how to do that?

Thanks in advance
Sasikiran




  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 104
Default Dragging a formula with cell references

Thanks a ton Farhad... its working fine now..

"Farhad" wrote:

Hi,

The formula that i correct for you works just to column Z and if you have
more column so you have to expand the formula as below:

=INDIRECT(IF(64+COLUMN()*390,IF(64+COLUMN()*3-2690,"'Sheet2'!B"&CHAR(64+COLUMN()*3-52),"'Sheet2'!A"&CHAR(64+COLUMN()*3-26)),"'Sheet2'!"&CHAR(64+COLUMN()*3))&34)

so this formula works till column BZ

Thanks,
--
Farhad Hodjat


"Sasikiran" wrote:

Hi Farhad,

Can you please help me more on this?

The data has to be copied thru a formula from a different sheet (sheet2) to
sheet 1.

The formula in A1 of sheet 1 is ='Sheet2'!C34
The formula in B1 of sheet 1 is ='Sheet2'!F34
The formula in C1 of sheet 1 is ='Sheet2'!I34

How do I incorporate in this formula

=INDIRECT(CHAR(COLUMN()*3+64)&34)

Im trying in this way..

=INDIRECT(CHAR('Sheet2'!C34*3+64)&34)

Please trying all the possible ways... please tell me where i'm going wrong

Thanks in advance
Sasikiran




"Farhad" wrote:

Hi,

a small correction:

=INDIRECT(CHAR(COLUMN()*3+64)&34)

enter this formula in the cell A1 and then copy drag it to B, C, D, .....


Hello,

I have a problem while dragging the formula to the next cells.

The formula in A1 of sheet 1 is ='Sheet2'!C34
The formula in B1 of sheet 1 is ='Sheet2'!F34
The formula in C1 of sheet 1 is ='Sheet2'!I34

Here while dragging the formula, the next cell has to take the value of
the
same row (34) of every third column C, F, I, L... so on. But while
dragging
its not coming the same way.

Can anyone suggest me how to do that?

Thanks in advance
Sasikiran




  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 281
Default Dragging a formula with cell references

Welcome! but the important point was 64+COLUMN()*3 which Don Guillett solved
it. Thank you Don for your solution!

Thanks,
--
Farhad Hodjat


"Sasikiran" wrote:

Thanks a ton Farhad... its working fine now..

"Farhad" wrote:

Hi,

The formula that i correct for you works just to column Z and if you have
more column so you have to expand the formula as below:

=INDIRECT(IF(64+COLUMN()*390,IF(64+COLUMN()*3-2690,"'Sheet2'!B"&CHAR(64+COLUMN()*3-52),"'Sheet2'!A"&CHAR(64+COLUMN()*3-26)),"'Sheet2'!"&CHAR(64+COLUMN()*3))&34)

so this formula works till column BZ

Thanks,
--
Farhad Hodjat


"Sasikiran" wrote:

Hi Farhad,

Can you please help me more on this?

The data has to be copied thru a formula from a different sheet (sheet2) to
sheet 1.

The formula in A1 of sheet 1 is ='Sheet2'!C34
The formula in B1 of sheet 1 is ='Sheet2'!F34
The formula in C1 of sheet 1 is ='Sheet2'!I34

How do I incorporate in this formula

=INDIRECT(CHAR(COLUMN()*3+64)&34)

Im trying in this way..

=INDIRECT(CHAR('Sheet2'!C34*3+64)&34)

Please trying all the possible ways... please tell me where i'm going wrong

Thanks in advance
Sasikiran




"Farhad" wrote:

Hi,

a small correction:

=INDIRECT(CHAR(COLUMN()*3+64)&34)

enter this formula in the cell A1 and then copy drag it to B, C, D, .....


Hello,

I have a problem while dragging the formula to the next cells.

The formula in A1 of sheet 1 is ='Sheet2'!C34
The formula in B1 of sheet 1 is ='Sheet2'!F34
The formula in C1 of sheet 1 is ='Sheet2'!I34

Here while dragging the formula, the next cell has to take the value of
the
same row (34) of every third column C, F, I, L... so on. But while
dragging
its not coming the same way.

Can anyone suggest me how to do that?

Thanks in advance
Sasikiran




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
cell formula references steve Excel Discussion (Misc queries) 2 July 30th 07 07:34 PM
copy formula down a column and have cell references change within formula brad New Users to Excel 5 May 13th 07 04:38 PM
locking formula cell references Superchikn Excel Worksheet Functions 3 March 16th 06 07:32 PM
how do i copy a formula when cell references r not together jon104 New Users to Excel 1 January 9th 06 03:25 PM
Absolute References in cell formula ah666 Excel Worksheet Functions 5 June 17th 05 03:40 PM


All times are GMT +1. The time now is 05:58 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"