Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default Insert a cell value into a link to another worksheet.

I have a summary workbook that pulls information in from other workbooks.
Each workbook relates to one specific real estate property. So each of the
source workbooks is exactly the same, except for the values within the cells
within the workbook, but the format and headings are identical.

So in my summary document, I have the property addresses down the far left
column, then I put links to the specific cell within the source document
across the row. For example: \\computer\my files\123 main st\[123 main
st.xlsx]termsA1

It looks like this -

PROPERTY PRICE CLOSE DATE BUYER NAME
123 main st $200000 5/1/09 Smith
456 maple $100000 5/15/09 Jones


What I would like to do is just type in the property address into the left
column to start a new row, and the links will use that address to insert into
the path. So in my path example above, I would like to insert a cell
reference instead of the words "123 main st"

I'm using find and replace now, but was hoping for a more elegant solution.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 793
Default Insert a cell value into a link to another worksheet.

Try INDIRECT...

essentially build a string using a formula which gives you the address of
the cell you are pulling the value from and wrap INDIRECT around

eg
=Sheet1!A1
can be replaced by
=INDIRECT("Sheet1!A" & B1)
where B1 contains 1

when B1 changes to 2
your formula will work as
=Sheet1!A2

"bsharp" wrote:

I have a summary workbook that pulls information in from other workbooks.
Each workbook relates to one specific real estate property. So each of the
source workbooks is exactly the same, except for the values within the cells
within the workbook, but the format and headings are identical.

So in my summary document, I have the property addresses down the far left
column, then I put links to the specific cell within the source document
across the row. For example: \\computer\my files\123 main st\[123 main
st.xlsx]termsA1

It looks like this -

PROPERTY PRICE CLOSE DATE BUYER NAME
123 main st $200000 5/1/09 Smith
456 maple $100000 5/15/09 Jones


What I would like to do is just type in the property address into the left
column to start a new row, and the links will use that address to insert into
the path. So in my path example above, I would like to insert a cell
reference instead of the words "123 main st"

I'm using find and replace now, but was hoping for a more elegant solution.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,231
Default Insert a cell value into a link to another worksheet.

Sheeloo wrote...
Try INDIRECT...

....
eg
=Sheet1!A1
can be replaced by
=INDIRECT("Sheet1!A" & B1)
where B1 contains 1

....

Or avoid inefficient volatile functions and use

=INDEX(Sheet1!$A:$A,B1)
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Insert a cell value into a link to another worksheet.

The function you'd want to use that's built into excel is =indirect(). But that
function returns an error if the sending workbook is closed.

If that's a problem, then Laurent Longre has an addin (morefunc.xll) at:
http://xcell05.free.fr/
or
http://xcell05.free.fr/morefunc/english/index.htm

That includes =indirect.ext() that may help you.

bsharp wrote:

I have a summary workbook that pulls information in from other workbooks.
Each workbook relates to one specific real estate property. So each of the
source workbooks is exactly the same, except for the values within the cells
within the workbook, but the format and headings are identical.

So in my summary document, I have the property addresses down the far left
column, then I put links to the specific cell within the source document
across the row. For example: \\computer\my files\123 main st\[123 main
st.xlsx]termsA1

It looks like this -

PROPERTY PRICE CLOSE DATE BUYER NAME
123 main st $200000 5/1/09 Smith
456 maple $100000 5/15/09 Jones

What I would like to do is just type in the property address into the left
column to start a new row, and the links will use that address to insert into
the path. So in my path example above, I would like to insert a cell
reference instead of the words "123 main st"

I'm using find and replace now, but was hoping for a more elegant solution.


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default Insert a cell value into a link to another worksheet.

I've tried indirect before, but I must be missing something.

Remember that I am trying to insert this WITHIN the path to the file. Here
is my actual formula -

='\\Forms\Pending\address\[address.xlsx]importexport'!G$2)

I want it to replace the word "address" in two spots above with the contents
of cell A7. Can you give me the syntax of exactly how to type it within that
formula? I tried putting in indirect as follows, but it didn't work.

='\\Forms\Pending\=indirect("Sheet1"&a7)\[=indirect("Sheet1"&a7).xlsx]importexport'!g$2)


"Sheeloo" wrote:

Try INDIRECT...

essentially build a string using a formula which gives you the address of
the cell you are pulling the value from and wrap INDIRECT around

