![]() |
IF function
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 |
IF function
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 |
IF function
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 |
IF function
=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 |
All times are GMT +1. The time now is 05:08 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com