Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
link text cells on different sheets | Excel Worksheet Functions | |||
How do you link cells containing text? | Excel Worksheet Functions | |||
how do I link text cells to another worksheet | Excel Discussion (Misc queries) | |||
Using text in cells to build a link to within another file | Excel Discussion (Misc queries) | |||
External link only works for numbers -- for text values, #N/A is displayed unless linked file is open | Links and Linking in Excel |