formulas using various workbooks
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Formulas using various workbooks.

Formulas using various workbooks.

resolvedResolved · Low Priority · Version 2007

replyReply Thu 23 Jun 2011, 11:34Delegate Megan said...

Megan has attended:
Excel Advanced course

Formulas using various workbooks.

Hi,

I have a workbook which uses SUMIF functions to sum data from another workbook.

Unfortunately the formulas only work if both workbooks are open, otherwise i get a #VALUE result.

Is there any way I can set it up so that the other workbook does not have to be open?

For upcoming training course dates see: Pricing & availability

replyReply Fri 24 Jun 2011, 14:06Trainer Stephen said...

RE: Formulas using various workbooks.

Hi Megan

Thanks for your question. Could you clarify something for me?

When you open the workbook, are you prompted to update the links to the external workbook?

Thanks

Stephen

replyReply Fri 24 Jun 2011, 14:11Delegate Megan said...

RE: Formulas using various workbooks.

Hi Stephen,

No there isn't any prompts.

Thanks,

replyReply Wed 29 Jun 2011, 09:25Trainer Stephen said...

RE: Formulas using various workbooks.

Hi Megan

Thanks for your reply

The first thing to check are the security settings on Excel

Click on the Office Button and go to Options. Click on Trust Centre and select External Content. Under Security Settings For workbook links, the second option "Prompt user....", should be selected. I suspect that in your case the third option which disables all links might be active. If this is true select the second option, close all the files and reopen

If this is not the case, or if it doesn't work please get back to me

regards

Stephen

replyReply Wed 29 Jun 2011, 16:51 Edited on Wed 29 Jun 2011, 16:52Delegate Megan said...

RE: Formulas using various workbooks.

Hi Stephen,

Thankyou for your reply,

Unfortunately my settings were already setup like you indicated and so it is still not working. even though it is set up to prompt I still do not get the prompts either.

Any other ideas?

Kind regards,
Megan

replyReply Thu 30 Jun 2011, 09:49Trainer Stephen said...

RE: Formulas using various workbooks.

Hi Megan

Thanks for your question

I have carried out a little research and discovered several references that say that sumif only works if the referenced workbook is open.

I was not aware of this until now.

I am continuing to look at the problem to understand

1. Why this is the case
2. If there is a way round it

If I learn anything of interest or use, then I will get back to you

Regards

Stephen

replyReply Thu 30 Jun 2011, 09:57Delegate Megan said...

RE: Formulas using various workbooks.

Thank you

replyReply Fri 1 Jul 2011, 10:10Trainer Stephen said...

RE: Formulas using various workbooks.

Hi Megan

Just a follow up. I can confirm that SUMIF like SUMIFs, COUNTIF, COUNTIFS can not be used with closed target files.

The reasons are apparently highly technical and are caused by the structure of the algorithm.

It might be possible to get the same effect with complex nested IF AND and OR functions, but without seeing the data, it is difficult to be precise

Regards

Stephen

replyReply Fri 1 Jul 2011, 10:12Delegate Megan said...

RE: Formulas using various workbooks.

Thankyou stephen,

I will look at the data again and see if I can do it another way.

Thankyou for your help.

 

Please browse our web site to find out more about
microsoft excel 2003 vba courses and other Microsoft training courses.

Excel tip:

Freeze Rows and Columns to keep lables displayed

You can freeze rows and columns in your worksheet so they don't move.

This allows you to keep row and column labels displayed on your screen as you move through a large worksheet.

Click below and/or to the right of the cell(s) you want to freeze. (NB. Excel freezes ALL the rows above and ALL the columns to left of the selected cell)

Click on the 'Windows' menu and selct 'Freeze Panes'.

Lines appear in your worksheet. The required rows and columns are frozen and remain on your screen as you move through your worksheet.

To unfreeze rows and columns, click on 'Window' menu and select 'Unfreeze Panes'.

View all Excel hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard