+ Reply to Thread
Results 1 to 5 of 5

How do I lookup a condition and then specify a result?

  1. #1
    Registered User
    Join Date
    09-21-2011
    Location
    London
    MS-Off Ver
    365
    Posts
    71

    How do I lookup a condition and then specify a result?

    Hi there,

    I have been struggling with this formula for ages, and have finally given in to ask for help

    Basically I have a formula on sheet 1 in cells S11:S227 which is working nicely. Now what I want to do, is if the 'ERROR VARIATION NOT FULLY INVOICED' message that I have specified appears, I would like on sheet 2 for another message to appear saying 'ATTENTION VARIATIONS HAVE NOT BEEN INVOICED'.

    I have been playing with SEARCH, IF and LOOKUP, but I am stuck.

    Any assistance would be very much appreciated.

    Thank you

    Kate
    Attached Files Attached Files
    Last edited by necht_angel; 04-30-2013 at 09:59 AM.

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: How do I lookup a condition and then specify a result?

    Something like this:

    =IF(COUNTIF(Sheet1!S11:S22,"ERROR NOT FULLY INVOICED"),"ATTENTION VARIATIONS HAVE NOT BEEN INVOICED","")
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: How do I lookup a condition and then specify a result?

    hi Kate, not sure if i understand correctly. in sheet2:
    =IF(COUNTIF(Sheet1!S11:S22,"ERROR NOT FULLY INVOICED"),"ATTENTION VARIATIONS HAVE NOT BEEN INVOICED","")

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  4. #4
    Registered User
    Join Date
    09-21-2011
    Location
    London
    MS-Off Ver
    365
    Posts
    71

    Re: How do I lookup a condition and then specify a result?

    Thanks so much guys, that was really helpful. I perhaps could have saved myself hours by asking sooner

    Kate

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: How do I lookup a condition and then specify a result?

    You're welcome. We appreciate the feedback!

+ 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