+ Reply to Thread
Results 1 to 20 of 20

Want Split Alpha Numerials and then compare the balances from 2 sheets using macro

  1. #1
    Registered User
    Join Date
    08-21-2009
    Location
    Chennai,India
    MS-Off Ver
    Excel 2013
    Posts
    82

    Post Want Split Alpha Numerials and then compare the balances from 2 sheets using macro

    Hi Excel Gurus,

    Please help me to Split alpha numerals to split from sheet BB and then compare the balances in column B with adding a column has difference using a macro.

    I need a code to Split the Alpha numerals from sheet BB and then compare the same using Macro.

    Herewith enclosed the working sheet for the reference.

    Thanks a lot in advance


    Regards

    Aravind
    Attached Files Attached Files

  2. #2
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: Want Split Alpha Numerials and then compare the balances from 2 sheets using macro

    Hello
    So you just need a macro which would extract the number from column C in BB sheet and paste it in the NKK sheet column C?
    Happy to Help

    How to upload excel workbooks at this forum - http://www.excelforum.com/the-water-...his-forum.html

    "I don't get things easily, so please be precise and elaborate"

    If someone's post has helped you, thank by clicking on "Add Reputation" below the post.
    If your query is resolved please mark the thread as "Solved" from the "Thread Tools" above.

    Sourabh

  3. #3
    Registered User
    Join Date
    08-21-2009
    Location
    Chennai,India
    MS-Off Ver
    Excel 2013
    Posts
    82

    Re: Want Split Alpha Numerials and then compare the balances from 2 sheets using macro

    Hi
    I need a macro to split the first 3 alphabets and then paste it in New sheet and compare the 2 balances and should give me a difference column newly

    Thanks

  4. #4
    Registered User
    Join Date
    08-21-2009
    Location
    Chennai,India
    MS-Off Ver
    Excel 2013
    Posts
    82

    Re: Want Split Alpha Numerials and then compare the balances from 2 sheets using macro

    3 alphabets in Bb sheet

  5. #5
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: Want Split Alpha Numerials and then compare the balances from 2 sheets using macro

    Hi
    Check the new sheet in the file attached...I have for now inserted formulas....just check it if this is what you need....then I would convert the formulas into a macro..
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    08-21-2009
    Location
    Chennai,India
    MS-Off Ver
    Excel 2013
    Posts
    82

    Re: Want Split Alpha Numerials and then compare the balances from 2 sheets using macro

    Yes this is fine

  7. #7
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: Want Split Alpha Numerials and then compare the balances from 2 sheets using macro

    Hi
    Ok so here's the macro for you...
    Hope it helps!!
    Ask for any further queries you may have....
    Attached Files Attached Files

  8. #8
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: Want Split Alpha Numerials and then compare the balances from 2 sheets using macro

    This would work for 100 rows just change the 100 in the macro to any no. of rows you want...

  9. #9
    Registered User
    Join Date
    08-21-2009
    Location
    Chennai,India
    MS-Off Ver
    Excel 2013
    Posts
    82

    Re: Want Split Alpha Numerials and then compare the balances from 2 sheets using macro

    Hi

    But if I can able to view all the column from both the sheet nkk and bb in New and then add new column for difference would be great

  10. #10
    Registered User
    Join Date
    08-21-2009
    Location
    Chennai,India
    MS-Off Ver
    Excel 2013
    Posts
    82

    Re: Want Split Alpha Numerials and then compare the balances from 2 sheets using macro

    Wat should i put if I use it till the last

  11. #11
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: Want Split Alpha Numerials and then compare the balances from 2 sheets using macro

    Please clear my doubts
    Are you having raw data in sheet NKK? because CCY and Deal No. is already separated there...so do you enter data in NKK sheet in this format only or CCY and deal No. are combined together?

  12. #12
    Registered User
    Join Date
    08-21-2009
    Location
    Chennai,India
    MS-Off Ver
    Excel 2013
    Posts
    82

    Re: Want Split Alpha Numerials and then compare the balances from 2 sheets using macro

    Both are raw data from different source that is the reason both are having the same data. But the sheet bb is having deal no with ccy.

  13. #13
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: Want Split Alpha Numerials and then compare the balances from 2 sheets using macro

    So instead of splitting CCY and Deal no. form the BB sheet....cant we just copy the data from the NKK sheet?...as you said they are the same

  14. #14
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: Want Split Alpha Numerials and then compare the balances from 2 sheets using macro

    .......................
    Last edited by jindon; 02-08-2015 at 03:39 AM.

  15. #15
    Registered User
    Join Date
    08-21-2009
    Location
    Chennai,India
    MS-Off Ver
    Excel 2013
    Posts
    82

    Re: Want Split Alpha Numerials and then compare the balances from 2 sheets using macro

    No the first macro is OK for me

  16. #16
    Registered User
    Join Date
    08-21-2009
    Location
    Chennai,India
    MS-Off Ver
    Excel 2013
    Posts
    82

    Re: Want Split Alpha Numerials and then compare the balances from 2 sheets using macro

    Hi sourabh

    Thanks for the help.

    Just one more query on the macro will it be possible If there is a difference in the balances will it be able to show where the difference exist whether in NKK SHEET OR BB sheet

  17. #17
    Registered User
    Join Date
    08-21-2009
    Location
    Chennai,India
    MS-Off Ver
    Excel 2013
    Posts
    82

    Re: Want Split Alpha Numerials and then compare the balances from 2 sheets using macro

    Quote Originally Posted by sourabhg98 View Post
    So instead of splitting CCY and Deal no. form the BB sheet....cant we just copy the data from the NKK sheet?...as you said they are the same
    Hi Sourabh

    Thanks for the help.

    Just one more query on the macro will it be possible If there is a difference in the balances will it be able to show where the difference exist whether in NKK

  18. #18
    Registered User
    Join Date
    08-21-2009
    Location
    Chennai,India
    MS-Off Ver
    Excel 2013
    Posts
    82

    Re: Want Split Alpha Numerials and then compare the balances from 2 sheets using macro

    Hi sourabh,

    The macro you have provided IS working fine however I both the data will be in different columns so when it compares it is giving the wrong difference.

    Kindly check and provide me the fix

  19. #19
    Registered User
    Join Date
    08-21-2009
    Location
    Chennai,India
    MS-Off Ver
    Excel 2013
    Posts
    82

    Re: Want Split Alpha Numerials and then compare the balances from 2 sheets using macro

    Hi excel gurus,

    I have a macro where it is splitting the alpha numerals and getting me the difference between 2 sheets.

    However if the numerals where in two different rows in both the sheet it is providing me the results wrongly.

    Kindly help me to get the difference between both the sheet balances for the respective deals correctly

  20. #20
    Registered User
    Join Date
    08-21-2009
    Location
    Chennai,India
    MS-Off Ver
    Excel 2013
    Posts
    82

    Re: Want Split Alpha Numerials and then compare the balances from 2 sheets using macro

    Can anyone please help

+ 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: 7
    Last Post: 12-06-2012, 06:20 PM
  2. Split data in alpha and numeric
    By eadee in forum Excel General
    Replies: 2
    Last Post: 08-01-2012, 07:13 AM
  3. Replies: 1
    Last Post: 07-15-2012, 05:50 PM
  4. [SOLVED] Split Macro modification to Split into new Workbooks instead of sheets within one workbook
    By DLSmith in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-13-2012, 08:11 PM
  5. Macro to delete alpha and alpha numeric values
    By vijanand1279 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-20-2011, 09:13 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