Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 21
Default how compear two or more values into the same function

i need check two or more "values"getting into the same cell but into the same
function someting like this example
IF (R20=30 or 20 or 10),"true", "false"
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default how compear two or more values into the same function

Maybe

=IF(OR(R20=10,R20=20,R20=30),TRUE,FALSE)

Mike

"Fabian" wrote:

i need check two or more "values"getting into the same cell but into the same
function someting like this example
IF (R20=30 or 20 or 10),"true", "false"

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,081
Default how compear two or more values into the same function

Even shorter:

=OR(R20={10,20,30})

"Mike H" wrote:

Maybe

=IF(OR(R20=10,R20=20,R20=30),TRUE,FALSE)

Mike

"Fabian" wrote:

i need check two or more "values"getting into the same cell but into the same
function someting like this example
IF (R20=30 or 20 or 10),"true", "false"

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default how compear two or more values into the same function

One option is =IF(OR(R20=30,R20=20,R20=10),"true","false")
Note that if you want the true and false to be the boolean values, rather
than text, you'll need to leave out the quote marks.
--
David Biddulph

"Fabian" wrote in message
...
i need check two or more "values"getting into the same cell but into the
same
function someting like this example
IF (R20=30 or 20 or 10),"true", "false"



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
The IF function but with 3 values [email protected] Excel Worksheet Functions 6 February 6th 07 02:38 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
Multiple If function for more than 7 values echo_park Excel Worksheet Functions 6 August 7th 06 03:41 PM
Function to add different values Douglas Excel Worksheet Functions 2 May 2nd 06 08:38 PM
look up function and sum values mike Excel Worksheet Functions 3 November 29th 05 09:46 PM


All times are GMT +1. The time now is 08:52 AM.

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

About Us

"It's about Microsoft Excel"