+ Reply to Thread
Results 1 to 5 of 5

Help! Formula to show a value depending on the value of two other lists...

  1. #1
    Registered User
    Join Date
    10-24-2012
    Location
    Edinburgh, Scotland
    MS-Off Ver
    Excel 2003
    Posts
    3

    Help! Formula to show a value depending on the value of two other lists...

    Hello!

    First post, although I've used the site a lot for help before, but I can't find anything for this!

    I'm pulling together a rota for my team, and there's a whole load of background information that is going to be displayed in an 'Overview' section of the sheet. When we're filling in the background information, people will either be "online", "offline", "holiday", "quotes" or "mail". There's several people "online", so for the overview all I need is a count, and I've managed that.

    It's the "quotes" and "mail" part that I'm struggling with - in the overview cells I want to show who is on this, without having to type it in. So there are two lists showing everyone's names (e.g. Bill, James, Mary, Anna) and what they're doing (e.g. Online, Quotes, Online, Mail) and I want the cells in the overview to know that when 'Quotes' is next to someone's name, to display their name in the overview. If that makes sense? I tried a 'If' function but it got very complex, very quickly, and wouldn't work.

    I've attached an example of what I mean - I know the overview seems a bit superfluous but there's a whole lot of other information in the rota and the overview not shown here, and it's really useful to have.

    Any help would be massively appreciated!!

    Thanks,

    Clara

    Example.xls

  2. #2
    Forum Contributor BeachRock's Avatar
    Join Date
    11-01-2011
    Location
    Oregon, United States
    MS-Off Ver
    Excel 2016
    Posts
    403

    Re: Help! Formula to show a value depending on the value of two other lists...

    Hi Clara,

    I'm not sure I understand what you need. Do you want all of the people's names in A2:A10 who have "Quotes" next to their name in B2:B10 to all show up in the Quotes cell B15 all at the same time if there are more than one?
    -------------
    Tony

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,955

    Re: Help! Formula to show a value depending on the value of two other lists...

    not sure if this is something you can work with, but i created a pivot table. take a look and let me know?
    Attached Files Attached Files
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    10-24-2012
    Location
    Edinburgh, Scotland
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Help! Formula to show a value depending on the value of two other lists...

    Hi there,

    Thanks for getting back to me! There will only be one person on quotes or mail each day, so I only need one person to show in each of the boxes in the overview. I know it seems like a bit of a faff - would be simpler just to type the name in once the rota is complete - but believe it or not the rota I'm working on now is a far simplified version of what we have at the moment and the idea is to have as little work required as possible!

    I'll have a look at the pivot table - thanks for this - I don't have a lot of experience with them but I've been putting myself through a wee training module on them so between that and the one you've given I should be able to work it out!

    Thanks again,

    Clara

  5. #5
    Registered User
    Join Date
    10-24-2012
    Location
    Edinburgh, Scotland
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Help! Formula to show a value depending on the value of two other lists...

    Hi FDibbins, just had a look at the pivot table and it seems to do exactly what I need (I think) so I'm going to have a play around with it and see if I can get it to display the info the way I need it to - thanks so much for this, I would never have thought of it!

    Clara

+ 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