Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
rayteach
 
Posts: n/a
Default If function that returns value in a cell.

I want to make an IF function that refers to a cell in another worksheet and
returns the value in that cell. All but the TRUE condition would be
=if(cell0,,""} €¦ In other words, if the referenced cell has data in it, I
want whatever data is there to be the result of the formula. How do I do this?
--
ray
  #2   Report Post  
Ragdyer
 
Posts: n/a
Default

Let XL do the work for you.

Open both WBs.

Start your formula:
=IF(
Then navigate to the other WB, and click in the cell that you wish to
lookup.

XL will add the path to your formula.
Then, in the formula bar, add
0,

OR
<"",

Then click in the cell *again* to repeat the path for the "True" condition.
End off by adding the "False" condition to the formula bar
,"")
OR
,"No Data")

Then hit <Enter.

Your formula might look something like this:

=IF(Sheet3!A1<"",Sheet3!A1,"No Data")
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"rayteach" wrote in message
...
I want to make an IF function that refers to a cell in another worksheet

and
returns the value in that cell. All but the TRUE condition would be
=if(cell0,,""} €¦ In other words, if the referenced cell has data in it, I
want whatever data is there to be the result of the formula. How do I do

this?
--
ray


  #3   Report Post  
Ragdyer
 
Posts: n/a
Default

BTW,

You'll notice that when the Source WB is closed, the path in the formula
might expand "greatly", depending on just exactly where (File, Folder,
Directory, Drive) the Source WB is located.

Also, every time you open the Target WB, you'll get a request to "Update
Links",
where you have the option to check the Source WB for new data, or to
continue with the data at hand, from the "last" update.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Ragdyer" wrote in message
...
Let XL do the work for you.

Open both WBs.

Start your formula:
=IF(
Then navigate to the other WB, and click in the cell that you wish to
lookup.

XL will add the path to your formula.
Then, in the formula bar, add
0,

OR
<"",

Then click in the cell *again* to repeat the path for the "True"

condition.
End off by adding the "False" condition to the formula bar
,"")
OR
,"No Data")

Then hit <Enter.

Your formula might look something like this:

=IF(Sheet3!A1<"",Sheet3!A1,"No Data")
--
HTH,

RD

--------------------------------------------------------------------------

-
Please keep all correspondence within the NewsGroup, so all may benefit !
--------------------------------------------------------------------------

-

"rayteach" wrote in message
...
I want to make an IF function that refers to a cell in another worksheet

and
returns the value in that cell. All but the TRUE condition would be
=if(cell0,,""} €¦ In other words, if the referenced cell has data in it,

I
want whatever data is there to be the result of the formula. How do I do

this?
--
ray



  #4   Report Post  
rayteach
 
Posts: n/a
Default

Thank you so much, Ragdyer - your formula worked perfectly.
--
ray


"Ragdyer" wrote:

Let XL do the work for you.

Open both WBs.

Start your formula:
=IF(
Then navigate to the other WB, and click in the cell that you wish to
lookup.

XL will add the path to your formula.
Then, in the formula bar, add
0,

OR
<"",

Then click in the cell *again* to repeat the path for the "True" condition.
End off by adding the "False" condition to the formula bar
,"")
OR
,"No Data")

Then hit <Enter.

Your formula might look something like this:

=IF(Sheet3!A1<"",Sheet3!A1,"No Data")
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"rayteach" wrote in message
...
I want to make an IF function that refers to a cell in another worksheet

and
returns the value in that cell. All but the TRUE condition would be
=if(cell0,,""} €¦ In other words, if the referenced cell has data in it, I
want whatever data is there to be the result of the formula. How do I do

this?
--
ray



  #5   Report Post  
Ragdyer
 
Posts: n/a
Default

Thanks for the feed-back.
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"rayteach" wrote in message
...
Thank you so much, Ragdyer - your formula worked perfectly.
--
ray


"Ragdyer" wrote:

Let XL do the work for you.

Open both WBs.

Start your formula:
=IF(
Then navigate to the other WB, and click in the cell that you wish to
lookup.

XL will add the path to your formula.
Then, in the formula bar, add
0,

OR
<"",

Then click in the cell *again* to repeat the path for the "True"

condition.
End off by adding the "False" condition to the formula bar
,"")
OR
,"No Data")

Then hit <Enter.

Your formula might look something like this:

=IF(Sheet3!A1<"",Sheet3!A1,"No Data")
--
HTH,

RD


--------------------------------------------------------------------------

-
Please keep all correspondence within the NewsGroup, so all may benefit

!

--------------------------------------------------------------------------

-

"rayteach" wrote in message
...
I want to make an IF function that refers to a cell in another

worksheet
and
returns the value in that cell. All but the TRUE condition would be
=if(cell0,,""} €¦ In other words, if the referenced cell has data in

it, I
want whatever data is there to be the result of the formula. How do I

do
this?
--
ray




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
Function syntax to compare cell contents ES Excel Worksheet Functions 2 May 18th 05 03:53 PM
Automatically up date time in a cell Mark Excel Discussion (Misc queries) 5 May 12th 05 12:26 AM
How do I find the contents of a cell using the "ADDRESS" function. sweeney Excel Worksheet Functions 2 April 5th 05 03:23 AM
Function to operate on ink linked to cell Alan T Excel Worksheet Functions 0 November 20th 04 10:03 PM
Function to return colour of formatted cell ExcelMonkey Excel Worksheet Functions 3 November 1st 04 05:54 PM


All times are GMT +1. The time now is 02:23 PM.

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"