eg
=Sheet1!A1
can be replaced by
=INDIRECT("Sheet1!A" & B1)
where B1 contains 1

when B1 changes to 2
your formula will work as
=Sheet1!A2

"bsharp" wrote:

I have a summary workbook that pulls information in from other workbooks.
Each workbook relates to one specific real estate property. So each of the
source workbooks is exactly the same, except for the values within the cells
within the workbook, but the format and headings are identical.

So in my summary document, I have the property addresses down the far left
column, then I put links to the specific cell within the source document
across the row. For example: \\computer\my files\123 main st\[123 main
st.xlsx]termsA1

It looks like this -

PROPERTY PRICE CLOSE DATE BUYER NAME
123 main st $200000 5/1/09 Smith
456 maple $100000 5/15/09 Jones


What I would like to do is just type in the property address into the left
column to start a new row, and the links will use that address to insert into
the path. So in my path example above, I would like to insert a cell
reference instead of the words "123 main st"

I'm using find and replace now, but was hoping for a more elegant solution.




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default Insert a cell value into a link to another worksheet.

Thanks, but how do I insert that into the file path so excel recognizes that
as a function and not as just more text?

For example - \\computer\my files\123 main st\[123 main st.xlsx]sheet1a1

What exactly do I replace "123 main st" with if I want it to look in cell A7?

"Harlan Grove" wrote:

Sheeloo wrote...
Try INDIRECT...

....
eg
=Sheet1!A1
can be replaced by
=INDIRECT("Sheet1!A" & B1)
where B1 contains 1

....

Or avoid inefficient volatile functions and use

=INDEX(Sheet1!$A:$A,B1)

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 793
Default Insert a cell value into a link to another worksheet.

Try
=INDIRECT("'\\Forms\Pending\" & A7 & "\[" & A7 & ".xlsx]importexport'!G$2")

If the following works then the above will also work
'\\Forms\Pending\FILENAME\[FILENAME.xlsx]importexport'!G$2

if A7 contains FILENAME

"bsharp" wrote:

I've tried indirect before, but I must be missing something.

Remember that I am trying to insert this WITHIN the path to the file. Here
is my actual formula -

='\\Forms\Pending\address\[address.xlsx]importexport'!G$2)

I want it to replace the word "address" in two spots above with the contents
of cell A7. Can you give me the syntax of exactly how to type it within that
formula? I tried putting in indirect as follows, but it didn't work.

='\\Forms\Pending\=indirect("Sheet1"&a7)\[=indirect("Sheet1"&a7).xlsx]importexport'!g$2)


"Sheeloo" wrote:

Try INDIRECT...

essentially build a string using a formula which gives you the address of
the cell you are pulling the value from and wrap INDIRECT around

eg
=Sheet1!A1
can be replaced by
=INDIRECT("Sheet1!A" & B1)
where B1 contains 1

when B1 changes to 2
your formula will work as
=Sheet1!A2

"bsharp" wrote:

I have a summary workbook that pulls information in from other workbooks.
Each workbook relates to one specific real estate property. So each of the
source workbooks is exactly the same, except for the values within the cells
within the workbook, but the format and headings are identical.

So in my summary document, I have the property addresses down the far left
column, then I put links to the specific cell within the source document
across the row. For example: \\computer\my files\123 main st\[123 main
st.xlsx]termsA1

It looks like this -

PROPERTY PRICE CLOSE DATE BUYER NAME
123 main st $200000 5/1/09 Smith
456 maple $100000 5/15/09 Jones


What I would like to do is just type in the property address into the left
column to start a new row, and the links will use that address to insert into
the path. So in my path example above, I would like to insert a cell
reference instead of the words "123 main st"

I'm using find and replace now, but was hoping for a more elegant solution.


  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default Insert a cell value into a link to another worksheet.

Thanks, now that makes sense, and that does work when I have the source
workbook open. But I want to summarize many, many workbooks without having to
have them all open. And even if I did open them all up, once I close them the
data goes away.

I would like to be able to insert the contents of the cell into that path
WITHOUT using indirect?

"Sheeloo" wrote:

Try
=INDIRECT("'\\Forms\Pending\" & A7 & "\[" & A7 & ".xlsx]importexport'!G$2")

If the following works then the above will also work
'\\Forms\Pending\FILENAME\[FILENAME.xlsx]importexport'!G$2

if A7 contains FILENAME

"bsharp" wrote:

I've tried indirect before, but I must be missing something.

Remember that I am trying to insert this WITHIN the path to the file. Here
is my actual formula -

='\\Forms\Pending\address\[address.xlsx]importexport'!G$2)

