#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 694
Default 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


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default 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

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default 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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ISBLANK function not working when cell is blank dut to function re mcmilja Excel Discussion (Misc queries) 9 May 7th 23 03:43 AM
copy of excel file not showing formulal/function in the function b oaallam Excel Discussion (Misc queries) 4 September 6th 07 01:20 PM
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) [email protected] Excel Worksheet Functions 0 September 5th 06 03:44 PM
Offset function with nested match function not finding host ss. MKunert Excel Worksheet Functions 1 March 21st 06 10:46 PM
Emulate Index/Match combo function w/ VBA custom function Spencer Hutton Excel Worksheet Functions 2 May 2nd 05 05:26 PM


All times are GMT +1. The time now is 10:40 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"