+ Reply to Thread
Results 1 to 6 of 6

Lookup to determine if less than or greater than

  1. #1
    Registered User
    Join Date
    04-08-2008
    Posts
    19

    Lookup to determine if less than or greater than

    i've got myself confused...

    i have two worksheets, simplified they are as follows:

    sheet 1 contains the raw data:

    service number(f) catergory(g) currency(h)
    001 Housing £10.00
    002 Support £20.00
    003 Refuge £30.00

    sheet 2 contains a formula in column k to give the 0.75 percentile value for each catergory from the currency value in sheet 1, entered as a CSE:

    catergory(j) percentile(k)
    row1 Housing ={percentile(if(sheet_1!$G$1:$G$500=sheet_2!J2,sheet1!$H$1:$H$500),0.75)}
    row2 Support ={percentile(if(sheet_1!$G$1:$G$500=sheet_2!J3,sheet1!$H$1:$H$500),0.75)}
    row3 Refuge ={percentile(if(sheet_1!$G$1:$G$500=sheet_2!J4,sheet1!$H$1:$H$500),0.75)}

    all I want to do is add a colum i into sheet one which tells me if that service is above or below the sheet_2 percentile value for it's particular catergory.

    CAn anyone help please??!

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    How do you know if it is "above or below"? What are you comparing to?
    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
    04-08-2008
    Posts
    19

    explanation

    sheet 1 column i would note whether the currency value in sheet 1 column h is greater than or equal to than the appropriate percentile value for each catergory in sheet 2.


    so column i needs to identify the catergory, correct percentile and compare to the appropriate currency.

  4. #4
    Registered User
    Join Date
    04-08-2008
    Posts
    19

    example

    example file attached

    thanks
    Last edited by potta; 05-28-2008 at 02:45 PM.

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

    Please Login or Register  to view this content.
    Note: I've also considered the possibility that the costs are equal.

  6. #6
    Registered User
    Join Date
    04-08-2008
    Posts
    19

    Thank you

    NBVC, thats great - thank you.

+ 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