+ Reply to Thread
Results 1 to 3 of 3

Returning select results using a conditional operator

  1. #1
    Registered User
    Join Date
    12-20-2019
    Location
    Arlington, TX
    MS-Off Ver
    2010
    Posts
    27

    Returning select results using a conditional operator

    I have a small set of data that has 3 columns of numbers.
    The first column is all positive values, the second column has either negative or blank values. In the third column, I want to return the positive values in the first column if they are greater than the value in the second column. I've attached a small series of numbers to better illustrate what I'm trying to convey.

    I'm trying to apply this to a bigger spreadsheet and the formula I have for the attached spreadsheet wont work on the bigger set of data. (Note: The bigger spreadsheet has lengthy formulas).

    Is there way to do something where if the second column is blank, it returns the value in the first column?
    I tried doing this to no avail:

    "IF(OR(A2>B2, B2="", A2, B2)"
    Last edited by AliGW; 06-01-2020 at 12:49 AM. Reason: Post reinstated.

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Returning select results using a conditional operator



    I am confused. It appears your formula does exactly what you describe in Post #1.

    What am I missing? What should those figures in column C be then?
    Dave

  3. #3
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: Returning select results using a conditional operator

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    is this what you are looking for

+ 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. [SOLVED] Select last row in column A and select 49 rows up, copy results to A2
    By Groovicles in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-25-2016, 02:59 PM
  2. Conditional formatting formula returning arbitrary results
    By jamieanne84 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 09-01-2015, 08:12 AM
  3. [SOLVED] Vlookup formula to select and highlight (conditional formatting) multiple results
    By hbomb1927 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-20-2014, 03:27 PM
  4. Replies: 3
    Last Post: 10-05-2013, 12:28 AM
  5. Replies: 1
    Last Post: 08-23-2013, 05:45 PM
  6. Select Case with AND operator
    By fredblogs in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-06-2011, 10:24 AM
  7. Conditional formatting, OR operator
    By strep21 in forum Excel General
    Replies: 2
    Last Post: 10-22-2006, 03:20 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