I want it to replace the word "address" in two spots above with the contents
of cell A7. Can you give me the syntax of exactly how to type it within that
formula? I tried putting in indirect as follows, but it didn't work.

='\\Forms\Pending\=indirect("Sheet1"&a7)\[=indirect("Sheet1"&a7).xlsx]importexport'!g$2)


"Sheeloo" wrote:

Try INDIRECT...

essentially build a string using a formula which gives you the address of
the cell you are pulling the value from and wrap INDIRECT around

eg
=Sheet1!A1
can be replaced by
=INDIRECT("Sheet1!A" & B1)
where B1 contains 1

when B1 changes to 2
your formula will work as
=Sheet1!A2

"bsharp" wrote:

I have a summary workbook that pulls information in from other workbooks.
Each workbook relates to one specific real estate property. So each of the
source workbooks is exactly the same, except for the values within the cells
within the workbook, but the format and headings are identical.

So in my summary document, I have the property addresses down the far left
column, then I put links to the specific cell within the source document
across the row. For example: \\computer\my files\123 main st\[123 main
st.xlsx]termsA1

It looks like this -

PROPERTY PRICE CLOSE DATE BUYER NAME
123 main st $200000 5/1/09 Smith
456 maple $100000 5/15/09 Jones


What I would like to do is just type in the property address into the left
column to start a new row, and the links will use that address to insert into
the path. So in my path example above, I would like to insert a cell
reference instead of the words "123 main st"

I'm using find and replace now, but was hoping for a more elegant solution.


  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 793
Default Insert a cell value into a link to another worksheet.

Yes, that is a limitation of INDIRECT

