Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
workbook/cell reference w/ formula
I'm trying to create a formula to read data from one spreadsheet and return
conditional results. I figured the IF function was best but I cannot get it to work. I am trying to change data such as 9a-5p, 8a-4p, 6a-2p, to ON, so the false would return OFF. Here is what I've tried as an actual formula: =IF('[ANCILLARY 2007.xls]0211-0224'!$E$4=9a-5p,"ON","OFF") I've tried it with and without the = before 9a-5p, it tries to correct it to a9-p5. Any help would be greatly appreciated, I am using Office 2003 Pro. |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
workbook/cell reference w/ formula
Hi
Try putting double quotes around the text you are looking for =IF('[ANCILLARY 2007.xls]0211-0224'!$E$4="9a-5p","ON","OFF") -- Regards Roger Govier "waladd" wrote in message ... I'm trying to create a formula to read data from one spreadsheet and return conditional results. I figured the IF function was best but I cannot get it to work. I am trying to change data such as 9a-5p, 8a-4p, 6a-2p, to ON, so the false would return OFF. Here is what I've tried as an actual formula: =IF('[ANCILLARY 2007.xls]0211-0224'!$E$4=9a-5p,"ON","OFF") I've tried it with and without the = before 9a-5p, it tries to correct it to a9-p5. Any help would be greatly appreciated, I am using Office 2003 Pro. |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
workbook/cell reference w/ formula
If 9a-5p is text that's in the cell, try wrapping it in double quotes:
...$e$4="9a-5p", ... waladd wrote: I'm trying to create a formula to read data from one spreadsheet and return conditional results. I figured the IF function was best but I cannot get it to work. I am trying to change data such as 9a-5p, 8a-4p, 6a-2p, to ON, so the false would return OFF. Here is what I've tried as an actual formula: =IF('[ANCILLARY 2007.xls]0211-0224'!$E$4=9a-5p,"ON","OFF") I've tried it with and without the = before 9a-5p, it tries to correct it to a9-p5. Any help would be greatly appreciated, I am using Office 2003 Pro. -- Dave Peterson |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
workbook/cell reference w/ formula
If the contents over in ANCILLARY is actually displayed as 9a-5p then just
enclose that portion of your formula in double-quotes also: =IF('[ANCILLARY 2007.xls]0211-0224'!$E$4="9a-5p","ON","OFF") "waladd" wrote: I'm trying to create a formula to read data from one spreadsheet and return conditional results. I figured the IF function was best but I cannot get it to work. I am trying to change data such as 9a-5p, 8a-4p, 6a-2p, to ON, so the false would return OFF. Here is what I've tried as an actual formula: =IF('[ANCILLARY 2007.xls]0211-0224'!$E$4=9a-5p,"ON","OFF") I've tried it with and without the = before 9a-5p, it tries to correct it to a9-p5. Any help would be greatly appreciated, I am using Office 2003 Pro. |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
workbook/cell reference w/ formula
Thank you guys.
"Dave Peterson" wrote: If 9a-5p is text that's in the cell, try wrapping it in double quotes: ...$e$4="9a-5p", ... waladd wrote: I'm trying to create a formula to read data from one spreadsheet and return conditional results. I figured the IF function was best but I cannot get it to work. I am trying to change data such as 9a-5p, 8a-4p, 6a-2p, to ON, so the false would return OFF. Here is what I've tried as an actual formula: =IF('[ANCILLARY 2007.xls]0211-0224'!$E$4=9a-5p,"ON","OFF") I've tried it with and without the = before 9a-5p, it tries to correct it to a9-p5. Any help would be greatly appreciated, I am using Office 2003 Pro. -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to reference a cell in a different workbook using a drop down | Excel Discussion (Misc queries) | |||
Use the value of a cell within a reference to another workbook? | Excel Worksheet Functions | |||
I have to change a bunch of formula that need to reference a different workbook. | Excel Worksheet Functions | |||
cell reference in another workbook | Excel Discussion (Misc queries) | |||
Excel footer reference to cell in workbook | Excel Discussion (Misc queries) |