+ Reply to Thread
Results 1 to 5 of 5

Automatically change text in cell based upon a rule

  1. #1
    Registered User
    Join Date
    07-16-2004
    Posts
    12

    Automatically change text in cell based upon a rule

    Hi All,
    I have a spreadsheet which takes imported data from a Business Objects output file. data is the status of a report and all data is in a single column

    What I would like to do is to change the text of the report status in certain cases but not in others.
    e.g
    Where status is "proposed" leave as it is
    Where status is either "conduct", "agree draft", Draft report issued" or "Management Review" then change to "in progress"
    Where status is "Follow-up Complete" change to Complete
    Where status is "complete" leave as it is

    Is this possible? I tried using nested IF statements but got myself in a mess.

    Thanks for any guidance and help you may offer - I am quite new at this

    B

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Automatically change text in cell based upon a rule

    Are you doing this in VBA or Worksheet Functions ?

  3. #3
    Registered User
    Join Date
    07-16-2004
    Posts
    12

    Re: Automatically change text in cell based upon a rule

    Quote Originally Posted by DonkeyOte View Post
    Are you doing this in VBA or Worksheet Functions ?
    I was trying it as a worksheet function but only because I have no idea about VBA.

    Happy to do it whichever way works

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Automatically change text in cell based upon a rule

    OK that's fine - the fact the Q was posted in the Programming Forum made me question that's all - I will move this to the worksheet functions forum.

    In Function terms

    Please Login or Register  to view this content.
    where A1 contains report status

  5. #5
    Registered User
    Join Date
    07-16-2004
    Posts
    12

    Re: Automatically change text in cell based upon a rule

    Quote Originally Posted by DonkeyOte View Post
    OK that's fine - the fact the Q was posted in the Programming Forum made me question that's all -
    Oops - sorry.

    As for the code - awesome - I even managed to extend it to include some status levels I didnt tell you about, so thanks very much.

+ 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