Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
 
Posts: n/a
Default How can I pull data from a different file from within a formula?

I'm trying to determine the number of shifts required to produce
widgets at our factory. We know the average speed that the widgets are
produced at. We know the quantity of widgets on order. We need to pull
the average speed for said widgets off of another spreadsheet (which is
on a shared network drive). The reason for this is so that when we
change our staffing levels, only one spreadsheet has to be updated (the
one with the average running speed).
Here's how I arrive at it, but I don't know how to sandwich the file
path into the formula:

Assuming a1, b1, and c1 have numbers in them...
d1 sums a1:c1 with the formula =sum(a1:c1)

Here's what I want:
=ROUNDUP(SUM(D1/Location Of File As Shown Below)/8,0)

I'm not sure if I should use
\ServerName\Directory Name\File Name.xls
OR
N:\Directory Name\File Name.xls (This is the mapped network drive path,
equivalent to the one listed above)

How do I get Excel to pull the data from the secondary file from within
the formula? And which way do I express the data path? Server name, or
mapped drive name?

I'm sorry if this isn't clear, but I am not quite sure how else to
express it.

Thanks in advance for any help!

Jim

  #2   Report Post  
Posted to microsoft.public.excel.misc
exceluserforeman
 
Posts: n/a
Default How can I pull data from a different file from within a formula?

N:\Directory Name\File Name.xls

Use a cell for the value then

eg:

AA1="N:\FolderName\Filename.xls!A1"


=ROUNDUP(SUM(D1/AA1/8,0)


" wrote:

I'm trying to determine the number of shifts required to produce
widgets at our factory. We know the average speed that the widgets are
produced at. We know the quantity of widgets on order. We need to pull
the average speed for said widgets off of another spreadsheet (which is
on a shared network drive). The reason for this is so that when we
change our staffing levels, only one spreadsheet has to be updated (the
one with the average running speed).
Here's how I arrive at it, but I don't know how to sandwich the file
path into the formula:

Assuming a1, b1, and c1 have numbers in them...
d1 sums a1:c1 with the formula =sum(a1:c1)

Here's what I want:
=ROUNDUP(SUM(D1/Location Of File As Shown Below)/8,0)

I'm not sure if I should use
\ServerName\Directory Name\File Name.xls
OR
N:\Directory Name\File Name.xls (This is the mapped network drive path,
equivalent to the one listed above)

How do I get Excel to pull the data from the secondary file from within
the formula? And which way do I express the data path? Server name, or
mapped drive name?

I'm sorry if this isn't clear, but I am not quite sure how else to
express it.

Thanks in advance for any help!

Jim


Reply
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
Referencing multiple criteria to pull data doug1 Excel Discussion (Misc queries) 3 March 14th 06 09:30 PM
Help PLEASE! Not sure what answer is: Match? Index? Other? baz Excel Worksheet Functions 7 September 3rd 05 03:47 PM
Formula to get Relative Folder Reference to data in another file? RocketDude Excel Worksheet Functions 0 August 17th 05 10:03 PM
How to pull data out of an excell file with multiple tabs mdeanda Excel Worksheet Functions 1 May 28th 05 02:21 AM
Sort pages? David Excel Discussion (Misc queries) 15 May 13th 05 11:33 PM


All times are GMT +1. The time now is 11:44 PM.

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"