+ Reply to Thread
Results 1 to 8 of 8

How to produce a list of customers by trip

  1. #1
    Registered User
    Join Date
    03-29-2021
    Location
    Portsmouth, UK
    MS-Off Ver
    365
    Posts
    19

    How to produce a list of customers by trip

    One last request if I may... I think the title is correct!

    From a list of raw sales data, I need to make separate lists of my customers by which country they are going to. Sop for instance, I would have a column titled 'Russia' and then all the customers who are booked to go to Russia appear under that title.

    After 1.5hrs trying to crack it on google, I think it is about index and aggregate but it's too much for me. I'm back here on this amazing resource to ask for more help...

    I have attached a really simple file if that helps

    Thank you in advance

    Bruce

    (PS: I did in the meantime work out how to reference the tab name in a cell, so I am working hard, not just being lazy!)
    Attached Files Attached Files
    Last edited by bkjacobs; 03-29-2021 at 09:19 AM. Reason: Bad title!

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel (Windows 11 64-bit)
    Posts
    60,469

    Re: Index & aggregate

    Administrative Note:

    We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" to anyone who has offered you help in your thread. You can reward them by clicking on * Add Reputation below theur user name on the left, if you wish.


    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.

  3. #3
    Registered User
    Join Date
    03-29-2021
    Location
    Portsmouth, UK
    MS-Off Ver
    365
    Posts
    19

    Re: Index & aggregate

    Understood - sorry. I've tried again. Getting the title right is proving as hard as the Excel problem

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel (Windows 11 64-bit)
    Posts
    60,469

    Re: How to produce a list of customers by trip

    That's better, thank you. Always ask yourself, "What am I trying to achieve?" That's your title.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel (Windows 11 64-bit)
    Posts
    60,469

    Re: How to produce a list of customers by trip

    In G5:

    =IFERROR(INDEX(Sheet1!$C:$C,AGGREGATE(15,6,ROW(Sheet1!$B$5:$B$11)/(Sheet1!$B$5:$B$11=$G$3),ROWS($1:1))),"")

    In H5:

    =IFERROR(INDEX(Sheet1!$D:$D,AGGREGATE(15,6,ROW(Sheet1!$B$5:$B$11)/(Sheet1!$B$5:$B$11=$G$3),ROWS($1:1))),"")

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel (Windows 11 64-bit)
    Posts
    60,469

    Re: How to produce a list of customers by trip

    Thanks for the rep and marking the thread as solved.-

  7. #7
    Registered User
    Join Date
    03-29-2021
    Location
    Portsmouth, UK
    MS-Off Ver
    365
    Posts
    19

    Re: How to produce a list of customers by trip

    Out of interest, what are the 15 and 6 related to?

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel (Windows 11 64-bit)
    Posts
    60,469

    Re: How to produce a list of customers by trip

    SMALL ignoring error values.

    See here: https://support.microsoft.com/en-us/...6-e19993fa26df

+ 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] Index match or aggregate (?)
    By aswethink in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-16-2021, 09:17 AM
  2. Index + aggregate
    By Matre in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 03-13-2020, 06:01 PM
  3. [SOLVED] Index/Aggregate formula calculates correct row but does not yield name from Index array
    By FivestarMac in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-17-2019, 05:07 PM
  4. [SOLVED] Index & aggregate
    By elatreille in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-09-2019, 08:22 AM
  5. Replies: 1
    Last Post: 08-17-2019, 01:11 PM
  6. [SOLVED] Create List - Index Match or Index Aggregate or other?
    By bambamclint in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 02-10-2019, 01:30 PM
  7. Index, Aggregate, Row - Removing Duplicate W/ Index Help
    By adbexcel in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-04-2016, 03:53 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