Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have an If statement that reads '=IF(B2="Y","","=B1").
This function is repeated many times, referencing a different cell each time in the spreadsheet. At the moment the text '=B1' (or equivalent) is entered into the cell if the function returns False. How do I alter the If statement so that the information in cell B1 (not the reference point) is inserted each time the function returns False. -- Thank you, Colin. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
The reason why you are getting =B1 is that you have enclosed that in quotes,
so that is the text string you've asked for. If you want the value from B1, then your formula should be =IF(B2="Y","",B1). -- David Biddulph "Colin" wrote in message ... I have an If statement that reads '=IF(B2="Y","","=B1"). This function is repeated many times, referencing a different cell each time in the spreadsheet. At the moment the text '=B1' (or equivalent) is entered into the cell if the function returns False. How do I alter the If statement so that the information in cell B1 (not the reference point) is inserted each time the function returns False. -- Thank you, Colin. |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I had tried without the quotes, however I had left in the equal sign.
Thank you for your swift reply. -- Colin. "David Biddulph" wrote: The reason why you are getting =B1 is that you have enclosed that in quotes, so that is the text string you've asked for. If you want the value from B1, then your formula should be =IF(B2="Y","",B1). -- David Biddulph "Colin" wrote in message ... I have an If statement that reads '=IF(B2="Y","","=B1"). This function is repeated many times, referencing a different cell each time in the spreadsheet. At the moment the text '=B1' (or equivalent) is entered into the cell if the function returns False. How do I alter the If statement so that the information in cell B1 (not the reference point) is inserted each time the function returns False. -- Thank you, Colin. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
If Statement returns true when false? | Excel Discussion (Misc queries) | |||
How to do nothing if @IF returns FALSE? | Excel Worksheet Functions | |||
keep cell blank if IF statement is False | New Users to Excel | |||
keep cell blank when false in IF statement | Excel Discussion (Misc queries) | |||
IF Function returns False instead of 0 | Excel Worksheet Functions |