Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Insert text from one cell into formula in another cell.

Lets say A2 has text in it Lets say Smith
a3 formula =if(smith!a56=1,0," ")

Smith is the name of another worksheet in the workbook and I'm using info
from that sheet, but I want to put the name in by taking what is in A3 and
inserting it into the formula.

Something like =if(A2!A56=1,0," ") I don't know the syntax or if it is
possible
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,091
Default Insert text from one cell into formula in another cell.

Check out the INDIRECT function in help

Tyro

"Deserthawk99" wrote in message
...
Lets say A2 has text in it Lets say Smith
a3 formula =if(smith!a56=1,0," ")

Smith is the name of another worksheet in the workbook and I'm using info
from that sheet, but I want to put the name in by taking what is in A3 and
inserting it into the formula.

Something like =if(A2!A56=1,0," ") I don't know the syntax or if it is
possible



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Insert text from one cell into formula in another cell.

=IF(INDIRECT(A2 & "!A56")=1,0,"")

Note the change from " " to ""

You don't want a <space entered.


Gord Dibben MS Excel MVP

On Fri, 29 Feb 2008 20:49:00 -0800, Deserthawk99
wrote:

Lets say A2 has text in it Lets say Smith
a3 formula =if(smith!a56=1,0," ")

Smith is the name of another worksheet in the workbook and I'm using info
from that sheet, but I want to put the name in by taking what is in A3 and
inserting it into the formula.

Something like =if(A2!A56=1,0," ") I don't know the syntax or if it is
possible


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 formula in a cell,which contains some text Smitha Roney Excel Discussion (Misc queries) 5 July 9th 07 01:26 PM
Insert value from another cell AND text [email protected] Excel Worksheet Functions 3 June 28th 07 07:47 PM
Need a macro to insert text in a cell that already has text.Excel go1angel Excel Discussion (Misc queries) 2 October 5th 05 10:32 PM
Insert Text From Different Cell Joradi New Users to Excel 3 September 1st 05 04:47 PM
Need macro to insert text string while inside cell (formula) BrianB Excel Discussion (Misc queries) 0 May 31st 05 03:18 PM


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

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

About Us

"It's about Microsoft Excel"