Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Gldenboy2
 
Posts: n/a
Default How to change the return of a textbox from TRUE/FALSE to YES/NO?

I have a long colum full of textboxes in excel. When the boc is checked it
returns true, and false for unchecked. I would like to change this so that
it returns Yes for checked and No for unchecked. How can I make this happen
  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

You mean Checkboxes?

You can use a helper cell:

=if(a1=true,"Yes","No")

Then hide that linkedcell (if you want).

Gldenboy2 wrote:

I have a long colum full of textboxes in excel. When the boc is checked it
returns true, and false for unchecked. I would like to change this so that
it returns Yes for checked and No for unchecked. How can I make this happen


--

Dave Peterson
  #3   Report Post  
dominicb
 
Posts: n/a
Default


Good evening Gldenboy2

As far as I know you can't - not directly anyway - as the checkbox is
usually a boolean value, (unless you specify it as a triple state, in
which case it can have a null value) which means it's value is true or
false, but 1 and 0 will be accepted through programming, but not Yes
and No.

If it's that important to you, a workaround is to use the cell linked
to the control as a "helper" cell and keep it hidden (in this example,
A1). In B1 put this formula:

=IF(A1=FALSE,"No","Yes")

This will toggle between yes and no as the control is de/selected.

HTH

DominicB


--
dominicb
------------------------------------------------------------------------
dominicb's Profile: http://www.excelforum.com/member.php...o&userid=18932
View this thread: http://www.excelforum.com/showthread...hreadid=382121

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
textbox scrollbar disappears Yaniv Excel Discussion (Misc queries) 1 June 20th 05 11:31 PM
How do create a formula to evalute a # to return 1 of 4 conditions Larry Excel Worksheet Functions 4 May 29th 05 12:58 AM
if the value of a cell in a range is not blank, then return the v. kvail Excel Worksheet Functions 2 April 8th 05 10:07 PM
Pivot Table Zero Value jcliquidtension Excel Discussion (Misc queries) 12 January 13th 05 05:21 AM
how do i make a date change automatically if i change one before . dpl7579 Excel Discussion (Misc queries) 1 January 11th 05 10:21 PM


All times are GMT +1. The time now is 09:39 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"