1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Excel Help

Discussion in 'Business Applications' started by catalina, Apr 3, 2008.

Thread Status:
Not open for further replies.
  1. catalina

    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.
     
  2. bomb #21

    bomb #21

    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)
     
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 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/700029

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice