+ Reply to Thread
Results 1 to 5 of 5

Problem with accounting data analysis (data comparison)

  1. #1
    Registered User
    Join Date
    09-30-2017
    Location
    Poland
    MS-Off Ver
    2013
    Posts
    3

    Problem with accounting data analysis (data comparison)

    Hello everyone,

    I would be really greatful for some help with my data analysis in Excel. I was thinking about solving this problem using formulas at first (vlookup, index etc.), but maybe writing a code in VBA seems more reasonable. I’m open to your suggestions.

    In the attached workbook I present you my fictional, raw data and the sample sheets with expected results (preferably „Sample result1“ sheet).

    What I need to do in my analysis is to check if costs (accounts starting with 40…) are equal to expenditures (accounts starting with 130) in terms of:
    • Account classification ("…-75011-4300" in both corresponding records mean they match)
    • Sum (Dt and Ct)
    • Code 1 and Code2
    Accounts starting with other symbols i.e. 241 should be ignored.
    It would also be cool to add some cell formatting if the results don’t match (like cell J3 in „Sample result1“ sheet).

    I’m not sure but the only way to compare this data seems to be a document symbol in column B („Data“ sheet).

    I hope that maybe the solution is simpler than I think. If my thread suits to another sub-forum more, please feel free to move it.
    Thank you for your help in advance!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: Problem with accounting data analysis (data comparison)

    Run the Macro Compare. I hope this is helpful
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    09-30-2017
    Location
    Poland
    MS-Off Ver
    2013
    Posts
    3

    Re: Problem with accounting data analysis (data comparison)

    Your code is working perfectly rcm, I'm still beginner in VBA, but you definitely encouraged me to learn it more! Thank you so much

  4. #4
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: Problem with accounting data analysis (data comparison)

    You are welcome. Please mark it as SOLVED then if you are satisfied

  5. #5
    Registered User
    Join Date
    09-30-2017
    Location
    Poland
    MS-Off Ver
    2013
    Posts
    3

    Re: Problem with accounting data analysis (data comparison)

    Of course, thank you once again!

+ 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. Replies: 2
    Last Post: 06-28-2013, 08:43 AM
  2. [SOLVED] Data Analysis Problem
    By GapWolf in forum Excel General
    Replies: 3
    Last Post: 05-25-2012, 06:40 AM
  3. Excel 2007 : Problem in Data Analysis and Ranking
    By imran9171 in forum Excel General
    Replies: 0
    Last Post: 11-13-2011, 03:34 PM
  4. VBA Data Analysis Loop Problem
    By darr in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-10-2011, 09:08 PM
  5. problem with data analysis
    By godel in forum Excel General
    Replies: 1
    Last Post: 08-19-2009, 12:00 PM
  6. data analysis problem
    By smalllittle in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 03-20-2009, 09:33 PM
  7. Excel 2007 : problem w/ data analysis add-in
    By adamseanor in forum Excel General
    Replies: 1
    Last Post: 11-21-2008, 12:59 PM
  8. Problem with COVARIANCE option in Data Analysis
    By andrewc in forum Excel General
    Replies: 1
    Last Post: 10-24-2008, 11:12 AM

Tags for this Thread

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