+ Reply to Thread
Results 1 to 6 of 6

IF STATEMENTS for text and different automatic outcomes/text.

  1. #1
    Registered User
    Join Date
    03-07-2013
    Location
    Perth - Australia
    MS-Off Ver
    Excel 2007
    Posts
    5

    Post IF STATEMENTS for text and different automatic outcomes/text.

    Hi,

    I am working on a sheet to direct instructions based on set criteria -

    E.g.

    Do the comments say:

    Bee's if the Locations is...Regional or Metro or BY/BU/MJ then = Regional should be "Raise Work Order 45-Type $$$$ before adding comment". if the Location is...Metro then say "Raise Work Order 45-Click on Down Arrow on CREW-MET and lastly if the cells say BY/BU/ML then say "Raise Work Order 45-Type $$$$ before adding comment".

    This is the formula I have so far:
    =IF(OR(C4="Metro",C4="Regional",C4="BY/BU/MJ"),("Raise WorkSlip 45 - Type $$$$ before adding comment",and("Raise WorkSlip 45 - Click on Down Arrow on CREW: Choose MET ")),"Raise Workslip 45 - Type $$$$ before adding comment")

    Obviously it is not working. It may not even be the best formula function to use but open to suggesttions. All I want is it to do this -
    If this cell says this... then I want it to say this......
    3 times over because there are only ever 3 locations with different actions to follow.

    see attached - :Metering Services Projection Assistant v1.xlsm


    Please help.....beginner advance user :-)


    P.S I have attached my spreadsheet if it helps.

  2. #2
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: IF STATEMENTS for text and different automatic outcomes/text.

    Hi,

    Try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    I hope this helps

  3. #3
    Registered User
    Join Date
    03-07-2013
    Location
    Perth - Australia
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: IF STATEMENTS for text and different automatic outcomes/text.

    Because there are 3 areas - Metro - Regional and BY/BU/MJ

    there can, in some instances, be 3 different actions required.

    Raise Work Order 45 - $$$$ (regional)
    Raise Work Order 45 - MET (Metro)
    Project Reading (BY/BU/MJ

    any ideas?

  4. #4
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: IF STATEMENTS for text and different automatic outcomes/text.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    I hope this helps

  5. #5
    Registered User
    Join Date
    03-07-2013
    Location
    Perth - Australia
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: IF STATEMENTS for text and different automatic outcomes/text.

    Ajryan88 you are amazing but and it works perfectly but can I ask one more thing.........

    What if nothing is type in the cell? What can I add on to make the cell blank when nothing is in C4?

  6. #6
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: IF STATEMENTS for text and different automatic outcomes/text.

    I never get tired of hearing that ;P

    Try this formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If this solves your problem, please don't forget to mark this thread as solved (Thread Tools -> Mark As Solved) and please click on the * next to my post to say thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. IF statements to find certain text and exclude certain text
    By Barussell in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-18-2014, 04:38 PM
  2. Replies: 3
    Last Post: 03-28-2014, 07:04 AM
  3. Replies: 3
    Last Post: 01-04-2013, 06:06 AM
  4. Excel 2007 : Multiple outcomes with text
    By Nicocast in forum Excel General
    Replies: 11
    Last Post: 09-19-2011, 11:25 AM
  5. Replies: 6
    Last Post: 11-19-2009, 08:31 PM

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