Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi, real simple one here for someone who knows excel. I'm creating a simple
spreadsheet for an assignment and need to use the IF function. Basically I need the cell to display "failure" if a cell = than 981.2 and I need it to display the value of that cell if it = <981.2. So if 980 is imputted, i need it to show 980. If 982 is imputted then i need it to show FAILURE. I'd be really greatful of any help, thanks |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
HI
Try this: =IF(A1=981.2,"Failure",A1) adjust to your needs. HTH John "pedro_king" wrote in message ... Hi, real simple one here for someone who knows excel. I'm creating a simple spreadsheet for an assignment and need to use the IF function. Basically I need the cell to display "failure" if a cell = than 981.2 and I need it to display the value of that cell if it = <981.2. So if 980 is imputted, i need it to show 980. If 982 is imputted then i need it to show FAILURE. I'd be really greatful of any help, thanks |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try
=IF(A1=981.2,"Failure",A1) Mike "pedro_king" wrote: Hi, real simple one here for someone who knows excel. I'm creating a simple spreadsheet for an assignment and need to use the IF function. Basically I need the cell to display "failure" if a cell = than 981.2 and I need it to display the value of that cell if it = <981.2. So if 980 is imputted, i need it to show 980. If 982 is imputted then i need it to show FAILURE. I'd be really greatful of any help, thanks |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=IF(A2=981.2,"failure",A2)
You've been inconsistent as to what you want for exactly 981.2 as you said = and <= so one of the = signs shouldn't be there. If you intended <= (so that 981.2 gets displayed, rather than being shown as failure, then the = in the formula should become . -- David Biddulph "pedro_king" wrote in message ... Hi, real simple one here for someone who knows excel. I'm creating a simple spreadsheet for an assignment and need to use the IF function. Basically I need the cell to display "failure" if a cell = than 981.2 and I need it to display the value of that cell if it = <981.2. So if 980 is imputted, i need it to show 980. If 982 is imputted then i need it to show FAILURE. I'd be really greatful of any help, thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
ISBLANK function not working when cell is blank dut to function re | Excel Discussion (Misc queries) | |||
copy of excel file not showing formulal/function in the function b | Excel Discussion (Misc queries) | |||
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) | Excel Worksheet Functions | |||
Offset function with nested match function not finding host ss. | Excel Worksheet Functions | |||
Emulate Index/Match combo function w/ VBA custom function | Excel Worksheet Functions |