Welcome to the { mindfrost82.com } forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Microsoft > MS Office > Excel

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-21-2008, 10:45 AM
Khalil handal
 
Posts: n/a
Copy

Hi,
I have a sheet with the name of: June 2006
In an other sheet called (Report) in the same workbook in cell C25
I have the following formula: ='June 2006'!E$160*'June 2006'!$D$1+'June
2006'!F$160
I need to copy that formula to the next 73 cells (aproximatly) leaving lines
for subtotal between.
to clarify:
C26 will have: ='June 2006'!G$160*'June 2006'!$D$1+'June 2006'!H$160
C27 will have: ='June 2006'!I$160*'June 2006'!$D$1+'June 2006'!J$160
C28 will have: ='June 2006'!K$160*'June 2006'!$D$1+'June 2006'!L$160
.................. ...........
............................
The last cell will have the formula of:
='June 2006'!EG$160*'June 2006'!$D$1+'June
2006'!EH$160

Is there an easy way to do it? I am going to do this for 12 sheets (12
months).


Reply With Quote
  #2 (permalink)  
Old 05-21-2008, 12:56 PM
Pete_UK
 
Posts: n/a
Re: Copy

Have a look at the INDIRECT and OFFSET functions in Excel Help.

Hope this helps.

Pete

On May 21, 10:45*am, "Khalil handal" <khhan...@yahoo.com> wrote:
> Hi,
> I have a sheet with the name of: *June 2006
> In an other sheet called (Report) in the same workbook in cell C25
> I have the following formula: * ='June 2006'!E$160*'June 2006'!$D$1+'June
> 2006'!F$160
> I need to copy that formula to the next 73 cells (aproximatly) leaving lines
> for subtotal between.
> to clarify:
> C26 will have: * ='June 2006'!G$160*'June 2006'!$D$1+'June 2006'!H$160
> C27 will have: *='June 2006'!I$160*'June 2006'!$D$1+'June 2006'!J$160
> C28 will have: *='June 2006'!K$160*'June 2006'!$D$1+'June 2006'!L$160
> ................. *...........
> ...........................
> The last cell will have the formula of:
> * * * * * * * * * * * * ='June 2006'!EG$160*'June 2006'!$D$1+'June
> 2006'!EH$160
>
> Is there an easy way to do it? *I am going to do this for 12 sheets (12
> months).


Reply With Quote
  #3 (permalink)  
Old 05-21-2008, 06:28 PM
Excel@shoenfeltconsulting.com
 
Posts: n/a
Re: Copy

I don't think you're going to need the INDIRECT function -- just
OFFSET. You will probably also need the ROWS and COLUMNS function.
Write me if you have trouble and I'll help you write the formula.
Thanks,
Reply With Quote
  #4 (permalink)  
Old 05-21-2008, 08:48 PM
Gord Dibben
 
Posts: n/a
Re: Copy

It is the custom in these news groups to post solutions here where we all may
benefit.

If you have an idea of what your formulas will be, show us an example please.


Gord Dibben MS Excel MVP

On Wed, 21 May 2008 10:28:34 -0700 (PDT), "Excel@shoenfeltconsulting.com"
<excel@shoenfeltconsulting.com> wrote:

>I don't think you're going to need the INDIRECT function -- just
>OFFSET. You will probably also need the ROWS and COLUMNS function.
>Write me if you have trouble and I'll help you write the formula.
>Thanks,


Reply With Quote
  #5 (permalink)  
Old 05-21-2008, 09:11 PM
Khalil Handal
 
Posts: n/a
Re: Copy

Hi,
I have ssen the Offset function at the help and realized that the: rows,
cols, height and width are to define the range so that it is clear that the
begining and ending cell in the range are known. I think that in my sheet:
C25=='June 2006'!E$160*'June 2006'!$D$1+'June 2006'!F$160
will look like: =OFFSET('June 2006'!D159,1,1,1,2)
This didn't work:
1- the #VALUE error appear.
2- the first cell needs to be multiplied with $D$1 value.

I am confused!


"Excel@shoenfeltconsulting.com" <excel@shoenfeltconsulting.com> wrote in
message
news:6c36c629-4426-4af8-8ead-edac1e570d39@y38g2000hsy.googlegroups.com...
>I don't think you're going to need the INDIRECT function -- just
> OFFSET. You will probably also need the ROWS and COLUMNS function.
> Write me if you have trouble and I'll help you write the formula.
> Thanks,



Reply With Quote
  #6 (permalink)  
Old 05-21-2008, 09:14 PM
Khalil Handal
 
Posts: n/a
Re: Copy-1

Hi,
=SUM(OFFSET('June 2006'!D159,1,1,1,2))
sums the values in the cells E160 and F160.
What changes needs to be done to have the vale of cell E160 be multiplied
with the value in cell $D$1?
This might make it more clear to the previous posting


"Excel@shoenfeltconsulting.com" <excel@shoenfeltconsulting.com> wrote in
message
news:6c36c629-4426-4af8-8ead-edac1e570d39@y38g2000hsy.googlegroups.com...
>I don't think you're going to need the INDIRECT function -- just
> OFFSET. You will probably also need the ROWS and COLUMNS function.
> Write me if you have trouble and I'll help you write the formula.
> Thanks,



Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Microsoft > MS Office > Excel


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

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



All times are GMT. The time now is 03:43 AM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0


Sponsors:
Montana Music | Credit Card | Cheat Codes | Problem Mortgage | Free Games



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114