Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 21
Default Link cells with text not numbers

I'm working with a worksheet of cells with general information (text) that I
linked to various cells on worksheets within a workbook. I created the
formula below and it works but I'm not sure it is the most accurate way to
write the formula.

=IF('General Info'!C20,'General Info'!C2,"")

All linked cells contain text, not numbers, so I'm questioning the 0. Any
better alternatives?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Link cells with text not numbers

Although Excel sees a blank cell as zero and you will probably get away with
your method, I think you would be safer with.

=IF('General Info'!C2<"",'General Info'!C2,"")


Gord Dibben MS Excel MVP

On Fri, 5 Feb 2010 16:11:01 -0800, --Viewpoint
wrote:

I'm working with a worksheet of cells with general information (text) that I
linked to various cells on worksheets within a workbook. I created the
formula below and it works but I'm not sure it is the most accurate way to
write the formula.

=IF('General Info'!C20,'General Info'!C2,"")

All linked cells contain text, not numbers, so I'm questioning the 0. Any
better alternatives?


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default Link cells with text not numbers

What your formula is doing in layman terms is... If the contents of 'General
Info'!C2 has a text string or a number in it that is greater than zero, then
put this value, otherwise if it blank, zero, a negative number, etc. then put
null / nothing. Is this what you wanted it to do ? Maybe I need more detail
to understand your query.

You may need to look at functions like ISBLANK(), ISTEXT(), ISNONTEXT(),
ISNUMBER(), T(), etc.

Hope this helps !

David

"--Viewpoint" wrote:

I'm working with a worksheet of cells with general information (text) that I
linked to various cells on worksheets within a workbook. I created the
formula below and it works but I'm not sure it is the most accurate way to
write the formula.

=IF('General Info'!C20,'General Info'!C2,"")

All linked cells contain text, not numbers, so I'm questioning the 0. Any
better alternatives?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 21
Default Link cells with text not numbers

Thank you for responding. Yes, it is giving me what I want but I wanted to
know if there is a more accurate way to work with text. I'll take your
advice to learn more about the functions you suggest. I want to learn more
about improving my knowledge and using functions as efficiently as possible.
Again, thank you.

"David-Melbourne-Australia" wrote:

What your formula is doing in layman terms is... If the contents of 'General
Info'!C2 has a text string or a number in it that is greater than zero, then
put this value, otherwise if it blank, zero, a negative number, etc. then put
null / nothing. Is this what you wanted it to do ? Maybe I need more detail
to understand your query.

You may need to look at functions like ISBLANK(), ISTEXT(), ISNONTEXT(),
ISNUMBER(), T(), etc.

Hope this helps !

David

"--Viewpoint" wrote:

I'm working with a worksheet of cells with general information (text) that I
linked to various cells on worksheets within a workbook. I created the
formula below and it works but I'm not sure it is the most accurate way to
write the formula.

=IF('General Info'!C20,'General Info'!C2,"")

All linked cells contain text, not numbers, so I'm questioning the 0. Any
better alternatives?

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 21
Default Link cells with text not numbers

I forgot to mention in my previous response that you made it more clear to me
why the zero works in the if statement. That was the main purpose of my
inquiry.

"David-Melbourne-Australia" wrote:

What your formula is doing in layman terms is... If the contents of 'General
Info'!C2 has a text string or a number in it that is greater than zero, then
put this value, otherwise if it blank, zero, a negative number, etc. then put
null / nothing. Is this what you wanted it to do ? Maybe I need more detail
to understand your query.

You may need to look at functions like ISBLANK(), ISTEXT(), ISNONTEXT(),
ISNUMBER(), T(), etc.

Hope this helps !

David

"--Viewpoint" wrote:

I'm working with a worksheet of cells with general information (text) that I
linked to various cells on worksheets within a workbook. I created the
formula below and it works but I'm not sure it is the most accurate way to
write the formula.

=IF('General Info'!C20,'General Info'!C2,"")

All linked cells contain text, not numbers, so I'm questioning the 0. Any
better alternatives?

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
link text cells on different sheets ...jay... Excel Worksheet Functions 3 September 29th 08 09:09 PM
How do you link cells containing text? Getting desperate!!! Excel Worksheet Functions 1 December 21st 06 12:14 AM
how do I link text cells to another worksheet SharonGaila Excel Discussion (Misc queries) 2 June 28th 06 09:37 PM
Using text in cells to build a link to within another file Jon Excel Discussion (Misc queries) 2 August 2nd 05 09:24 PM
External link only works for numbers -- for text values, #N/A is displayed unless linked file is open Sven Filter Links and Linking in Excel 1 February 22nd 05 08:10 AM


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