+ Reply to Thread
Results 1 to 4 of 4

Displaying the lowest value for the next x days of data

  1. #1
    Registered User
    Join Date
    02-16-2017
    Location
    Melbourne, Australia
    MS-Off Ver
    2013
    Posts
    2

    Displaying the lowest value for the next x days of data

    I have a query that I am struggling to find/work out the answer to:

    I am working on a basic spreadsheet to show financial value forecasts (account balances) over the course of the current month. Over the course of a month, a number of payments come in, meaning that the balance fluctuates. I want to be able to display the lows, as a guide to how low the balance will get before the next payment.

    In Row 1, I have dates for the current month.
    In Row 2, I have a numeric value for each date (the balance).

    (Sorry about the formatting here - I couldn't work out how to do a table, so I've put the column letters in brackets along side each value.)


    1| (A)1/2/17 (B)2/2/17 (C)3/2/17 (D)4/7/17 (E)5/2/17 (F)6/2/27 (G)7/2/17 (H)8/2/17 (I)9/2/17 (J)10/2/17 etc.
    2| (A)10.....(B)8......(C)7......(D)9......(E)7......(F)5......(G)2......(H)1......(I)12.....(J)10.....etc.


    PROBLEM

    I'm currently using conditional formatting to show lowest balances as red, through the colour scale to green for the highest balances. All, good, but means I have to scroll through all columns to see the key values. Doing a simple =MIN for the range is good until the date of that balance has passed, at which point, it becomes irrelevant.

    GOAL(S)

    * I want to display the lowest balance for the next 7 days (discounting any value where the date in Row 1 is less than today)
    SO if today is 1/2/17 then display the value in H2
    * I want to display the lowest balance for the remainder of the month (discounting any value where the date in Row 1 is less than today);
    SO if today is 1/2/17, then display the lowest value from the full month - assume H2 is the lowest here

    BONUS:

    * I want to display the lowest balance X days, where X is the number of days between TODAY and the next date where there is an increase from one cell to the next;
    = if today is 1/2/17, then display the value in C2,
    SO if today is 4/2/17, then display the value in H2


    I'm not particularly advanced in my macros/VBA abilities, so if there is a formulaic way of doing this, that would be great!

    TIA

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,458

    Re: Displaying the lowest value for the next x days of data

    Not everyone 'd like to type sample data. Try to attach a sample.

    Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Quang PT

  3. #3
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,210

    Re: Displaying the lowest value for the next x days of data

    A sample file is much better and is the value in d1 a typo?

  4. #4
    Registered User
    Join Date
    02-16-2017
    Location
    Melbourne, Australia
    MS-Off Ver
    2013
    Posts
    2

    Re: Displaying the lowest value for the next x days of data

    OK - thanks for the tips - I'll attach a sample soon - your help is much appreciated!

+ 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. Need help displaying result of lowest number
    By TexasAggie13 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-09-2016, 05:09 PM
  2. Recording lowest and 2nd lowest numbers in a rang of cells
    By ORIELSON in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-01-2015, 10:31 AM
  3. [SOLVED] Adding Total Number of Days Elapsed and Displaying >31 Days
    By cwwazy in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-03-2013, 08:18 AM
  4. Displaying the difference of the lowest in a range
    By bobbby1949 in forum Excel General
    Replies: 8
    Last Post: 03-17-2011, 11:19 PM
  5. Displaying true or false if a cell is the lowest value
    By jasonmatthaynes in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-19-2008, 11:11 PM
  6. Replies: 1
    Last Post: 03-16-2006, 07:10 PM
  7. [SOLVED] Formula for displaying the lowest number of a range?
    By coal_miner in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-25-2005, 10:06 AM

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