+ Reply to Thread
Results 1 to 6 of 6

Macro to pull specific data out and place in a seperate worksheet

  1. #1
    Forum Contributor
    Join Date
    06-11-2008
    MS-Off Ver
    2003
    Posts
    220

    Macro to pull specific data out and place in a seperate worksheet

    I have a large table of data, what I would like is a macro that when you run it, it pulls specific data from that large table and pastes it onto a seperate worksheet. The column which i am concentrating on using is Cost. The total cost should be a set amount for example £100, so what i would like is every row which has more or less than £100 in the cost column to be pasted into a table of its own on a seperate worksheet.

    Apreciate any help on this, many thanks!!!!

  2. #2
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606
    I think perhaps you should attach a small sample of your data.

  3. #3
    Forum Contributor
    Join Date
    06-11-2008
    MS-Off Ver
    2003
    Posts
    220
    Im afraid i cannot attach the table, as it contains private/confidential data. Heres a table ive just made from scratch, which might be able to help you, as you can see the Cost column. So i would like every row which does not have £20 as the cost to be copy/pasted onto another worksheet as a seperate table.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    03-28-2008
    Posts
    7
    Any column that has more or less than £100? Do you mean any row that isn't specifically £100?

    Do you have a specific worksheet in mind or do you want it to just create a new one?

  5. #5
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606
    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    06-11-2008
    MS-Off Ver
    2003
    Posts
    220
    I am having a problem with the macro above, it gives me an error message - Compile error. Expected End With

    Any suggestions please?!?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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