+ Reply to Thread
Results 1 to 8 of 8

Formula to give specific text if two criteria are met

  1. #1
    Forum Contributor
    Join Date
    11-01-2014
    Location
    London, England
    MS-Off Ver
    Mac 2016
    Posts
    108

    Formula to give specific text if two criteria are met

    Hi

    I need specific text to result if I add in
    Criteria 1 - Either £1 or £1.50; and
    Criteria 2 - Either (1) 0 to 6 months (2) 6 to 12 months; or (3) 12 or more months

    There are 6 different combinations that end in certain criteria.

    I am stumped as to how to achieve the outcome.

    i have attached an example.

    Thanks

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Formula to give specific text if two criteria are met

    Can the cost ever be anything other than 1 or 1.5? If so, what should the result of the formula be?

  3. #3
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Formula to give specific text if two criteria are met

    Try

    B3 =INDEX(C10:C15,MATCH(B1&B2,A10:A15&B10:B15,0)) Ctrl Shift Enter

  4. #4
    Forum Contributor
    Join Date
    11-01-2014
    Location
    London, England
    MS-Off Ver
    Mac 2016
    Posts
    108

    Re: Formula to give specific text if two criteria are met

    There are only two costs £1.50 and £1.00.

    So, it is really asking if the cost is £1.00 and its paid for 0 to 6 months what would the outcome be.

  5. #5
    Forum Contributor
    Join Date
    11-01-2014
    Location
    London, England
    MS-Off Ver
    Mac 2016
    Posts
    108

    Re: Formula to give specific text if two criteria are met

    i can't thank you enough, i have been struggling with this and the other formula for a couple of days. I gave up and got help.

  6. #6
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Formula to give specific text if two criteria are met

    My pleasure, happy to help.

    If that solved your question, please mark this thread as SOLVED.

  7. #7
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Formula to give specific text if two criteria are met

    Just FYI, here is a standalone formula (does not require the lookup table):

    =IF(B2="0 to 6 months","Correct",IF(B2="12 or more months","Wrong",IF(B1=1,"Correct","Wrong")))

  8. #8
    Forum Contributor
    Join Date
    11-01-2014
    Location
    London, England
    MS-Off Ver
    Mac 2016
    Posts
    108

    Re: Formula to give specific text if two criteria are met

    Thanks again

+ 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. Replies: 24
    Last Post: 11-10-2015, 07:27 PM
  2. formula to give specific value/text location
    By keith740 in forum Excel General
    Replies: 6
    Last Post: 10-01-2015, 05:28 PM
  3. Need Formula to lookup for specific text in a string and give desired output.
    By winmaxservices1 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-18-2014, 03:45 PM
  4. Replies: 7
    Last Post: 10-10-2013, 09:13 AM
  5. [SOLVED] Formula to return specific text based on multiple cells meeting a single criteria
    By missydanni in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-13-2013, 09:48 AM
  6. Replies: 2
    Last Post: 07-31-2012, 01:11 PM
  7. Replies: 3
    Last Post: 04-29-2012, 01:07 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