+ Reply to Thread
Results 1 to 4 of 4

"Flag" if a cell within two columns is less than its corresponding value

  1. #1
    Registered User
    Join Date
    08-10-2015
    Location
    N/A
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    14

    "Flag" if a cell within two columns is less than its corresponding value

    Hi all - so I have two columns: "scenario 1" and "scenario 2." Within each column, I have probably 150 rows with costs in them. I want to write a formula that it would check the two scenarios together and let me know for instance if there's a value in column 1 (or scenario 1) which is less than its adjacent cell in column 2 or (scenario 2):
    Scenarios
    1 2
    4589 2278
    2278 2278
    2278 2278
    2278 2278
    2278 2278
    2278 2278
    2278 2278
    2278 2278
    2278 2278
    2278 2278
    2278 2278
    2278 2278
    2278 2278

    So for instance, I want the formula to "flag" this since the first row of column 1 is higher than the one for column 2.

    Any suggestions on this?

    Thanks a lot!

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: "Flag" if a cell within two columns is less than its corresponding value

    Hi, welcome to the forum

    Assuming your data starts in row 2, perhaps this, in C2, copied down...
    =A2>B2

    Or, if you want to highlight the cells, use that formula in Conditional formatting (let me know if you dontr know how to do that)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    08-10-2015
    Location
    N/A
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    14

    Re: "Flag" if a cell within two columns is less than its corresponding value

    Thanks

    How about if I wanted to have like a "report" the reason is because I have a lot of scenarios which I need to check against each other, so I wanted to find a solution that works like a "offset." So that I can plug in my two scenario numbers and it would give me the result of "OK' or "check"

    Any ideas? Thanks!

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: "Flag" if a cell within two columns is less than its corresponding value

    Can you upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like - make sure you include whatever else it was you wanted to do with this? We may be able to use filters

+ 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. "Flag" row of duplicate entries with the greatest date
    By mattmickle in forum Excel General
    Replies: 24
    Last Post: 07-01-2015, 09:48 AM
  2. [SOLVED] IF statement to "flag" or pull data
    By erikw48 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-10-2015, 12:34 PM
  3. Function or Macro to Insert empty rows above "missing" flag
    By hurueli in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-25-2014, 10:52 PM
  4. [SOLVED] If cell contains word "financing" then flag
    By dow400 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-14-2013, 10:22 AM
  5. Replies: 0
    Last Post: 01-09-2013, 06:52 PM
  6. Unable to get date to flag "late" in macro
    By rgleeso1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-29-2009, 06:06 AM
  7. Transfert cell values from file "A" to file "B" skipping columns in file "B".
    By Sentrosi in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-16-2009, 11:11 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