PC Review


Reply
Thread Tools Rate Thread

Dragging a formula with cell references

 
 
=?Utf-8?B?U2FzaWtpcmFu?=
Guest
Posts: n/a
 
      25th Sep 2007
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 With Quote
 
 
 
 
Don Guillett
Guest
Posts: n/a
 
      25th Sep 2007
Try this idea copied to the right
=INDIRECT(CHAR(COLUMN(A1)*3+64)& ROW())

--
Don Guillett
Microsoft MVP Excel
SalesAid Software
(E-Mail Removed)
"Sasikiran" <(E-Mail Removed)> wrote in message
news:9F6FC520-F0E0-4388-AA9A-(E-Mail Removed)...
> 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 With Quote
 
=?Utf-8?B?RlN0MQ==?=
Guest
Posts: n/a
 
      25th Sep 2007
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
>

 
Reply With Quote
 
Don Guillett
Guest
Posts: n/a
 
      25th Sep 2007
Or for row 34
=INDIRECT(CHAR(COLUMN(A1)*2+64)&34)
--
Don Guillett
Microsoft MVP Excel
SalesAid Software
(E-Mail Removed)
"Don Guillett" <(E-Mail Removed)> wrote in message
news:eyibwX3$(E-Mail Removed)...
> Try this idea copied to the right
> =INDIRECT(CHAR(COLUMN(A1)*3+64)& ROW())
>
> --
> Don Guillett
> Microsoft MVP Excel
> SalesAid Software
> (E-Mail Removed)
> "Sasikiran" <(E-Mail Removed)> wrote in message
> news:9F6FC520-F0E0-4388-AA9A-(E-Mail Removed)...
>> 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 With Quote
 
=?Utf-8?B?RmFyaGFk?=
Guest
Posts: n/a
 
      25th Sep 2007
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
> (E-Mail Removed)
> "Don Guillett" <(E-Mail Removed)> wrote in message
> news:eyibwX3$(E-Mail Removed)...
> > Try this idea copied to the right
> > =INDIRECT(CHAR(COLUMN(A1)*3+64)& ROW())
> >
> > --
> > Don Guillett
> > Microsoft MVP Excel
> > SalesAid Software
> > (E-Mail Removed)
> > "Sasikiran" <(E-Mail Removed)> wrote in message
> > news:9F6FC520-F0E0-4388-AA9A-(E-Mail Removed)...
> >> 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 With Quote
 
=?Utf-8?B?U2FzaWtpcmFu?=
Guest
Posts: n/a
 
      25th Sep 2007
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 With Quote
 
=?Utf-8?B?RmFyaGFk?=
Guest
Posts: n/a
 
      25th Sep 2007
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()*3>90,IF(64+COLUMN()*3-26>90,"'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 With Quote
 
=?Utf-8?B?U2FzaWtpcmFu?=
Guest
Posts: n/a
 
      25th Sep 2007
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()*3>90,IF(64+COLUMN()*3-26>90,"'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 With Quote
 
=?Utf-8?B?RmFyaGFk?=
Guest
Posts: n/a
 
      25th Sep 2007
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()*3>90,IF(64+COLUMN()*3-26>90,"'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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formula in Excel 07 to get the formula used in one cell in anothercell, showing VALUES, not cells references TobiasAL Microsoft Excel Discussion 2 1st Nov 2009 10:09 AM
Dragging Cell References/Formulas Richhall Microsoft Excel Worksheet Functions 5 5th Jan 2008 03:06 PM
Dragging cell's formula changes BOTH referenced cells - don't want that! markinva Microsoft Excel Discussion 3 18th Aug 2005 03:34 PM
Dragging a Cell Changes Formula JanetW Microsoft Excel Misc 8 23rd Jan 2004 12:38 PM
Re: Problem with dragging a formula to cell in the next adjacent column... Gord Dibben Microsoft Excel Worksheet Functions 0 23rd Jul 2003 11:04 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:07 PM.