Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
SIMINA R
 
Posts: n/a
Default How can you convert the false/true into 1/0 in Excel?


  #2   Report Post  
Ken Wright
 
Posts: n/a
Default How can you convert the false/true into 1/0 in Excel?

=--Your_formula

or

=Your_formula*1

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

------------------------------*------------------------------*----------------
It's easier to beg forgiveness than ask permission :-)
------------------------------*------------------------------*----------------


"SIMINA R" <SIMINA wrote in message
...



  #3   Report Post  
Ron Coderre
 
Posts: n/a
Default How can you convert the false/true into 1/0 in Excel?


Generally, 2 ways:

Either multiply by the number 1
ExampleS:
=(4=4) -Returns TRUE
=(4=4)*1 -Returns 1

=(5=4) -Returns FALSE
=(5=4)*1 -Returns 0

or

Prepend two minus signs
Example:
=(4=4) -Returns TRUE
=--(4=4) -Returns 1

=(5=4) -Returns FALSE
=--(5=4) -Returns 0

Does that help?


Regards,
Ron


--
Ron Coderre
------------------------------------------------------------------------
Ron Coderre's Profile: http://www.excelforum.com/member.php...o&userid=21419
View this thread: http://www.excelforum.com/showthread...hreadid=483679

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
How do I convert Excel 2003 to Excel 98 format? Lady Layla New Users to Excel 8 March 31st 05 12:47 AM
How can I convert an Excel file to someone who doesn't have Excel. donnythejazz Excel Discussion (Misc queries) 3 March 30th 05 11:59 PM
How do I convert a csv file to an Excel file? Anne B Excel Discussion (Misc queries) 2 March 29th 05 09:17 PM
Convert HTML into an Excel skydiving99 Excel Worksheet Functions 1 March 18th 05 11:35 PM
Improve Convert function in Excel Mike VV Excel Worksheet Functions 0 February 3rd 05 04:45 AM


All times are GMT +1. The time now is 03:10 AM.

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"