+ Reply to Thread
Results 1 to 17 of 17

sum of item by mnth

  1. #1
    Forum Contributor
    Join Date
    06-12-2014
    Location
    Dubai U A E
    MS-Off Ver
    office 365
    Posts
    105

    sum of item by mnth

    Hi
    I have 2 worksheet 1 cash flow the second one g journal . In the G job1urnal sheet column B is dates c desc d column debit e column credit and f column amount. the cash flow sheet column b has various items starting from b13 to b19 and row d 2 onwards are dates . what I am trying to do is to check the g journal sheet for items in column e that matches cashflow sheet row b13 to b19 , then tax items in column d of the journal matches b12 of the cash flow and then for the period in the g journal in column b the month that matches the row 2 of the cash flow. eg the row highlighted in red (row 82) shows the date as 12-apr-23 in the b column tax in the d column capital mall in e column and 1000 in the f column. as these match with the row b19 in the cash flow the amount of 1000 is shown in d 19. I tried the sumifs but could not geet the desired result. any suggestions
    Shamsu
    Attached Files Attached Files

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

    Re: sum of item by mnth

    Why would you want 1000 under April 2024 and April 2025 as well? They are not in the lookup table.

    This will find the April 2023 value:

    =FILTER('G journal'!$F$2:$F$86,('G journal'!$E$2:$E$86=$B19)*('G journal'!$D$2:$D$86="Tax")*(MONTH('G journal'!$B$2:$B$86)=MONTH(D$2))*(YEAR('G journal'!$B$2:$B$86)=YEAR(D$2)))
    Attached Files Attached Files
    Last edited by AliGW; 03-18-2024 at 03:18 AM. Reason: Added suggestion.
    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,903

    Re: sum of item by mnth

    Seen, but no reply ...

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, 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.

  4. #4
    Forum Contributor
    Join Date
    06-12-2014
    Location
    Dubai U A E
    MS-Off Ver
    office 365
    Posts
    105

    Re: sum of item by mnth

    Hi
    the row 19 gets filled correctly but when i copy to the other rows in the same sheet cashflow i get 0 balance shown . pls advice
    Shamsu

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

    Re: sum of item by mnth

    No 'thank you'???

    Please provide a workbook showing the problem - it may be user error. And you didn't answer my question.

  6. #6
    Forum Contributor
    Join Date
    06-12-2014
    Location
    Dubai U A E
    MS-Off Ver
    office 365
    Posts
    105

    Re: sum of item by mnth

    hi
    Sorry . i had posted my reply to ur question but did not send to u , the row 2 the dates should be d2 1-apr-23 e2 1-may-23,f2 should be 1 june 23 upto 1mar 24. I hope this helps to clarify what is required . attached the worksheer
    Last edited by shamsu203; 03-18-2024 at 06:14 AM. Reason: file not attached

  7. #7
    Forum Contributor
    Join Date
    06-12-2014
    Location
    Dubai U A E
    MS-Off Ver
    office 365
    Posts
    105

    Re: sum of item by mnth

    file attached
    Attached Files Attached Files
    Last edited by shamsu203; 03-18-2024 at 07:02 AM. Reason: file not attached

  8. #8
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,207

    Re: sum of item by mnth

    In "G Journal" there is no data for May or June?
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  9. #9
    Forum Contributor
    Join Date
    06-12-2014
    Location
    Dubai U A E
    MS-Off Ver
    office 365
    Posts
    105

    Re: sum of item by mnth

    the g journal file is big the rows extends to 1000 . if required can send the file but basically it is the same format , the names shown inthe cash flow chart are the same as inthe g journal

  10. #10
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,054

    Re: sum of item by mnth

    Your sample is NOT standalone. It contains links to something we don't have access to.

    Some of the formulae, e.g.
    =IF('https://d.docs.live.net/da4850b242a0db35/Desktop/[invest acc.xlsx]rent rec'!$A$2>='https://d.docs.live.net/da4850b242a0db35/Desktop/[invest acc.xlsx]rent rec'!K2,$R$14,0)

    also refer to BLANK cells. R14 is blank???

    You are making this rather difficult for us to help you.

    Please take a bit of time to get your sample RIGHT and your expected answers RIGHT.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  11. #11
    Forum Contributor
    Join Date
    06-12-2014
    Location
    Dubai U A E
    MS-Off Ver
    office 365
    Posts
    105

    Re: sum of item by mnth

    hi
    pls find attached the complete work sheet . the tax shown in the work sheet is column r amount devided by 12 for the 12 month period. what i am tryig to achive is that the tax paid shown in the g journal for the respective account say capital mall be shown in the cash flow as and when paid. I hope this clarifies the matter
    Attached Files Attached Files
    Last edited by shamsu203; 03-18-2024 at 07:47 AM. Reason: file not attached

  12. #12
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,054

    Re: sum of item by mnth

    The external links are STILL in your file.

    What do you expect to see?

    Where do you expect to see it?

    I think I'll step back from this Q, as your explanation is just too confusing.

  13. #13
    Forum Contributor
    Join Date
    06-12-2014
    Location
    Dubai U A E
    MS-Off Ver
    office 365
    Posts
    105

    Re: sum of item by mnth

    HI
    the g journal file contains various items. what I want is that the item under tax in the d column related to item in the e column against the date in b column
    be shown in the related month in the cash flow worksheet. eg g journal has in b82 date 12-apr-23 date in the D 82 column it has "tax" row e 82 has capital mall and in the f82 row it has 1000. a formula is required to check the column b19 in cash flow to match the e 82 in the g journal and also if the d82 in the gjournal is related to tax and check the months shown in b82 in g journal and d2 in the cash flow. if these match then 1000 shown in the g journal f82 should be shown in in b19 against capital mall. similarly for the other itmes. AliGWNs formula worked for the b19 row but when the formula was copied to other rows in the cash flow 0 amount was shown . the figures shown in r14 in the cashflow are manual entries to show the tax figuers in
    under the respective months.The files was copy of the worksheet I use and hence the link
    Attached Files Attached Files

  14. #14
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,054

    Re: sum of item by mnth

    1. Change B14 to Major to match other sheet.

    2. Delete ALL expected results.

    3. Try:

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


    4. Your expected results seem to be incorrect in (ONLY) about 20 different places!!! Purple cells.
    Attached Files Attached Files

  15. #15
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: sum of item by mnth

    Could use this formula.

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

  16. #16
    Forum Contributor
    Join Date
    06-12-2014
    Location
    Dubai U A E
    MS-Off Ver
    office 365
    Posts
    105

    Re: sum of item by mnth

    My apologies to AliGW . she was perfectly correct. I had inconsistent data in the g journal worksheet. After correction of the same he formula worked as required. thanks also to the other for bearing with me
    Shamsu

  17. #17
    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,903

    Re: sum of item by mnth

    Thanks for letting me know.

+ 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] add specific item into last item for whole item based on where precede item
    By ABDELFATTA in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-28-2022, 03:25 PM
  2. [SOLVED] Issues with Macro to create individual pdf files for each item on item validation list
    By maldo81 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-10-2021, 02:58 PM
  3. Replies: 5
    Last Post: 03-01-2017, 05:41 PM
  4. UserForm: Search Item in List > Call Table associated with Item > Execute Command
    By TexasAggie12 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-25-2014, 12:58 PM
  5. Taking the next item in a list into 1 of 2 tables based on the previous item time
    By SoleAris in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-07-2011, 04:59 PM
  6. Replies: 1
    Last Post: 05-03-2006, 05:25 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