Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Azza117
 
Posts: n/a
Default can I create a formula using text made from the concentate comman.

As an example, in cell A1 - I have text of someone's name (assume name of
"John")
in cell A2 I have a number (assume number = 1).
In cell B2, I have created a formula that says
="'["&A2&$A$1&".xls]Sheet1!'$D17", which equates to text that says
'[1John.xls]Sheet1!'$D17
I wish to be able to use this formula to create a link to 1John.xls within
an "if" formula, rather than having to manually type in the link for each
different number or name. Is it possible???

Thanks
  #2   Report Post  
Mohamed Shafiee
 
Posts: n/a
Default

Use the hyperlink function

"Azza117" wrote in message
...
As an example, in cell A1 - I have text of someone's name (assume name of
"John")
in cell A2 I have a number (assume number = 1).
In cell B2, I have created a formula that says
="'["&A2&$A$1&".xls]Sheet1!'$D17", which equates to text that says
'[1John.xls]Sheet1!'$D17
I wish to be able to use this formula to create a link to 1John.xls within
an "if" formula, rather than having to manually type in the link for each
different number or name. Is it possible???

Thanks



  #3   Report Post  
Azza117
 
Posts: n/a
Default

Thanks,

However I am trying to "automate" this process, rather than individually
hyperlinking each link. Basically the links contain information that will be
placed in the master file after a certain date. So I was intending to create
an "if" statement something along the lines of
=if(today=28/03/2005,'[1John.xls]Sheet1!'$D17,""). There will be numerous
people, so I was hoping to try and do this is this sort of way, rather than
setting it up individually for each day / person combination.

Once again, any help is greatly appreciated!



"Mohamed Shafiee" wrote:

Use the hyperlink function

"Azza117" wrote in message
...
As an example, in cell A1 - I have text of someone's name (assume name of
"John")
in cell A2 I have a number (assume number = 1).
In cell B2, I have created a formula that says
="'["&A2&$A$1&".xls]Sheet1!'$D17", which equates to text that says
'[1John.xls]Sheet1!'$D17
I wish to be able to use this formula to create a link to 1John.xls within
an "if" formula, rather than having to manually type in the link for each
different number or name. Is it possible???

Thanks




  #4   Report Post  
Duke Carey
 
Posts: n/a
Default

Use the INDIRECT() function - it will do exactly what you need

"Azza117" wrote:

Thanks,

However I am trying to "automate" this process, rather than individually
hyperlinking each link. Basically the links contain information that will be
placed in the master file after a certain date. So I was intending to create
an "if" statement something along the lines of
=if(today=28/03/2005,'[1John.xls]Sheet1!'$D17,""). There will be numerous
people, so I was hoping to try and do this is this sort of way, rather than
setting it up individually for each day / person combination.

Once again, any help is greatly appreciated!



"Mohamed Shafiee" wrote:

Use the hyperlink function

"Azza117" wrote in message
...
As an example, in cell A1 - I have text of someone's name (assume name of
"John")
in cell A2 I have a number (assume number = 1).
In cell B2, I have created a formula that says
="'["&A2&$A$1&".xls]Sheet1!'$D17", which equates to text that says
'[1John.xls]Sheet1!'$D17
I wish to be able to use this formula to create a link to 1John.xls within
an "if" formula, rather than having to manually type in the link for each
different number or name. Is it possible???

Thanks




  #5   Report Post  
Bob Phillips
 
Posts: n/a
Default

Can't use INDIRECT for closed workbooks, and the fact that the OP adds the
workbook name, suggests that he wants to.

VBA solution, such as Harlan Grove's Pull, appears the to be the answer.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Duke Carey" wrote in message
...
Use the INDIRECT() function - it will do exactly what you need

"Azza117" wrote:

Thanks,

However I am trying to "automate" this process, rather than individually
hyperlinking each link. Basically the links contain information that

will be
placed in the master file after a certain date. So I was intending to

create
an "if" statement something along the lines of
=if(today=28/03/2005,'[1John.xls]Sheet1!'$D17,""). There will be

numerous
people, so I was hoping to try and do this is this sort of way, rather

than
setting it up individually for each day / person combination.

Once again, any help is greatly appreciated!



"Mohamed Shafiee" wrote:

Use the hyperlink function

"Azza117" wrote in message
...
As an example, in cell A1 - I have text of someone's name (assume

name of
"John")
in cell A2 I have a number (assume number = 1).
In cell B2, I have created a formula that says
="'["&A2&$A$1&".xls]Sheet1!'$D17", which equates to text that says
'[1John.xls]Sheet1!'$D17
I wish to be able to use this formula to create a link to 1John.xls

within
an "if" formula, rather than having to manually type in the link for

each
different number or name. Is it possible???

Thanks







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
Allow user to be able to create a formula to add/subtract any hig. BTaylor Excel Worksheet Functions 3 March 8th 05 03:23 PM
Adding text to the result of a formula? Robbie in Houston Excel Worksheet Functions 2 February 28th 05 12:00 AM
Sort or Filter option? Mcobra41 Excel Worksheet Functions 3 February 23rd 05 07:22 PM
merging text without using a formula April Excel Discussion (Misc queries) 4 February 16th 05 01:07 AM
How do I create a formula to calculate the average percentage rat LD Excel Worksheet Functions 5 January 13th 05 06:17 PM


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