+ Reply to Thread
Results 1 to 6 of 6

Display Projects from a list using a Macro.

  1. #1
    Registered User
    Join Date
    03-14-2012
    Location
    Galway, Ireland
    MS-Off Ver
    Excel 2007
    Posts
    46

    Display Projects from a list using a Macro.

    Hi all,

    I have have been trying this for awhile now with no look.

    I am trying to do something similar to SUMIFS but with say project names.

    so say i have something like

    | | A | B | C | D | E |
    |1|Name|Number|Project| Joe | Joe |
    |2| Joe | 1 | aaa | 5 | aaa, ccc|
    |3| Jack | 2 | bbb | | |
    |4| Mike | 3 | ccc | | |
    |5| Joe | 4 | ccc | | |
    |6| Mike | 5 | bbb | | |

    theres an example also included as attachment

    So what i want is like SUMIFS as when Joe is Wrote in D1 then in D2 it sums all the number to do with him and then what i cant do is if you type say Joe into E1 in E2 it adds all the projects joe is working on.
    So if i decided to put in mike then it would display all the projects mike worked on.

    Trying to do this using a macro just no luck so far.

    So i need the macro to run along Column A say and if it finds the Name Joe then take Related data.

    All comments will be appreciated.
    Thank You
    Attached Files Attached Files
    Last edited by Irish RayRay; 05-14-2012 at 09:39 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    07-29-2009
    Location
    Belgium
    MS-Off Ver
    Excel 2003/Excel 2010
    Posts
    534

    Re: Display Projects from a list using a Macro.

    Maybe like this:
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    03-14-2012
    Location
    Galway, Ireland
    MS-Off Ver
    Excel 2007
    Posts
    46

    Re: Display Projects from a list using a Macro.

    Thank you thats perfect

  4. #4
    Registered User
    Join Date
    03-14-2012
    Location
    Galway, Ireland
    MS-Off Ver
    Excel 2007
    Posts
    46

    Re: Display Projects from a list using a Macro.

    Ok im re-opening this because as the code does what i want and have modified the code ever so slightly to work with the project im using it on.

    Im trying to see if its possible to do it exactly like the sumIfs so that there can be range 1 criteria1,............,range 14 criteria 14 so that it is limitless pretty much.
    I am working on it at the moment but was looking for any hints or tips on how to do this.

    thank you

  5. #5
    Valued Forum Contributor
    Join Date
    07-29-2009
    Location
    Belgium
    MS-Off Ver
    Excel 2003/Excel 2010
    Posts
    534

    Re: Display Projects from a list using a Macro.

    Maybe you can replace the attachment in post 1 with a new one, to help visualise what you're asking.

  6. #6
    Registered User
    Join Date
    03-14-2012
    Location
    Galway, Ireland
    MS-Off Ver
    Excel 2007
    Posts
    46

    Re: Display Projects from a list using a Macro.

    Sorry about taking so long to Reply for some reason didn't get an email.

    Ok so I have updated the Attachment and as you can see i have slightly modified your code but that is just to allow you to select the cells you want instead of it always being column 3 i started working on if you put in a date it will find the names this works so far using the code you gave me but i am going to try and modify it so that if you type in like < 12/12/2010 it will show all projects related.
    I haven't done much on this as i'm creating something similar to the List thing but splitting in stead which prompts the user to choose how they wish to split but any help with the first thing will be appreciated.
    Thank You

+ 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