+ Reply to Thread
Results 1 to 5 of 5

Replacing text

  1. #1
    Registered User
    Join Date
    04-08-2005
    Posts
    3

    Replacing text

    Sure could use some help. I would like to set up a way so that, for example, when you type "x" into C1 it will replace the text in A1 and B1 with a zero.

    By the way, I'm doing this on a PocketPC with Pocket Excel, which does not allow macros or contain all of the formulas of normal Excel.

    Thanks.

  2. #2
    Forum Expert
    Join Date
    06-18-2004
    Location
    Canada
    MS-Off Ver
    Office 2016
    Posts
    1,474
    Enter the following formula in cell A1 and B1...

    =IF(C1="x",0,"")

    ...which will leave A1 and B1 blank if C1 does not contain the text value 'x'.

    Hope this helps!

  3. #3
    Registered User
    Join Date
    04-08-2005
    Posts
    3
    I already have typed in text in A1 and B1, so I can't put a formula in those cells.

  4. #4
    Forum Expert
    Join Date
    06-18-2004
    Location
    Canada
    MS-Off Ver
    Office 2016
    Posts
    1,474
    Then how about...

    =IF(C1="x",0,"TypeYourTextHere")

    This way, unless C1 contains 'x', your text will be displayed.

  5. #5
    Registered User
    Join Date
    04-08-2005
    Posts
    3
    No, that won't work either. The text in A1 and B1 would change all the time, and this is really just an example because I have about 15 fields I would like to zero out.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1