I have not tested his but try this
create a name (INSERT-NAME-DEFINE
and put the INDIRECT function
=INDIRECT("'\\Forms\Pending\" & A7 & "\[" & A7 & ".xlsx]importexport'!G$2")
in the REFERS TO box...

Let us know how it goes

"bsharp" wrote:

Thanks, now that makes sense, and that does work when I have the source
workbook open. But I want to summarize many, many workbooks without having to
have them all open. And even if I did open them all up, once I close them the
data goes away.

I would like to be able to insert the contents of the cell into that path
WITHOUT using indirect?

"Sheeloo" wrote:

Try
=INDIRECT("'\\Forms\Pending\" & A7 & "\[" & A7 & ".xlsx]importexport'!G$2")

If the following works then the above will also work
'\\Forms\Pending\FILENAME\[FILENAME.xlsx]importexport'!G$2

if A7 contains FILENAME

"bsharp" wrote:

I've tried indirect before, but I must be missing something.

Remember that I am trying to insert this WITHIN the path to the file. Here
is my actual formula -

='\\Forms\Pending\address\[address.xlsx]importexport'!G$2)

I want it to replace the word "address" in two spots above with the contents
of cell A7. Can you give me the syntax of exactly how to type it within that
formula? I tried putting in indirect as follows, but it didn't work.

='\\Forms\Pending\=indirect("Sheet1"&a7)\[=indirect("Sheet1"&a7).xlsx]importexport'!g$2)


"Sheeloo" wrote:

Try INDIRECT...

essentially build a string using a formula which gives you the address of
the cell you are pulling the value from and wrap INDIRECT around

eg
=Sheet1!A1
can be replaced by
=INDIRECT("Sheet1!A" & B1)
where B1 contains 1

when B1 changes to 2
your formula will work as
=Sheet1!A2

"bsharp" wrote:

I have a summary workbook that pulls information in from other workbooks.
Each workbook relates to one specific real estate property. So each of the
source workbooks is exactly the same, except for the values within the cells
within the workbook, but the format and headings are identical.

So in my summary document, I have the property addresses down the far left
column, then I put links to the specific cell within the source document
across the row. For example: \\computer\my files\123 main st\[123 main
st.xlsx]termsA1

It looks like this -

PROPERTY PRICE CLOSE DATE BUYER NAME
123 main st $200000 5/1/09 Smith
456 maple $100000 5/15/09 Jones


What I would like to do is just type in the property address into the left
column to start a new row, and the links will use that address to insert into
the path. So in my path example above, I would like to insert a cell
reference instead of the words "123 main st"

I'm using find and replace now, but was hoping for a more elegant solution.


  #10   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,231
Default Insert a cell value into a link to another worksheet.

bsharp wrote...
Thanks, but how do I insert that into the file path so excel recognizes that
as a function and not as just more text?

....

Sorry, I misunderstood.

See

http://groups.google.com/group/micro...443753560f0075



  #11   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default Insert a cell value into a link to another worksheet.

Thanks, but that won't work, either. I'd have to have names for each workbook
I want to source, and then for each cell within that worksheet.

I appreciate your efforts, thanks for trying.

For now I'll just do find and replace until some other solution arises.

I may have to just use indirect, and then try to add-in that Dave Peterson
posted. I was hoping to avoid that because I want to share this with others
in my office, and was trying to keep it as simple as possible. I assumed
they'd have to download that add-in, too, to make it work on their computers.

Brian

"Sheeloo" wrote:

Yes, that is a limitation of INDIRECT

I have not tested his but try this
create a name (INSERT-NAME-DEFINE
and put the INDIRECT function
=INDIRECT("'\\Forms\Pending\" & A7 & "\[" & A7 & ".xlsx]importexport'!G$2")
in the REFERS TO box...

Let us know how it goes

"bsharp" wrote:

Thanks, now that makes sense, and that does work when I have the source
workbook open. But I want to summarize many, many workbooks without having to
have them all open. And even if I did open them all up, once I close them the
data goes away.

I would like to be able to insert the contents of the cell into that path
WITHOUT using indirect?

"Sheeloo" wrote:

Try
=INDIRECT("'\\Forms\Pending\" & A7 & "\[" & A7 & ".xlsx]importexport'!G$2")

If the following works then the above will also work
'\\Forms\Pending\FILENAME\[FILENAME.xlsx]importexport'!G$2

if A7 contains FILENAME

"bsharp" wrote:

I've tried indirect before, but I must be missing something.

Remember that I am trying to insert this WITHIN the path to the file. Here
is my actual formula -

='\\Forms\Pending\address\[address.xlsx]importexport'!G$2)

I want it to replace the word "address" in two spots above with the contents
of cell A7. Can you give me the syntax of exactly how to type it within that
formula? I tried putting in indirect as follows, but it didn't work.

='\\Forms\Pending\=indirect("Sheet1"&a7)\[=indirect("Sheet1"&a7).xlsx]importexport'!g$2)


"Sheeloo" wrote:

Try INDIRECT...

essentially build a string using a formula which gives you the address of
the cell you are pulling the value from and wrap INDIRECT around

eg
=Sheet1!A1
can be replaced by
=INDIRECT("Sheet1!A" & B1)
where B1 contains 1

when B1 changes to 2
your formula will work as
=Sheet1!A2

"bsharp" wrote:

I have a summary workbook that pulls information in from other workbooks.
Each workbook relates to one specific real estate property. So each of the
source workbooks is exactly the same, except for the values within the cells
within the workbook, but the format and headings are identical.

So in my summary document, I have the property addresses down the far left
column, then I put links to the specific cell within the source document
across the row. For example: \\computer\my files\123 main st\[123 main
st.xlsx]termsA1

It looks like this -

PROPERTY PRICE CLOSE DATE BUYER NAME
123 main st $200000 5/1/09 Smith
456 maple $100000 5/15/09 Jones


What I would like to do is just type in the property address into the left
column to start a new row, and the links will use that address to insert into
the path. So in my path example above, I would like to insert a cell
reference instead of the words "123 main st"

I'm using find and replace now, but was hoping for a more elegant solution.


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
How do I insert a link to a cell in a header in Excel? RobM Excel Discussion (Misc queries) 1 December 15th 06 04:29 PM
Can I auto insert a worksheet when I insert a value in a cell. iainc Excel Worksheet Functions 0 April 27th 06 08:37 AM
How can I link cell colours from worksheet to worksheet/workbook? Evelyn Excel Worksheet Functions 1 July 5th 05 09:16 PM
How do I insert in a cell a link to display a JPG file in window LJL Asia Setting up and Configuration of Excel 0 May 19th 05 03:47 AM
Insert cell into link Micayla Bergen Excel Discussion (Misc queries) 7 May 9th 05 01:50 AM


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