+ Reply to Thread
Results 1 to 3 of 3

If two if conditions are both true then return a value?

Hybrid View

  1. #1
    Registered User
    Join Date
    06-27-2014
    Location
    Poole England
    MS-Off Ver
    2013
    Posts
    10

    Question If two if conditions are both true then return a value?

    How do you write this formula that is part of nested if statements.

    for e.g SEARCH FOR A KEY WORD IN ONE CELL AND A VALUE BETWEEN 3 TO 10 IN ANOTHER, IF BOTH ARE TRUE THEN RETURN ,10 IF EITHER ARE NOT TRUE THEN GO TO THE NEXT IF ARGUMENT.

    Kind regards,

    Matt

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: If two if conditions are both true then return a value?

    Hi

    Formula: copy to clipboard
    =IF(AND(A1="KeyWord",A2>=3,A2<=10),10,....next if argument)
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,421

    Re: If two if conditions are both true then return a value?

    Something along these lines:

    =IF(AND(ISNUMBER(MATCH(first_cell,keyword_list,0)),second_cell>=3,second_cell<=10),10,IF( ... details of second IF ... ))

    Please be more precise in future as regards cell and range references that you use, then the proposed solution would be tailored to your situation.

    Hope this helps.

    Pete

+ 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 formula to return true if conditions are met
    By masond3 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-20-2013, 07:15 AM
  2. Replies: 4
    Last Post: 12-06-2011, 10:15 AM
  3. IF AND formula with 3 conditions will not return true value
    By jscardi in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-11-2011, 07:28 PM
  4. Check four conditions return TRUE or FALSE
    By mkvassh in forum Excel General
    Replies: 6
    Last Post: 11-16-2009, 07:26 AM
  5. 2 Conditions True, Many Variables, Return Result
    By elliekev26 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-22-2005, 12:05 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