A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Link cells with text not numbers



 
 
Thread Tools Display Modes
  #1  
Old February 6th, 2010, 01:11 AM posted to microsoft.public.excel.worksheet.functions
--Viewpoint
external usenet poster
 
Posts: 23
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  
Old February 6th, 2010, 01:44 AM posted to microsoft.public.excel.worksheet.functions
Gord Dibben
external usenet poster
 
Posts: 20,252
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  
Old February 6th, 2010, 01:59 AM posted to microsoft.public.excel.worksheet.functions
David-Melbourne-Australia[_2_]
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  
Old February 6th, 2010, 02:17 AM posted to microsoft.public.excel.worksheet.functions
--Viewpoint
external usenet poster
 
Posts: 23
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  
Old February 6th, 2010, 02:19 AM posted to microsoft.public.excel.worksheet.functions
--Viewpoint
external usenet poster
 
Posts: 23
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?

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


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