+ Reply to Thread
Results 1 to 7 of 7

IF function 2 Criteria

  1. #1
    Registered User
    Join Date
    12-26-2011
    Location
    San Diego, CA
    MS-Off Ver
    Excel for 365
    Posts
    62

    IF function 2 Criteria

    I have 2 criteria $ col & % col thresholds of 250k & 5%. I'm trying to evaluate both columns & if both criteria are met add a number starting with 1 to the column. So in Col S is $ variance Col T is % variance in colnU in putting the if formula. There is about 20 rows to evaluate & 8 of them meet this criteria. I'd like to have the formula number then 1-8 as it identifies them. Could easily do it manually but thought it was interesting. Thanks for any help you provide. Also my amounts show up in thousands as far as number formatting goes so 250K actually a shows as 250.

  2. #2
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: IF function 2 Criteria

    It would be easier if you attach a workbook illustrating what you want

    To attach a workbook
    - click REPLY
    - click GO ADVANCED
    - look below for MANAGE ATTACHMENTS
    - follow screen instructions
    Thanks
    Click *Add Reputation to thank those who helped you. Ask if anything is not clear

  3. #3
    Registered User
    Join Date
    12-26-2011
    Location
    San Diego, CA
    MS-Off Ver
    Excel for 365
    Posts
    62
    Quote Originally Posted by kev_ View Post
    It would be easier if you attach a workbook illustrating what you want

    To attach a workbook
    - click REPLY
    - click GO ADVANCED
    - look below for MANAGE ATTACHMENTS
    - follow screen instructions
    Thanks
    Book attached...I think
    Attached Files Attached Files

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: IF function 2 Criteria

    One way, in F4, copied down:

    =IF(AND(ABS(D4)>=250000,ABS(E4)>=0.05),1+IF(ISTEXT(F3),0,F3),"")
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  5. #5
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,899

    Re: IF function 2 Criteria

    Maybe?

    =IF(AND(ABS(D4)>=250000,ABS(E4)>=0.05),MAX($F$3:F3)+1,"")

  6. #6
    Registered User
    Join Date
    12-26-2011
    Location
    San Diego, CA
    MS-Off Ver
    Excel for 365
    Posts
    62

    Re: IF function 2 Criteria

    Awesome Thanks everyone!

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: IF function 2 Criteria

    You're welcome.



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

+ 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. List Function with Criteria - Index Match with Criteria
    By teststrip in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-24-2017, 11:11 PM
  2. Replies: 4
    Last Post: 04-14-2017, 05:14 PM
  3. Syntax/method to pass an AutoFilter criteria to a Function and use the value in function
    By excelnoobee in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-04-2016, 02:09 PM
  4. [SOLVED] Cmobing an IF Function with an OR Function with two spearate criteria to be met
    By Alphabex in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-15-2016, 07:25 PM
  5. Replies: 11
    Last Post: 06-01-2015, 02:21 AM
  6. Multiple Criteria Function along with Count function
    By Joseph Wee in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-23-2013, 12:51 AM
  7. Need help to change multiple criteria from if function to Case function.
    By indkitty in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-29-2012, 10:42 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