![]() |


|
|||||||
| Hardware & Software Discussion Hardware and Software discussion and troubleshooting. Tweakers and Overclockers welcome! |
![]() |
|
|
Thread Tools |
|
|
#1 (permalink) |
![]() ![]() Join Date: Jan 2004
Location: Houston, TX
Age: 26
Posts: 4,478
|
Excel Insanity
So, I've got some logs for a monthly deal. This whole spreadsheet consists of separate sheets (one for each day of the month) and a summary table.
Now, for one of the summary cells, I have this formula: ='1'!G17 This makes a call to one cell from the "Day 1" spreadsheet. Now, I've got to do this SAME cell for sheets 2-31 for the summary. If I copy and paste the formula down the list, excel trying to be smart, makes it go: ='1'!G17 ='1'!G18 ='1'!G19 and so on. That's obviously not what I need. I need excel to go down the list like this: ='1'!G17 ='2'!G17 ='3'!G17 ='4'!G17 and so on. Any ideas? I can go at my current rate, but I'm looking at many more hours of work as there's about 10 calls per sheet and 31 days. It adds up.
__________________
|
|
|
|
|
|
#3 (permalink) |
![]() Join Date: May 2007
Posts: 1,957
|
Re: Excel Insanity
I don't think the methods of autocomplete will work the way you want it to, here. You could place a string to lock the row value (!G$17), but that won't help the sheet page counter.
You might check for arcane functions or methods; there might be a built-in way to sum the same cell through a range of pages. Excel needs to do something useful to justify it's weight, right? Sorry I'm not of more help; I don't use multipage spreadsheets with any frequency.
__________________
![]() ![]()
|
|
|
|
|
|
#4 (permalink) |
![]() ![]() Join Date: Jan 2004
Location: Houston, TX
Age: 26
Posts: 4,478
|
Re: Excel Insanity
I found a cop-out: by doing one row manually, then copying and pasting, it keeps the '1', '2', '3', etc numbering and only messes up the letter of the second variable. Ex: '4'!G17 becomes '4'P17. But the number stays the same.
It works and is faster. Oh well.
__________________
|
|
|
|
|
|
#6 (permalink) |
![]() Join Date: Jan 2007
Location: Purgatory
Age: 33
Posts: 2,941
|
Re: Excel Insanity
Like JAMerica said, to keep the column and rows from changing, put a $ before the one that you don't want to change Ex: '4'!$G17, Then copy and paste and the columns will not change.
__________________
A captain of the most awesome IHS ever and remember to burn before you pillage. "I proceeded to burn him alive by saturating his clothing and his face with benzene and igniting it with a match. So horrible was this torture that in writing of it I have been tempted to attribute his death to some humane means-not with a wish to spare myself, but because I fear that it will not be believed that one could be so heartless and depraved." ![]() ![]() |
|
|
|
| Sponsored links | |
|
|
|
|
|
#7 (permalink) |
![]() Join Date: Feb 2006
Location: In a Vortex!
Age: 51
Posts: 3,398
|
Re: Excel Insanity
This formula will copy properly:
=INDIRECT("'"&A1&"'"&"!A6") Just paste that in the cell where you want your summary. Set A1 to A31 on the summary sheet to = 1 to 31 (the name of the daily sheets). A6 is the position on the daily sheet that you want to add up (like daily total I guess). So if you are summarizing multiple daily totals, just replace that A6 with whatever cell contains that total and leave the rest intact. If you want to call your sheets «Day 1» to «Day 31», change the formula to: =INDIRECT("'"&"Day "&A1&"'"&"!A6") or fill A1 to A31 with whatever sheet names you have (Day 1, Day 2, etc). Is that what you were looking for ? ( note the highlighted double quotations marks in red in the first example, single quote marks are bold) DB
__________________
|TG-6th|Blonov «Any situation that involves the line "I was ran over by a dumptruck..." can't be good.» eGoatBoy BattleField2 SOPs | Teamspeak | Server Rules and SOPs | The 6th Devil's Brigade ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Last edited by Dick Blonov; 05-31-2007 at 07:16 PM. |
|
|
|
| Sponsored links | |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|

