+ Reply to Thread
Results 1 to 7 of 7

Getting the Total for the last entry for the selected month

  1. #1
    Registered User
    Join Date
    08-02-2021
    Location
    Atlanta, GA
    MS-Off Ver
    2019
    Posts
    2

    Getting the Total for the last entry for the selected month

    I am having a devil of a time figuring out how to accomplish this lookup.
    I have one sheet with the name of each month and along side I want to display a value based on a lookup on a second sheet.

    Logic wise I would:
    1. Get month on sheet 1
    2. Find all start dates that occur during the select month
    3. get the Total for the last entry for the selected month

    Capture.PNG
    In the screenshot if you note the Start Dates are in chronological order but not the end dates. For simplicity I put the sample data all on the same sheet.

    Any suggestions, I have been looking at MAX and VLOOKUP but not really working out too well.

  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,777

    Re: Getting the Total for the last entry for the selected month

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. As you are new here, I have done I for you today.)

    There are instructions at the top of the page explaining how to attach your sample workbook.
    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
    Valued Forum Contributor
    Join Date
    06-23-2021
    Location
    Romania
    MS-Off Ver
    2021, 365 v 2208
    Posts
    722

    Re: Getting the Total for the last entry for the selected month

    Replace June with 6, July with 7, August with 8 and use an array formula (press CTRL+SHIFT+ENTER after typing)

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Diana Tanase


    If the solutions offered helped you to solve your problem, then mark the thread as SOLVED (thread tools in the top menu) and you can click on * to add reputation to those who helped you, as a way to say thank you !

  4. #4
    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: Getting the Total for the last entry for the selected month

    Piggy-backing on tanasedn's workbook.

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



    A
    B
    C
    D
    E
    F
    1
    Date
    value
    2
    6/1/2021
    $ 2,000.00
    3
    7/9/2021
    $ 1,399.00
    June
    2000
    4
    7/12/2021
    $ 1,043.00
    July
    1774
    5
    7/16/2021
    $ 2,227.00
    August
    1461
    6
    7/22/2021
    $ 1,774.00
    7
    8/1/2021
    $ 1,379.00
    8
    8/2/2021
    $ 1,461.00
    Dave

  5. #5
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,408

    Re: Getting the Total for the last entry for the selected month

    Cell G4 formula , drag down

    HTML Code: 

  6. #6
    Registered User
    Join Date
    08-02-2021
    Location
    Atlanta, GA
    MS-Off Ver
    2019
    Posts
    2

    Re: Getting the Total for the last entry for the selected month

    Thank you, I am just now making my way back around. I will try to do better next time.

  7. #7
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,408

    Re: Getting the Total for the last entry for the selected month

    You're Welcome. Thank You for the feedback and for marking the thread as 'Solved'.

+ 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] How to get a corresponding value rather than using lookups!
    By Seve in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-19-2013, 01:44 PM
  2. Lost spaces and Zeros lost when replacing text
    By renshawk in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-29-2013, 04:50 AM
  3. More than Multiple Lookups: Conditional Multiple Lookups
    By mohitspamz in forum Excel General
    Replies: 6
    Last Post: 11-01-2009, 03:32 AM
  4. [SOLVED] How do I keep a running total of pounds lost and percentage lost
    By angel5959 in forum Excel General
    Replies: 4
    Last Post: 01-26-2006, 05:20 PM
  5. Lookups-how to do this?
    By Steve Wright in forum Excel General
    Replies: 2
    Last Post: 06-08-2005, 08:05 PM
  6. Replies: 2
    Last Post: 05-16-2005, 12:07 AM
  7. Replies: 1
    Last Post: 05-15-2005, 07:07 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