+ Reply to Thread
Results 1 to 6 of 6

Excel database: services and service providers

  1. #1
    Registered User
    Join Date
    08-15-2022
    Location
    Scotland
    MS-Off Ver
    Home and Business 2016
    Posts
    6

    Excel database: services and service providers

    Hi all,

    Just so I'm not breaking the rules here... I've already posted this elsewhere and I would provide the link, but it's my first post here, so I'm not allowed to include links.

    Even if nobody can answer, I'd appreciate if someone could let me know why people aren't replying... maybe my question is too vague/can't be done/asking too much of people to explain. Would be useful to know! I feel like there must be a phrase I could search and then do my own homework, but I don't know if what I'm trying to do has a name like "codependent categories" or something.

    Here's the question below - will be indebted to anyone responding:

    At our small society, we have members, who both use and supply services. The software we use is ancient (UNIX), so I'm trying to extract data for use in Excel 2016.

    To give an example of what I'm trying to do, let's say the services are lawn mowing, dog walking and house cleaning. Not all members supply all services.

    Craig provides all three.
    Mary only walks dogs.
    John walks dogs and mows lawns.

    I don't even know what this would look like in Excel, but effectively I'd like to be able to do two things...

    1. Type/click on a member and see the list of services they provide e.g. input "Mary" to get the result "dog walking".
    2. Type/click on a service title and see a list of members that provide them e.g. input "lawn mowing" to get the results John and Craig.

    Any help much appreciated!

  2. #2
    Valued Forum Contributor
    Join Date
    07-23-2013
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    988

    Re: Excel database: services and service providers

    I created a "Database" tab which has a list of members in column A and the services they provide in column B. If they provide multiple services, they go on multiple rows.

    Then there is a "Lookup" tab. In A2 you input the name of the member you want to return the services for. These appear in column B with the formula:

    =IFERROR(INDEX(Database!$B:$B,SMALL(IF(Database!$A:$A=$A$2,ROW(Database!$B:$B),""),ROW()-ROW($B$1))),"")

    I have copied this down 10 rows in the example, if you need more rows then just copy it down more.

    Similarly you can input the service in D2 and use this in column E:

    =IFERROR(INDEX(Database!$A:$A,SMALL(IF(Database!$B:$B=$D$2,ROW(Database!$A:$A),""),ROW()-ROW($E$1))),"")

    Hopefully that's the kind of thing you were after. You could also make the input cells a dropdown list, but you would need a separate unique list of services/providers to refer to.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    08-15-2022
    Location
    Scotland
    MS-Off Ver
    Home and Business 2016
    Posts
    6

    Re: Excel database: services and service providers

    That's brilliant, thank you so much! Really appreciate that you even made a template for me to work from, too.

    Nothing further to ask or add, the solution does exactly what I wanted

  4. #4
    Valued Forum Contributor
    Join Date
    07-23-2013
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    988

    Re: Excel database: services and service providers

    Glad I could help

  5. #5
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,302

    Re: Excel database: services and service providers

    Better late than never - alternative approach - select from dropdowns - click on dropdown arrow to see selection - just add to the next row at bottom of table on sheet 2.
    Attached Files Attached Files
    Torachan,

    Mission statement; Promote the use of Tables, Outlaw the use of 'merged cells' and 'RowSource'.

  6. #6
    Registered User
    Join Date
    08-15-2022
    Location
    Scotland
    MS-Off Ver
    Home and Business 2016
    Posts
    6

    Re: Excel database: services and service providers

    Getting ready to post a new thread and saw that I hadn't replied to torachan... it's now a couple of months later but hopefully not too late to say thank you very much for your help!

+ 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] VBA to Insert Vehicle Services per Service Group on the Service Log Sheet
    By BillySpivy in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-16-2022, 06:34 AM
  2. Calculate cost of service over 5 years, based on services due frequency
    By libra91 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-30-2018, 06:17 AM
  3. [SOLVED] Post Checked Services to Service Log
    By xjohnson in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-15-2018, 03:43 PM
  4. POLL : Email Service Providers
    By Logit in forum The Water Cooler
    Replies: 22
    Last Post: 04-13-2017, 11:35 AM
  5. Replies: 1
    Last Post: 03-25-2016, 02:19 AM
  6. Creating a customer database with multiple services
    By ShawnZebra in forum Excel General
    Replies: 5
    Last Post: 03-08-2013, 03:05 PM
  7. Windows Rights Management Services Service Pack 2
    By johnrichie in forum Excel General
    Replies: 0
    Last Post: 10-04-2011, 06:34 AM

Tags for this Thread

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