LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 23
Default Pulling Data from External Worksheets

I'm setting up a master worksheet to pull data from various external
workbooks (some of which aren't yet populated). I am using the following
formula to obtain the external data:

='C:\Data Files\Brandi -SALES\Expenses\ExpenseReports\[DR01.xls]Revised
Expense Report'!D38

I've also copied the formula to adjacent cells to pull from any subsequent
files which would be named DR02, DR03, and DR04. The problem is, these files
aren't in the ExpenseReports folder yet (aren't created yet) and it's giving
me the #REF! error in the cell and errors in my total columns (obviously). I
should also mention that some of the files may not ever be created. DR01
would be the first expense report in the month, DR02 the second, etc. Some
months, there may be only one while other months there may be four.

With that said, is there any way to modify the forumla to say -go look in
the ExpenseReport folder for a worksheet named DR02 and if it's there, get
the data in cell D38; otherwise leave this cell blank (or hide the error
message).
I've tried using conditional formatting to change the font for =#REF! to
white but it didn't work (I presume because #REF! isn't considered "data" in
the cell). Anyway, my objective is to keep the spreadsheet from showing
errors all over the page while the data is auto populated throughout the
year. Is that even possible?

Any help is appreciated!
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
formulas pulling data from other worksheets RogerB Excel Discussion (Misc queries) 0 February 15th 08 07:35 PM
Tying to extract all data from a pivot pulling from external data Ted Urban Excel Discussion (Misc queries) 3 September 14th 07 10:50 AM
pulling data into a master sheet from multiple worksheets Jess Excel Worksheet Functions 3 February 3rd 07 08:11 AM
How do linked worksheets exist with data on an external device tazzer Excel Worksheet Functions 0 August 5th 06 09:42 AM
Macro pulling data from 2 worksheets billrl34 Excel Discussion (Misc queries) 2 December 12th 05 08:50 PM


All times are GMT +1. The time now is 05:58 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"