+ Reply to Thread
Results 1 to 14 of 14

Chop all data and give me this only

  1. #1
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2013 PRO PLUS
    Posts
    3,718

    Chop all data and give me this only

    Find explaination, its within the file

    If someone can give me macro also
    that changes formula to value , it will
    be cool too since my boss does not
    know to paste special correctly , he tends
    to forget and it messes calculations
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Chop all data and give me this only

    Quite simple, you could learn this by recording a macro of how to do it, basically you are copying and pasting speacial values & formats to the new sheet.

    You will need to put some logic on there for the blank column issue, thats will be an if statement, which you could do in a hidden column and copy that instead, so if(h1="",i1,h1)

    Recording macros and inspecting the code is a great way to learn vba.
    Hope this helps

    Sometimes its best to start at the beginning and learn VBA & Excel.

    Please dont ask me to do your work for you, I learnt from Reading books, Recording, F1 and Google and like having all of this knowledge in my head for the next time i wish to do it, or wish to tweak it.
    Available for remote consultancy work PM me

  3. #3
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Chop all data and give me this only

    try below
    Open Excel sheet
    then press Alt+F11
    This will open VBE, At the top click insert then click module
    Copy paste below
    Please Login or Register  to view this content.
    Close VBE go to excel press Alt+F8 this will open macro dialogue box click copypaste and run
    Last edited by hemesh; 05-07-2014 at 07:38 AM.
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    WANT TO SAY THANKS, HIT ADD REPUTATION (*) AT THE BOTTOM LEFT CORNER OF THE POST

    More we learn about excel, more it shows us, how less we know about it.

    for chemistry
    https://www.youtube.com/c/chemistrybyshivaansh

  4. #4
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: Chop all data and give me this only

    Try this........
    Please Login or Register  to view this content.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  5. #5
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2013 PRO PLUS
    Posts
    3,718

    Re: Chop all data and give me this only

    Its giving me run time error 91 ?

    Someone please , I want to surprise my boss this eve

  6. #6
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: Chop all data and give me this only

    Which code you are referring to?

  7. #7
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2013 PRO PLUS
    Posts
    3,718

    Re: Chop all data and give me this only

    Hurry sktneer yours works

  8. #8
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: Chop all data and give me this only

    Glad it helped.
    If that takes care of your question, please mark your thread as solved.
    Moreover you may also click on * (star) to Add Reputation to those who have put their time and efforts to help you in this forum.

  9. #9
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Chop all data and give me this only

    Oops ! Forgot to change. Check I have update the code

  10. #10
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2013 PRO PLUS
    Posts
    3,718

    Re: Chop all data and give me this only

    Sktneer I just received a chunky tip from my boss , he wants
    it even closer

  11. #11
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2013 PRO PLUS
    Posts
    3,718

    Re: Chop all data and give me this only

    I will close the thread before I do so , say if this raw data is
    on certain folder abc on drive c

    He has his master file , he wants to pull the data from there
    to go read this folder and paste there , the raw data files could
    be more than one , is this possible sktneer

  12. #12
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2013 PRO PLUS
    Posts
    3,718

    Re: Chop all data and give me this only

    we shall try and fix the raw data with the same columns so
    the macro reads the desired columns always

  13. #13
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2013 PRO PLUS
    Posts
    3,718

    Re: Chop all data and give me this only

    Here is part two of the situation , I will close the thread for sure

    The boss opening his master file , the raw data that I attached
    say is on drive c folder name abc , he than runs the macro on
    his file to go get this data that folder , Ouch not sure why he
    needs folder automation , his sorted out but his asking it the other
    way round

  14. #14
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2013 PRO PLUS
    Posts
    3,718

    Re: Chop all data and give me this only

    sktneer i have marked thread solved , i have started
    new thread part 2 , same technology but from folder fetching

+ 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] Chop Large Excel Column into Specific Number of Values in Multiple Columns
    By kheschmann in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-06-2013, 03:42 PM
  2. CHOP rows into some Excel files
    By thesti in forum Excel General
    Replies: 4
    Last Post: 01-09-2010, 08:38 PM
  3. How do i chop up a spreadsheet
    By John K in forum Excel General
    Replies: 3
    Last Post: 12-07-2006, 11:51 AM
  4. chop off extra characters in excel
    By marctaroe@gmail.com in forum Excel General
    Replies: 6
    Last Post: 06-21-2006, 11:25 PM
  5. Chop off parts of the statement
    By 0-0 Wai Wai ^-^ in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-23-2006, 05:10 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