Go Back   Tactical Gamer > General Forums > Hardware & Software Discussion


Hardware & Software Discussion Hardware and Software discussion and troubleshooting. Tweakers and Overclockers welcome!

Reply
 
Thread Tools
Old 05-31-2007, 01:19 PM   #1 (permalink)

 
TheFeniX's Avatar
 
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.
__________________
TheFeniX is offline   Reply With Quote
Old 05-31-2007, 01:50 PM   #2 (permalink)
 
JAMerica's Avatar
 
Join Date: Feb 2007
Posts: 532
Re: Excel Insanity

try ='1'!$G$17

The $ should fix the column/row number in formulas
__________________

--------------------------------------------
Jamerius (Feral Druid)
JAMerica is offline   Reply With Quote
Sponsored links
Old 05-31-2007, 01:55 PM   #3 (permalink)
 
MagnaCentipede's Avatar
 
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.
__________________
MagnaCentipede is offline   Reply With Quote
Old 05-31-2007, 02:06 PM   #4 (permalink)

 
TheFeniX's Avatar
 
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.
__________________
TheFeniX is offline   Reply With Quote
Old 05-31-2007, 02:14 PM   #5 (permalink)

 
TheFeniX's Avatar
 
Join Date: Jan 2004
Location: Houston, TX
Age: 26
Posts: 4,478
Re: Excel Insanity

Ok, another round-about. I pasted in the formulas, then did a find/replace to put in the numbers I needed.

Good Times......
__________________
TheFeniX is offline   Reply With Quote
Old 05-31-2007, 02:16 PM   #6 (permalink)
 
Catman1975's Avatar
 
Join Date: Jan 2007
Location: Purgatory
Age: 33
Posts: 2,941
Re: Excel Insanity

Quote:
Originally Posted by TheFeniX View Post
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.
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."


Catman1975 is offline   Reply With Quote
Sponsored links
Old 05-31-2007, 02:20 PM   #7 (permalink)
 
Dick Blonov's Avatar
 
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.
Dick Blonov is offline   Reply With Quote
Sponsored links
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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


All times are GMT -4. The time now is 07:24 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
©2004-2008 - Tactical Gamer - All Rights Reserved