+ Reply to Thread
Results 1 to 10 of 10

Macro to SUMIFS based on certain criteria and CONCATENATE Transaction nos.

  1. #1
    Registered User
    Join Date
    04-15-2008
    Location
    Tamil Nadu, India.
    MS-Off Ver
    Microsoft Office 2016
    Posts
    582

    Macro to SUMIFS based on certain criteria and CONCATENATE Transaction nos.

    Dear Friends,

    I have a data in which date, transaction nos, type, amount collected etc are there. The no. of data may vary based on daywise collections.

    Therefore, for summary, I need to SUMIFS the data (which is possible using Pivot but not in the required format) and CONCATENATE the transaction nos. as per the grouped data.

    I attached the Excel file in which I furnished the detailed data and the SAMPLE OUTPUT requirement also.

    Please help me to resolve.
    Attached Files Attached Files
    Good friends are hard to find, harder to leave, and impossible to forget.

    acsishere.

  2. #2
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: Macro to SUMIFS based on certain criteria and CONCATENATE Transaction nos.

    Maybe :
    Please Login or Register  to view this content.
    1. I care dog
    2. I am a loop maniac
    3. Forum rules link : Click here
    3.33. Don't forget to mark the thread as solved, this is important

  3. #3
    Registered User
    Join Date
    04-15-2008
    Location
    Tamil Nadu, India.
    MS-Off Ver
    Microsoft Office 2016
    Posts
    582

    Re: Macro to SUMIFS based on certain criteria and CONCATENATE Transaction nos.

    Dear Sir,

    Thanks for your kind & swift support. You are Great Sir.

  4. #4
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: Macro to SUMIFS based on certain criteria and CONCATENATE Transaction nos.

    You are welcome, thanks for marking the thread as solved and rep.points.

    Regards

  5. #5
    Registered User
    Join Date
    04-15-2008
    Location
    Tamil Nadu, India.
    MS-Off Ver
    Microsoft Office 2016
    Posts
    582

    Re: Macro to SUMIFS based on certain criteria and CONCATENATE Transaction nos.

    Dear Sir,
    The above code is simply superb.

    I need one more help in the above to apply in another file.

    Almost the process is same, but the no. of SUMMING columns are less. And NO NEED TO CONCATENATE any column also.

    I attached the sample file for your kind help. Please Sir.
    Attached Files Attached Files

  6. #6
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: Macro to SUMIFS based on certain criteria and CONCATENATE Transaction nos.

    Should be :
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    04-15-2008
    Location
    Tamil Nadu, India.
    MS-Off Ver
    Microsoft Office 2016
    Posts
    582

    Re: Macro to SUMIFS based on certain criteria and CONCATENATE Transaction nos.

    Oh ! You Beauty....
    Great Sir. Take a Bow......
    Thanks a lot Sir.

  8. #8
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: Macro to SUMIFS based on certain criteria and CONCATENATE Transaction nos.

    You are welcome.

    Don't forget to mark this thread as solved :
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  9. #9
    Registered User
    Join Date
    04-15-2008
    Location
    Tamil Nadu, India.
    MS-Off Ver
    Microsoft Office 2016
    Posts
    582

    Re: Macro to SUMIFS based on certain criteria and CONCATENATE Transaction nos.

    Dear Sir,
    It worked very fine. I attached the Excel file in which I applied your code.

    1) Your code works nicely in the table (sheet "Data1").

    2) When I applied your code in sheet "Data2", then it returns with "Error #9 - Subscript out of range". What may be the issue? I tried my level best, but couldn't.

    I attached the Excel File with both sheets & codes ("coderight" for sheet "data1" & "codewrong" for sheet "data2"), to run instantly to find error message.

    Please help me to resolve it Sir.
    Attached Files Attached Files

  10. #10
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: Macro to SUMIFS based on certain criteria and CONCATENATE Transaction nos.

    Please change this line :
    Please Login or Register  to view this content.
    into this :
    Please Login or Register  to view this content.

+ 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 An Udf to Concatenate with mutiple criteria Like Sumifs Do Work
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-03-2017, 07:29 AM
  2. [SOLVED] using SUMIFS and adding values based on multiple criteria based on selection from the drop
    By muheebrahman in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-25-2015, 12:55 AM
  3. [SOLVED] SUMIFS with Column Concatenate for Criteria
    By carlyman in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-29-2013, 09:11 AM
  4. Pls help, can we concatenate text based on some criteria lik SUMIFS
    By Shermin in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-22-2013, 04:31 AM
  5. Sumifs help - sum based on two criteria
    By ned0 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-16-2012, 01:45 AM
  6. [SOLVED] SUMIFS based on dynamic criteria
    By AaronB in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-15-2012, 08:19 PM
  7. Complicated set of calculations based on transaction IDs, transaction value, etc.
    By BeeZeRCoX in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-14-2011, 11:35 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