ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   IF Function (.......... (https://www.excelbanter.com/excel-worksheet-functions/110458-if-function.html)

MichelleS

IF Function (..........
 
How can I write an IF formula where I can type a NUMERIC value in one cell
and the adjacent cell automatically types TEXT selected from another Excel
Workbook?

Example: While in Workbook (Estimates.xls) in cell C22, I want to type an IF
formula --
IF(B22=20,C22=text from another cell in another Workbook).

The other workbook is 'Prices.xls'

John Bixtis

IF Function (..........
 
If i understand your question correctly, all you need to do is to open this
other workbook, type in the cell "= if(b22=20," and then point to the cell
that you want to take the text if the value is true. You should get
something like

"'C:\Documents and Settings\me.only\Desktop\[Example.xls]Sheet1'!$A$1"

Then just type: ,"")

So your formula should look like:

= if(b22=20,"'C:\Documents and
Settings\me.only\Desktop\[Example.xls]Sheet1'!$A$1","")


A.


"MichelleS" wrote in message
...
How can I write an IF formula where I can type a NUMERIC value in one cell
and the adjacent cell automatically types TEXT selected from another Excel
Workbook?

Example: While in Workbook (Estimates.xls) in cell C22, I want to type an
IF
formula --
IF(B22=20,C22=text from another cell in another Workbook).

The other workbook is 'Prices.xls'




Dave F

IF Function (..........
 
=IF(B22=20,[link to prices.xls],"")

You just have to create the link when you're constructing the formula.
Without knowing the specifics of what you're trying to do it's impossible to
give you a more detailed answer than that.
--
Brevity is the soul of wit.


"MichelleS" wrote:

How can I write an IF formula where I can type a NUMERIC value in one cell
and the adjacent cell automatically types TEXT selected from another Excel
Workbook?

Example: While in Workbook (Estimates.xls) in cell C22, I want to type an IF
formula --
IF(B22=20,C22=text from another cell in another Workbook).

The other workbook is 'Prices.xls'



All times are GMT +1. The time now is 06:14 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com