Pelican Parts
Parts Catalog Accessories Catalog How To Articles Tech Forums
Call Pelican Parts at 888-280-7799
Shopping Cart Cart | Project List | Order Status | Help



Go Back   Pelican Parts Forums > Miscellaneous and Off Topic Forums > Off Topic Discussions


Reply
 
LinkBack Thread Tools Rate Thread
Author
Thread Post New Thread    Reply
Student of the obvious
 
LeeH's Avatar
 
Join Date: May 2000
Location: Phoenix
Posts: 7,714
Need help from Excel experts

I'll try to explain this as simply as possible. Note that I have good basic Excel skills, but far from advanced Excel skills.

Spreadsheet "Report" is in "A" directory. It pulls data from another spreadsheet "Jan. P&L" that is also in directory "A", and several others.

Next month I'll need to duplicate this, but in directory "B". If I just copy Spreadsheet "Report" to directory "B" the links still point to directory "A", right? So if I create a new spreadsheet "Feb P&L" and put it in directory "B", my new spreadsheet "Report" won't see the new data unless I redirect all the links, of which there will be many.

Is there a way to have the main "Report" spreadsheet act as a template where it will look locally for spreadsheet "[current month]P&L" without having to manually change the links? I'd like to be able to automate as much of this as possible.

__________________
Lee
Old 01-26-2009, 03:57 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #1 (permalink)
Registered
 
Join Date: May 2002
Posts: 68
I believe you can modify the sheet to point to a file named P&L in the same directory. When you copy this to a new directory, I think it will look to the local file first.

Another possibility is to look at the "edit links" option - it should give you a easy method to change the source file.
Old 01-26-2009, 08:32 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #2 (permalink)
Registered
 
LeRoux Strydom's Avatar
 
Join Date: Sep 2002
Location: Stellenbosch, South Africa
Posts: 888
AFAIK Excel looks for local links first. As long as the files remain in the same folder, it should be OK. Why not test it with two simple spreadheets?
__________________
'90 964 C2 coupe (sold )

There are no old Porsches, only new owners.
Old 01-26-2009, 09:47 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #3 (permalink)
Moderator
 
Don Plumley's Avatar
 
Join Date: Jun 2001
Location: Geyserville, CA
Posts: 6,921
Garage
Quote:
Originally Posted by LeRoux Strydom View Post
AFAIK Excel looks for local links first. As long as the files remain in the same folder, it should be OK. Why not test it with two simple spreadheets?
That's generally right AFIK - when you open a spreadsheet with linked cells, it will search for it locally, if it does not find it, it will ask you to locate it so you can point to it manually - and it will update all related links.
__________________
Don Plumley
M235i
memories: 87 911, 96 993, 13 Cayenne
Old 01-26-2009, 10:24 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #4 (permalink)
User
 
ikarcuaso's Avatar
 
Join Date: Feb 2006
Location: Oakland
Posts: 940
You'll need to use VBA to handle the dynamic filename reference (e.g. "[current month]P&L").

http://www.excel-vba.com/
__________________
82 Targa
Old 01-26-2009, 10:44 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #5 (permalink)
jyl jyl is online now
Registered
 
jyl's Avatar
 
Join Date: Jan 2002
Location: Nor California & Pac NW
Posts: 24,536
Garage
Or the low-tech way is select entire Report spreadsheet and use Edit | Replace to change all the links at once.
__________________
1989 3.2 Carrera coupe; 1988 Westy Vanagon, Zetec; 1986 E28 M30; 1994 W124; 2004 S211
What? Uh . . . “he” and “him”?
Old 01-27-2009, 06:26 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #6 (permalink)
 
Student of the obvious
 
LeeH's Avatar
 
Join Date: May 2000
Location: Phoenix
Posts: 7,714
Thanks for the suggestions. The edit:links definitely helped. I'd like to get this automated as much as possible, but have the feeling it's going to require too much manipulation of data each month for that to happen.
__________________
Lee
Old 01-27-2009, 08:35 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #7 (permalink)
Registered
 
Join Date: May 2002
Posts: 68
If you keep the month name in the directory and always use the same filename, it should work fine.

For example, instead of /directoryB/janPL and /directoryC/FebPL use
/January/PL
/February/PL

By keeping the file in the local directory always the same name, Excel will automatically do the links.

Good luck,

David

Old 01-27-2009, 08:41 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #8 (permalink)
Reply


 


All times are GMT -8. The time now is 01:21 AM.


 
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0
Copyright 2025 Pelican Parts, LLC - Posts may be archived for display on the Pelican Parts Website -    DMCA Registered Agent Contact Page
 

DTO Garage Plus vBulletin Plugins by Drive Thru Online, Inc.