+ Reply to Thread
Results 1 to 6 of 6

meet criteria between ranges

  1. #1
    Registered User
    Join Date
    09-01-2014
    Location
    Portugal
    MS-Off Ver
    2010
    Posts
    6

    meet criteria between ranges

    Hi,

    I want to test a criteria between range A (column A) and range B (column B).
    So, for every A value I want it to test the condition, say "IF A+B > 10, write SUM result to column C".
    The problem is that I want every A values to be tested with every B values (not only the ones in same lines).
    Of couse, column C could result bigger than A and B columns.

    I tried:
    ={IF(A1:A$20+B1:B$20>10;A1+B1;"")}
    ={IF(A$1:A$20+B$1:B$20>10;A1+B1;"")}
    ={IF(A1:A$20+B1:B$20>10;A1+B1;"")}

    and many more array variations...

    I think I'm not even close

    Thanks in advance

  2. #2
    Forum Contributor
    Join Date
    06-28-2004
    MS-Off Ver
    Home/Office 2016
    Posts
    246

    Re: meet criteria between ranges

    imagine all true
    A1 + B1 > 10 sum goes in C1
    A1 + B2 > 10 where is sum? C2 ?
    A2 + B1 > 10 now where is sum? C1 and C2 are taken...
    too many variables, no where to put results.
    at least from what i understand...

  3. #3
    Registered User
    Join Date
    09-01-2014
    Location
    Portugal
    MS-Off Ver
    2010
    Posts
    6

    Re: meet criteria between ranges

    You understood it perfectly and I had some doubts about excel's capabilities on solving this.
    Maybe the result could be a dynamic range..send answers to next blank row..

    Thanks anyway

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: meet criteria between ranges

    I took all the values that I had in column a and copied them across from C1 to V1 (the number of numbers that I have in column A. Then added each of the values in row 1 to the values in column B and if the sum was greater than 10 the value was entered into the cell.
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  5. #5
    Registered User
    Join Date
    09-01-2014
    Location
    Portugal
    MS-Off Ver
    2010
    Posts
    6

    Re: meet criteria between ranges

    newdoverman,

    that was a brilliant way to get to a solution

    I'm working on some thousands paired records, col A and B......col C and D.
    I'll try your approach on my datasets!!
    Thank You very much

  6. #6
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: meet criteria between ranges

    You're welcome.

    Thank you for the feedback.

    I wish you the best of success with your project.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    Last edited by newdoverman; 09-11-2014 at 04:38 PM.

+ 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. How to delete columns that meet one criteria AND does NOT meet the other?
    By lch93lily in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 08-06-2014, 09:53 AM
  2. [SOLVED] Count of rows in an array that meet criteria in column 2 and different criteria in column3
    By reynoldslarry in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-09-2013, 01:51 AM
  3. if conditions meet a certain criteria...
    By scambug in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-08-2012, 05:04 AM
  4. Using AND to meet multiple criteria
    By danison in forum Excel General
    Replies: 4
    Last Post: 02-02-2011, 05:21 AM
  5. 2 criteria to meet
    By nrfems83 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-04-2006, 04:43 AM

Tags for this Thread

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