+ Reply to Thread
Results 1 to 17 of 17

Return value of latest balance for each month and accounts

  1. #1
    Registered User
    Join Date
    01-11-2021
    Location
    Canada
    MS-Off Ver
    MS Office 2016
    Posts
    81

    Return value of latest balance for each month and accounts

    Updated the file
    Attached Files Attached Files
    Last edited by Goodvibe; 01-23-2021 at 03:45 PM.

  2. #2
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,999

    Re: Return value of latest balance for each month and accounts

    Projection


    D2=IFERROR(LOOKUP(2,1/(MONTH('Épargnes Inv.'!$A$14:$A$35)=MONTH(Projection!D$1))/(YEAR('Épargnes Inv.'!$A$14:$A$35)=YEAR(Projection!D$1))/('Épargnes Inv.'!$C$14:$C$35=Projection!$A2),'Épargnes Inv.'!$G$14:$G$35),"")


    copy across and down
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    01-11-2021
    Location
    Canada
    MS-Off Ver
    MS Office 2016
    Posts
    81

    Re: Return value of latest balance for each month and accounts

    Hi CARACALLA!

    Thanks for the feedback! I'm trying to replicate the formula in the real table but it doesn't work on the real one. The columns are in the same order. It is just ROW reference number of the cells and the values that are different. Could you explain to me the "2;1" right after the LOOKUP function please? Maybe that's the issue?

  4. #4
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,999

    Re: Return value of latest balance for each month and accounts

    Dates are numbers or texts like in your original file ?

    In the file sent I changed the dates which were texts to real dates (numbers) and formatted to indicate month and year

  5. #5
    Registered User
    Join Date
    01-11-2021
    Location
    Canada
    MS-Off Ver
    MS Office 2016
    Posts
    81

    Re: Return value of latest balance for each month and accounts

    It's my mistake. I have fixed both the column and the row for the month reference ($D$1). Just tried june and it works (since prior months don't have data). Thanks for helping me out Caracalla !
    Last edited by Goodvibe; 01-22-2021 at 05:48 PM.

  6. #6
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,999

    Re: Return value of latest balance for each month and accounts

    attach the real file


    For Excel in English your dates are recognized as texts
    Last edited by CARACALLA; 01-22-2021 at 05:52 PM.

  7. #7
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,999

    Re: Return value of latest balance for each month and accounts

    You are welcome

  8. #8
    Registered User
    Join Date
    01-11-2021
    Location
    Canada
    MS-Off Ver
    MS Office 2016
    Posts
    81

    Re: Return value of latest balance for each month and accounts

    The enigmas that I have and still trying to figure out:

    1)Return the balance of LAST MONTH and THIS MONTH for each accounts (it would update as the months go by) in the tab named "Projection"
    2)The latest balance for each accounts from the latest date that is in the table (in the tab named "Épargnes et Inv.)

    Your help is greatly appreciated !Wish I could do more on my side regarding formulas but no luck so far :S!
    Attached Files Attached Files
    Last edited by Goodvibe; 01-23-2021 at 10:57 AM. Reason: missing formula

  9. #9
    Registered User
    Join Date
    01-11-2021
    Location
    Canada
    MS-Off Ver
    MS Office 2016
    Posts
    81

    Re: Return value of latest balance for each month and accounts

    I am still trying to figure out two formulas :S:

    1)Return the balance of LAST MONTH and THIS MONTH for each accounts (it would update as the months go by) in the tab named "Projection"
    2)The latest balance for each accounts from the latest date that is in the table (in the tab named "Épargnes et Inv.)

    Your help is greatly appreciated !Wish I could do more on my side regarding formulas but no luck so far :S!

    P.S. I have linked the attachment in the original post because I don't know to attach it in the reply section (a newbie to the forum :P)

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,167

    Re: Return value of latest balance for each month and accounts

    You attach workbooks in exactly the same way in any post - instructions are at the top of the page.

    Please don't post edit the content of posts - I will reinstate the contents of your opening post.

    Please don't open duplicate threads - your duplicate of this has been closed.

    Administrative Note:

    Welcome to the forum.

    Although we value your privacy as much you do, it could be important that members have a rough idea of your location as the solutions they offer may be affected by your locale. For instance, you might in the future post questions which are related to your regional settings.

    With this in mind, please update your profile to something more precise (something such as UK, Europe, USA, UAE, etc. will suffice).

    Thank you for helping us to help you.
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  11. #11
    Registered User
    Join Date
    01-11-2021
    Location
    Canada
    MS-Off Ver
    MS Office 2016
    Posts
    81

    Re: Return value of latest balance for each month and accounts

    Hi AliGW!

    Oups! I didn't know regarding duplicate (sorry)! Since I have marked "issue solved" (regarding one formula) here in the post, I actually had a second formula to find regarding the same type of issue (return value of latest balance) in another tab. I thought that maybe people would move on after seeing "issue solved" :S. That is why I did another thread. What should I do in that situation? Editing the message "Issue solved"?

  12. #12
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,167

    Re: Return value of latest balance for each month and accounts

    You have removed the solved tag, so that's fine.

    Please update your forum location profile as requested - I'm guessing you are either in France or French-speaking Canada. Thanks.

  13. #13
    Registered User
    Join Date
    01-11-2021
    Location
    Canada
    MS-Off Ver
    MS Office 2016
    Posts
    81

    Re: Return value of latest balance for each month and accounts

    Ok just edited the "issue solved" and updated my location. But how do we delete a reply instead of editing it?

    Thanks for letting me know regarding the rule of duplication.

  14. #14
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,167

    Re: Return value of latest balance for each month and accounts

    You don't delete replies - just add new messages to the thread to keep everything easy to follow and chronological. In fact, we much prefer you not to delete anything - it just leads to confusion.

    Once this thread is solved, you can select Thread Tools from the menu link above and mark this thread as SOLVED.

    Thanks for updating your location.

  15. #15
    Registered User
    Join Date
    01-11-2021
    Location
    Canada
    MS-Off Ver
    MS Office 2016
    Posts
    81

    Re: Return value of latest balance for each month and accounts

    Ok makes sense! Thanks for the information. I will change the status to SOLVED once it is complete.

  16. #16
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,999

    Re: Return value of latest balance for each month and accounts

    Épargnes Inv

    D6=IFERROR(LOOKUP(2,1/('Épargnes Inv.'!$C$14:$C$35='Épargnes Inv.'!$C6)/('Épargnes Inv.'!E$14:E$35<>""),'Épargnes Inv.'!E$14:E$34),"")

    Copy across and down

  17. #17
    Registered User
    Join Date
    01-11-2021
    Location
    Canada
    MS-Off Ver
    MS Office 2016
    Posts
    81

    Re: Return value of latest balance for each month and accounts

    Thanks a lot Caracalla !!

    I don't know if you saw the formulas that I am still trying to figure out in the tab "Projection"?

    And to try to be more litterate for formula composition :P, can you explain the functions you used in the formula:
    D6=IFERROR(LOOKUP(2,1/('Épargnes Inv.'!$C$14:$C$35='Épargnes Inv.'!$C6)/('Épargnes Inv.'!E$14:E$35<>""),'Épargnes Inv.'!E$14:E$34),"")???

    No offense if you don't want to explain either by the way .

+ 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. Week ending balance on multiple bank accounts
    By Mrsschoie in forum Excel General
    Replies: 1
    Last Post: 07-17-2018, 12:48 PM
  2. [SOLVED] Balance Transfer Between Accounts Formula
    By vill in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-26-2017, 10:41 AM
  3. second latest date, invoice and balance
    By shyshine in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-12-2016, 11:22 AM
  4. [SOLVED] Running balance for accounts payable data
    By karstens in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-27-2015, 12:21 PM
  5. Drop-down for the selection of bank accounts to update balance sheet
    By aarvye in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-08-2012, 08:42 AM
  6. Formula for capturing the latest balance
    By sayang in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 02-04-2009, 09:42 PM
  7. Capture latest entries for accounts
    By Cookie in forum Excel General
    Replies: 3
    Last Post: 07-06-2007, 06:27 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