Actuarial Outpost
 
Go Back   Actuarial Outpost > Actuarial Discussion Forum > Software & Technology
FlashChat Actuarial Discussion Preliminary Exams CAS/SOA Exams Cyberchat Around the World Suggestions

CATASTROPHE MODELING JOBS

Reply
 
Thread Tools Display Modes
  #1  
Old 06-12-2003, 02:37 PM
Kenny's Avatar
Kenny Kenny is offline
Member
Aktüerler Derneği
 
Join Date: Jan 2003
Posts: 6,429
Default links in XL not working

I just encountered a very strange problem in Excel and thought I would see if anyone else has encountered this problem.

I opened a file I use frequently. It links only within the file and performs a number of calculations. When I opened it this time some of the links were not working. For example, two cells (Cell1 & Cell2) on different sheets linked to the same cell on a third sheet. The cell being pulled (Cell3) was a calculation resulting in a number. The calculation in Cell3 was working properly and displayed the correct number. Cell1 & Cell2 both showed the word "estimate" rather than the number that appeared in Cell3 and all the calculations which used Cell2 no longer worked. Another example, on the same sheet as Cell1 I have Cell4 which references Cell5. Cell5 is a number (1993), but Cell4 showed 0.

I was able fix them by relinking the cells. Wanting someone else to see this, to see if they had a better solution or a reason for this to happen, I saved it under a different name. This also fixed the problem. I was then able to resave it under the original name and everything seems to be working properly.

I guess I will just chalk it up to being another MS bug
Reply With Quote
  #2  
Old 06-12-2003, 02:48 PM
Brad Gile's Avatar
Brad Gile Brad Gile is offline
Member
CAS SOA AAA
 
Join Date: Sep 2001
Studying for whatever I feel like
College: Alumnus of Brown and UW-Madison
Posts: 11,104
Default Re: links in XL not working

Quote:
Originally Posted by Kenny
I guess I will just chalk it up to being another MS bug
Nah, just harpoon the bloke who fiddled with your file!

Actually, I think linking involves some hairy and sophisticated stuff that you never see. I avoid using it as much as possible and NEVER do I link to a different workbook.

Brad
__________________
Brad Gile, FSA, MAAA
Affiliate Member of the CAS
Dedicated Retired Actuary

Spoiler:
Obama sucks and we all know it-TDA


Spoiler:

That's been the funniest subplot of this whole thing, the people on the left attacking this bill for not being even more of a steaming pile. - erosewater
Reply With Quote
  #3  
Old 06-12-2003, 05:27 PM
Course 4 Escapee's Avatar
Course 4 Escapee Course 4 Escapee is offline
Member
 
Join Date: Nov 2001
Location: Milky Way
Posts: 2,897
Default

How do you use links AND avoid using it with another workbook? Isn't that by definition what a link is?
Reply With Quote
  #4  
Old 06-13-2003, 09:50 AM
Brad Gile's Avatar
Brad Gile Brad Gile is offline
Member
CAS SOA AAA
 
Join Date: Sep 2001
Studying for whatever I feel like
College: Alumnus of Brown and UW-Madison
Posts: 11,104
Default

Quote:
Originally Posted by Four-time Course 4 Loser
How do you use links AND avoid using it with another workbook? Isn't that by definition what a link is?
Nope. Every workbook (=.XLS file) will have one or more worksheets. Different XLS files are different workbooks.

1. Links can be within one workSHEET or between workSHEETS of a common workBOOK.
2. Links can, however, also be established between cells of two different workbooks.

Both cases can be problematic, but the second is generally the more dangerous. I avoid linking by using VBA to grab the data I need from other workbooks or worksheets directly. That way, if there is an error condition, I can track it down quickly and (usually) easily.

Brad
__________________
Brad Gile, FSA, MAAA
Affiliate Member of the CAS
Dedicated Retired Actuary

Spoiler:
Obama sucks and we all know it-TDA


Spoiler:

That's been the funniest subplot of this whole thing, the people on the left attacking this bill for not being even more of a steaming pile. - erosewater
Reply With Quote
  #5  
Old 06-13-2003, 10:01 AM
Bama Gambler's Avatar
Bama Gambler Bama Gambler is online now
James Washer / Notes Contributor
SOA
 
Join Date: Jan 2002
Location: B'ham, AL
Posts: 16,136
Default

I guess I don't understand why you would ever need to link within the same workbook. How about using vlookup? Can someone give me a good reason to link within a workbook?
__________________

Now offering online seminars and live seminars for the Spring 2013 exams.

Follow us on Twitter, Facebook, and LinkedIn.
Reply With Quote
  #6  
Old 06-13-2003, 10:29 AM
Cho Da's Avatar
Cho Da Cho Da is offline
Site Supporter
Site Supporter
CAS
 
Join Date: Sep 2001
Posts: 3,054
Default

I don't understand that either. It really isn't a "link" if it is between two sheets in the same workbook, it is usually just a cell reference. "Links" should be visible in "Edit Links".

From a maintenance point of view, defining names is the best way to go, especially if you anticipate changing the range towhich the name refers. Note that named references can be relative, or even literals.
__________________
Don't listen to a word I say. The screams all sound the same.
Reply With Quote
  #7  
Old 06-16-2003, 11:56 AM
Kenny's Avatar
Kenny Kenny is offline
Member
Aktüerler Derneği
 
Join Date: Jan 2003
Posts: 6,429
Default

Please excuse my poor choice of wording.

Apparently using the word "link" is my own naming convention and not correct Excel terminology. Is there really any difference?
Reply With Quote
  #8  
Old 06-16-2003, 11:58 AM
Kenny's Avatar
Kenny Kenny is offline
Member
Aktüerler Derneği
 
Join Date: Jan 2003
Posts: 6,429
Default

Quote:
Originally Posted by Bama Gambler
I guess I don't understand why you would ever need to link within the same workbook. How about using vlookup? Can someone give me a good reason to link within a workbook?
As per my post above, it isn't technically a link, just a direct cell reference. I have always used the term link when referencing between worksheets.
Reply With Quote
Reply

Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT -4. The time now is 05:14 PM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
*PLEASE NOTE: Posts are not checked for accuracy, and do not
represent the views of the Actuarial Outpost or its sponsors.
Page generated in 0.20935 seconds with 7 queries