+ Reply to Thread
Results 1 to 7 of 7

Compare two columns to a third

  1. #1
    Registered User
    Join Date
    11-18-2013
    Location
    Baytown, Texas
    MS-Off Ver
    Excel 2007
    Posts
    6

    Compare two columns to a third

    Hello,

    I am new to the board and not versed in Excel. I know how to make simple tables and simple calculations, but that is where my knowledge stops. I get into nothing but trouble past this point.


    I want to know if A1+B1 is >= to C1 by the 11th day of the month then report $0.00 in D1. If A1+B1 is < C1 by the 11th day of the month then report $10.00 in D1. Now for the second part, if a A1+B1 is >= to C1+D1 by the 21th day of the month then report $0.00 in D1. If A1+B1 is < C1+D1 by the 21th day of the month then report $15.00 in E1.

    This is way over my head. I'm not sure if this is going to involve a look up table or not.

    If someone could help I would appreciate it.

    Thanks,

    Chipper

  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: Compare two columns to a third

    Hi and welcome to the forum

    It would be easier to offer suggestions if we could see what you are working with, but lets give it a shot....

    =if(day(today()=11,if(A1+B1>=C1,0,10)..................
    for the 2nd part, I think you have your references wrong?
    A1+B1 is >= to C1+D1 by the 21th day of the month then report $0.00 in D1...you cannot add C1+D1 IN D1, you will get a circular error.

    Assuming you meant you want this in E1...
    =if(day(today()=11,if(A1+B1>=C1+D1,0,15)

    ,if(day(today()=21,if(A1+B1>=C1,0,10),
    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
    11-18-2013
    Location
    Baytown, Texas
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Compare two columns to a third

    What I am trying to accomplish is for columns "Q", "R" & "S" to auto fill. If "K" (Payment 1) + (Payment 2) doesn't equal or greater than the "I" (Total Rent Due) by the 11th day of the month then I want a fee of $10.00 to fill in column "Q" (11 Day Late Fee). On the 12th day I want a $15.00 to fill in column "R" (12th Over Lock Fee). If "K" (Payment 1) + (Payment 2) doesn't equal or greater than the "I" (Total Rent Due) by the 21th day of the month then I want a fee of $15.00 to fill in column "S" (21 Day Late Fee).

    Storage Units.JPG

    Thanks for taking time to help me.

  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: Compare two columns to a third

    Please do not upload a picture of your file...rather, upload a sample of your workbook, showing what data you are working with, a few samples of your expected outcome is (manually entered is ok) and how you arrived at that. (exclude sensitive info). Pictures are pretty much impossible to edit, and no-one wants to re-type your data for you Also, not all members can upload picture files (Company firewalls and stuff)

  5. #5
    Registered User
    Join Date
    11-18-2013
    Location
    Baytown, Texas
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Compare two columns to a third

    How do I upload a sample of my workbook?

  6. #6
    Registered User
    Join Date
    11-18-2013
    Location
    Baytown, Texas
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Compare two columns to a third

    I have attached my document.


    Storage Unit Spread Sheet Test.xls

  7. #7
    Registered User
    Join Date
    11-18-2013
    Location
    Baytown, Texas
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Compare two columns to a third

    [QUOTE=FDibbins;3481286]Please do not upload a picture of your file...rather, upload a sample of your workbook, showing what data you are working with, a few samples of your expected outcome is (manually entered is ok) and how you arrived at that. (exclude sensitive info). Pictures are pretty much impossible to edit, and no-one wants to re-type your data for you Also, not all members can upload picture files (Company firewalls and stuff)[have you had anymore time to look at my spread sheet? I tried to apply what you sugested, but it didn't work.]

+ 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] Macro to Compare Columns A & B and dispaly any duplicates in Columns C & D
    By robertguy in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-12-2013, 02:24 AM
  2. Compare 2 columns and copy new values from the 2nd columns to a 3rd column
    By djarcadian in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-02-2013, 12:18 PM
  3. Replies: 6
    Last Post: 05-30-2013, 04:58 PM
  4. Replies: 1
    Last Post: 10-04-2012, 02:31 PM
  5. compare columns and count number of matching columns
    By san000 in forum Excel General
    Replies: 1
    Last Post: 07-15-2009, 10:31 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