#1   Report Post  
Posted to microsoft.public.excel.misc
AlienBeans
 
Posts: n/a
Default formula issue


I have a formula that I'm using to pull data from a cell on multiple
sheets...The formula is =SUM(Week1!$L$52) This formula I want to use
across the same row, changing the week number in each cell, but not the
cell reference...In other words...the cell next to it would be
=SUM(Week2!$L$52), next one would be week 3, and so on. Is there a
shortcut to doing this so that It will update across the row all the
way to 14?? I have 60 rows of formulas, and it would be easier to just
enter each one ONE time, and copy and paste somehow across the sheet but
keep the formula reference correct.


--
AlienBeans
------------------------------------------------------------------------
AlienBeans's Profile: http://www.excelforum.com/member.php...o&userid=32352
View this thread: http://www.excelforum.com/showthread...hreadid=546580

  #2   Report Post  
Posted to microsoft.public.excel.misc
duane
 
Posts: n/a
Default formula issue


if you place this in column A and copy across to column B, etc you will
get the value from cell L52 on sheet week1, then week2, etc. Does not
appear to require the sum function.

=INDIRECT("week"&COLUMN()&"!L52",TRUE)


--
duane


------------------------------------------------------------------------
duane's Profile: http://www.excelforum.com/member.php...o&userid=11624
View this thread: http://www.excelforum.com/showthread...hreadid=546580

  #3   Report Post  
Posted to microsoft.public.excel.misc
AlienBeans
 
Posts: n/a
Default formula issue


duane,

thanks for the reply. I'm not going across columns here. I'm taking
the formula across a row.... Like say ROW 22...my formula starts with
column C and goes across to column P. The only thing I want it to
change is the week number in each of the 14 columns. but don't want to
have to type it out 14 times for each row..(60 rows)


--
AlienBeans
------------------------------------------------------------------------
AlienBeans's Profile: http://www.excelforum.com/member.php...o&userid=32352
View this thread: http://www.excelforum.com/showthread...hreadid=546580

  #4   Report Post  
Posted to microsoft.public.excel.misc
duane
 
Posts: n/a
Default formula issue


in column C and copied through column P

=INDIRECT("week"&COLUMN()-2&"!L52",TRUE)

will result in =week1!L52, =week2!L52, etc

not sure why you want to use the SUM function for just one cell


--
duane


------------------------------------------------------------------------
duane's Profile: http://www.excelforum.com/member.php...o&userid=11624
View this thread: http://www.excelforum.com/showthread...hreadid=546580

  #5   Report Post  
Posted to microsoft.public.excel.misc
AlienBeans
 
Posts: n/a
Default formula issue


Well, I'm not very well versed in excel at all. I did a little
searching in the help file in excel and its the only thing I could come
up with to give me what I wanted. I tried your formula and went in and
entered some data on week 1, but the total didn't transfer to the weekly
totals sheet. any ideas?


--
AlienBeans
------------------------------------------------------------------------
AlienBeans's Profile: http://www.excelforum.com/member.php...o&userid=32352
View this thread: http://www.excelforum.com/showthread...hreadid=546580



  #6   Report Post  
Posted to microsoft.public.excel.misc
duane
 
Posts: n/a
Default formula issue


the formula will only pick up entries in cell L52 so double check the
data you entered.


--
duane


------------------------------------------------------------------------
duane's Profile: http://www.excelforum.com/member.php...o&userid=11624
View this thread: http://www.excelforum.com/showthread...hreadid=546580

  #7   Report Post  
Posted to microsoft.public.excel.misc
AlienBeans
 
Posts: n/a
Default formula issue


Works!!!! Thank You Very Much...:)


--
AlienBeans
------------------------------------------------------------------------
AlienBeans's Profile: http://www.excelforum.com/member.php...o&userid=32352
View this thread: http://www.excelforum.com/showthread...hreadid=546580

  #8   Report Post  
Posted to microsoft.public.excel.misc
Biff
 
Posts: n/a
Default formula issue

If you enter the formula like this:

=INDIRECT("week"&COLUMNS($A:A)&"!L52")

Then you're not dependent on which column the formula is entered in and
don't need to calculate an offset:

=INDIRECT("week"&COLUMN()-2&"!L52")

If the above formula were entered in cell Z1 then it would evaluate to:

=Week24!L52

The first formula will evaluate to:

=Week1!L52

no matter what cell it's entered in.

Biff

"AlienBeans" wrote
in message ...

Works!!!! Thank You Very Much...:)


--
AlienBeans
------------------------------------------------------------------------
AlienBeans's Profile:
http://www.excelforum.com/member.php...o&userid=32352
View this thread: http://www.excelforum.com/showthread...hreadid=546580



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
Excel 2003 Formula Issue richjthorpe Excel Discussion (Misc queries) 4 April 11th 06 01:45 PM
Formula issue kelljeff Excel Discussion (Misc queries) 3 April 3rd 06 07:26 PM
imported impromtu report date issue - fix by format or formula Todd F. Excel Discussion (Misc queries) 3 July 7th 05 09:57 PM
formula SUMIF or whichever one will work for my issue Richelle Excel Worksheet Functions 5 March 31st 05 11:01 PM
Problem with VBA returning the contents of a long formula. [email protected] Excel Discussion (Misc queries) 2 February 23rd 05 12:14 AM


All times are GMT +1. The time now is 09:58 PM.

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"