Excel Help

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

catalina

Thread Starter
Joined
Apr 3, 2008
Messages
2
I need a little help here with Excel. What I want to do is this: When a check box is checked I want a text field value to be displayed as negative, with a minus sign. Please help!

Thank you

M.
 
Joined
Jul 1, 2005
Messages
8,546
Are you using a Forms toolbar checkbox?

If "Yes", you can link it to a cell -- say G1. G1 will then show TRUE for checked and FALSE for unchecked.

Then if your text field value occupies G2, you can use:

=IF(G1=TRUE,G2,0-G2)

in G3.

If you want the action of checking/unchecking to toggle the value of the actual text field between +ive/-ive & vice versa, you'll need VBA.

HTH (welcome to the board)
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top