+ Reply to Thread
Results 1 to 5 of 5

Return a date if on that date a value in a column becomes greater than another column.

  1. #1
    Registered User
    Join Date
    10-30-2020
    Location
    Den Bosch, Netherlands
    MS-Off Ver
    365
    Posts
    9

    Return a date if on that date a value in a column becomes greater than another column.

    Hi,

    Thanks in advance!

    I am making a excel sheet where I have costs in column A. Savings A in column B. Savings B in colunn F. Savings C in column H.

    I want to return a date if on that date a the value of a Savings column is bigger than the costs.
    To know which savings (A, B or C) has to be compared to the costs I have a cell with a dropdown menu.

    Can someone help me with this?

    I also uploaded a testfile to better explain what I want.
    Attached Files Attached Files
    Last edited by larsvane; 04-09-2024 at 05:39 AM. Reason: Solved

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,987

    Re: Return a date if on that date a value in a column becomes greater than another column.

    Problem:

    AliGW on MS365 Beta Channel (Windows 11) 64 bit

    J
    K
    L
    1
    It want to have a formula that looks at which savings I select in L2 and then checks from which date that specific savings is bigger than costs
    2
    Select savings
    Savings A
    3
    Date savings>costs
    Sheet: Blad1

    No expected result - just a blank cell. What's the expected date?

    EDIT Found it!
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,987

    Re: Return a date if on that date a value in a column becomes greater than another column.

    In L3:

    =TAKE(LET(f,FILTER(D3:H123,D2:H2=L2),FILTER(A3:A123,B3:B123<f)),1)

    Format L3 as SHORT DATE.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    10-30-2020
    Location
    Den Bosch, Netherlands
    MS-Off Ver
    365
    Posts
    9

    Re: Return a date if on that date a value in a column becomes greater than another column.

    Thanks Ali, this works perfectly!

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,987

    Re: Return a date if on that date a value in a column becomes greater than another column.

    Glad to have helped.

    If you have not already done so, remember that you can reward anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.

+ 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] Return a date if on that date a value in a column becomes greater than the next column
    By larsvane in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-08-2024, 08:31 AM
  2. [SOLVED] sort values in column if date in another column is greater than referance cell
    By chriswrcg in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-16-2023, 10:50 AM
  3. Make a column=zero when date the is greater than a specific date
    By Megatronv in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-14-2021, 01:15 PM
  4. [SOLVED] getting total from column if todays date is equal to or greater than date column
    By peterjb44 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-11-2013, 07:43 PM
  5. If hire date (column D) is greater than revision date (column F) then delete row
    By bruinsrme in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-14-2013, 07:25 PM
  6. [SOLVED] Match Date (Column A) and add all value (Column D) for that date, return one value
    By Britte in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-21-2013, 09:05 PM
  7. Replies: 5
    Last Post: 10-14-2010, 01:06 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