+ Reply to Thread
Results 1 to 6 of 6

Return text based on criteria

  1. #1
    Registered User
    Join Date
    05-20-2009
    Location
    Johannesburg
    MS-Off Ver
    Excel 2010
    Posts
    15

    Return text based on criteria

    Hi, i am not sure what to search for. I need a formula that will return text based on criteria that i set.

    Example: I have 2 sheets, a pivot and a data sheet. When selecting a different option on the pivot i want information returned from the data sheet (which is explanations of the information contained in the pivot) I need to add 2 criteria points

    Thanks


    edit: the "sumifs" functions is in the direction that i am thinking, but it doesn't do the text return
    Last edited by PearlJam; 06-02-2009 at 09:00 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Return text based on criteria

    Posting a sample workbook showing your dilemma might help.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    05-20-2009
    Location
    Johannesburg
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: Return text based on criteria

    OK, i created a dummy file.

    On the pivot, when selecting an agent i want to show only the deviation reason for "Product A"
    Attached Files Attached Files

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Return text based on criteria

    So from the Product category, if you pick "ALL" you want to default to Product A reason and if an actual Product is selected, get that corresponding reason? Is that correct?

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Return text based on criteria

    If so,

    Try:

    Please Login or Register  to view this content.
    adjust ranges to suit your data and then confirm the formula with CTRL+SHIFT+ENTER instead of just ENTER. You will see { } brackets appear.

  6. #6
    Registered User
    Join Date
    05-20-2009
    Location
    Johannesburg
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: Return text based on criteria

    Thanks NBVC! Now i just need to get my head around that formula to really understand it

    I really appreciate your help

+ 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