+ Reply to Thread
Results 1 to 8 of 8

Macro to sort data in a clolunm if specific text is in another colunm

  1. #1
    Registered User
    Join Date
    05-27-2014
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    57

    Macro to sort data in a clolunm if specific text is in another colunm

    Hello

    I have been able to sort out my data and get what I want except when it comes to be able to sort the value of the total value....

    I will upload a sample so you can understand what I need

    In that example I have the data sorted by student name then marker - I have to do that in order to have the data with student name and the order of the marker to finish with the total

    It is organizing nicely my data the way I want it once I have downloaded that from our CRM -

    but for work purpose I need to see the student with their marker Total by value that is the highest.... I don't care at the end if students are not in alphabetical order but the last line of a ecord for a student as to be total

    I tried sorting and of course it does messup because I have different value for marker :-)

    Thank you for your help
    Attached Files Attached Files

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,592

    Re: Macro to sort data in a clolunm if specific text is in another colunm

    Use Pivot table with filtered Total value.
    Or delete total value from a first table if possible.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    05-27-2014
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    57

    Re: Macro to sort data in a clolunm if specific text is in another colunm

    Hi Thanks I actually used a pivot table and got that too but it does not do what I want I want to be able to see

    As I need to look after students who have a high total and see what their total is made off

    But thank you

    Aaron Trom to come at the top of my list because the total of Aaron is 75
    then it should be aaron Rain
    then Celine
    thern the bartender

  4. #4
    Registered User
    Join Date
    05-27-2014
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    57

    Re: Macro to sort data in a clolunm if specific text is in another colunm

    Hi it seems it worked just applied a filter thanks will explore a bit more with more data and will post back!!!! Thank you so much

  5. #5
    Registered User
    Join Date
    05-27-2014
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    57

    Re: Macro to sort data in a clolunm if specific text is in another colunm

    Hi Thank you but after checking it did not work as in the pivot table it gives me the sum of all the value

    The total marker with the value attached to it is already the sum of all the over marker and in the pivot table it is giving me the sum of everything so does not do the job :-( I still need to be able to sort
    Thanks a lot for your help

  6. #6
    Registered User
    Join Date
    05-27-2014
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    57

    Re: Macro to sort data in a clolunm if specific text is in another colunm

    Hi Thank you I actually deleted total value but because we apply a multiplier the total value can differ from the sum of the markers therefore I need to sort on that Value. I tried the option of deleting sub total and value and it is not 100% accurate. this is why I thought about a macro rather than my usual tricks of pivot table and filtering :-)

  7. #7
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,592

    Re: Macro to sort data in a clolunm if specific text is in another colunm

    Can you upload example where you get different result and what you expect?

  8. #8
    Registered User
    Join Date
    05-27-2014
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    57

    Re: Macro to sort data in a clolunm if specific text is in another colunm

    abpove there is a sample in excel of what I need thank you

+ 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. Delete Row if Colunm has any text or Numbers
    By plank22 in forum Excel General
    Replies: 2
    Last Post: 05-07-2016, 03:24 PM
  2. [SOLVED] sort data in single colunm
    By HelpHelpHelp in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-06-2016, 07:25 AM
  3. Replies: 6
    Last Post: 11-25-2015, 02:08 AM
  4. [SOLVED] Help with macro to text out Active sheet and sort data in specific column
    By Pi* in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 07-18-2015, 10:18 PM
  5. Macro needed to insert certain text after a specific cell value, sort,filter, hide and sav
    By scarlettw123 in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 02-03-2015, 07:41 PM
  6. [SOLVED] Macro to delete duplicate cell only not entire row if some data is duplicated in colunm
    By petitesouris in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-29-2014, 03:23 AM
  7. macro to sort data in worksheet by specific date
    By joey in forum Excel General
    Replies: 0
    Last Post: 11-14-2005, 04:10 PM

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