Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default using cell info in an equation... Very frusterated


Bare with me as I try to explain this.

I am working with an equation like the one below.

=[648455.xls]Sumbit!$L$9

I need a formula that will look in a cell to get the beginning number
for the equation.

Example

Say the number 648455 is in cell C75, I in turn need it to take the
number from cell C75 and place it in the equation as seen above and
then process that equation. I am not sure if excel can do this, or if I
will have to use a macro. You guys always seem to have the solution so I
figured I would bounce off you.

Please let me know if you need more info on what I need if this is not
clear.

Thanks so much for you help.

Mike (Nashville)


--
miwarren
------------------------------------------------------------------------
miwarren's Profile: http://www.excelforum.com/member.php...o&userid=24682
View this thread: http://www.excelforum.com/showthread...hreadid=476811

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default using cell info in an equation... Very frusterated

=Indirect("[" & C75 & ".xls]Sumbit!L9")


--
Regards,
Tom Ogilvy



"miwarren" wrote in
message ...

Bare with me as I try to explain this.

I am working with an equation like the one below.

=[648455.xls]Sumbit!$L$9

I need a formula that will look in a cell to get the beginning number
for the equation.

Example

Say the number 648455 is in cell C75, I in turn need it to take the
number from cell C75 and place it in the equation as seen above and
then process that equation. I am not sure if excel can do this, or if I
will have to use a macro. You guys always seem to have the solution so I
figured I would bounce off you.

Please let me know if you need more info on what I need if this is not
clear.

Thanks so much for you help.

Mike (Nashville)


--
miwarren
------------------------------------------------------------------------
miwarren's Profile:

http://www.excelforum.com/member.php...o&userid=24682
View this thread: http://www.excelforum.com/showthread...hreadid=476811



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default using cell info in an equation... Very frusterated


I got a #REF! error, any other suggestions.

I just figured it out, I have to open the file, unfortunately this
needs to scan about 300 files which opening all those everytime is
probably not the best solution. Any other ideas?

Thanks

Tom Ogilvy Wrote:
=Indirect("[" & C75 & ".xls]Sumbit!L9")


--
Regards,
Tom Ogilvy



"miwarren"
wrote in
message ...

Bare with me as I try to explain this.

I am working with an equation like the one below.

=[648455.xls]Sumbit!$L$9

I need a formula that will look in a cell to get the beginning

number
for the equation.

Example

Say the number 648455 is in cell C75, I in turn need it to take the
number from cell C75 and place it in the equation as seen above and
then process that equation. I am not sure if excel can do this, or if

I
will have to use a macro. You guys always seem to have the solution

so I
figured I would bounce off you.

Please let me know if you need more info on what I need if this is

not
clear.

Thanks so much for you help.

Mike (Nashville)


--
miwarren

------------------------------------------------------------------------
miwarren's Profile:

http://www.excelforum.com/member.php...o&userid=24682
View this thread:

http://www.excelforum.com/showthread...hreadid=476811



--
miwarren
------------------------------------------------------------------------
miwarren's Profile: http://www.excelforum.com/member.php...o&userid=24682
View this thread: http://www.excelforum.com/showthread...hreadid=476811

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default using cell info in an equation... Very frusterated

the formula you showed

=[648455.xls]Sumbit!$L$9

Only works for an open file. If you expected the file to be closed you
should have illustrated with

='C:\My Folder\[648455.xls]Sumbit!$L$9'
then time wouldn't have been wasted providing the Indirect answer (for which
it is stated in help on Indirect that is doesn't work with a closed file)
and you wouldn't have had to waste time reinventing the wheel.

Anyway,

the easy solution is to build your hardcoded formula with code using the
value in your cell.

If you insist on a formula solution, you can search Google Groups for author
Harlan Grove and his PULL routine. This is a UDF he wrote which will start
a new instance of excel, open the file, extract the data, close the file,
close the instance of excel and return the result. If you are scanning 300
files, that doesn't sound practical to me, but what you mean by scanning 300
files isn't necessarily definitive either.

--
Regards,
Tom Ogilvy



"miwarren" wrote in
message ...

I got a #REF! error, any other suggestions.

I just figured it out, I have to open the file, unfortunately this
needs to scan about 300 files which opening all those everytime is
probably not the best solution. Any other ideas?

Thanks

Tom Ogilvy Wrote:
=Indirect("[" & C75 & ".xls]Sumbit!L9")


--
Regards,
Tom Ogilvy



"miwarren"
wrote in
message ...

Bare with me as I try to explain this.

I am working with an equation like the one below.

=[648455.xls]Sumbit!$L$9

I need a formula that will look in a cell to get the beginning

number
for the equation.

Example

Say the number 648455 is in cell C75, I in turn need it to take the
number from cell C75 and place it in the equation as seen above and
then process that equation. I am not sure if excel can do this, or if

I
will have to use a macro. You guys always seem to have the solution

so I
figured I would bounce off you.

Please let me know if you need more info on what I need if this is

not
clear.

Thanks so much for you help.

Mike (Nashville)


--
miwarren

------------------------------------------------------------------------
miwarren's Profile:

http://www.excelforum.com/member.php...o&userid=24682
View this thread:

http://www.excelforum.com/showthread...hreadid=476811



--
miwarren
------------------------------------------------------------------------
miwarren's Profile:

http://www.excelforum.com/member.php...o&userid=24682
View this thread: http://www.excelforum.com/showthread...hreadid=476811



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
Copy info into empty cells below info, until finds cell with new d Fat Jack Utah Excel Discussion (Misc queries) 3 November 16th 08 08:34 PM
Move cell info and info in neighboring cell on new entry belvy123 Excel Discussion (Misc queries) 6 June 25th 08 02:01 PM
Extremely frusterated. 3 quick questions Chris Excel Worksheet Functions 6 June 17th 06 08:32 PM
Link info in one cell to info in several cells in another column (like a database) hansdiddy Excel Discussion (Misc queries) 1 February 22nd 06 02:27 AM
Frusterated JSolesky Excel Discussion (Misc queries) 1 December 7th 05 05:31 PM


All times are GMT +1. The time now is 11:49 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"