+ Reply to Thread
Results 1 to 11 of 11

Lookup z-score in z-table

  1. #1
    Registered User
    Join Date
    01-31-2009
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    66

    Lookup z-score in z-table

    Hello,

    If you have a Z-table in excel in table A12:K43, how would you get excel to look up the right z score.

    Say we need to look up the probability of .45, we go to the table and look at where .45 intersects, it intersects between 1.64 and 1.65. We can choose either one. Or we can even do an exact match such as .0389 has a Z of .1...

    How can we create a formula where I can just type in the probability and and it gives me the z-score.

  2. #2
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: Lookup z-score in z-table

    It would help those of us unfamiliar with z-tables to have a workbook. It sounds like a Vlookup or potentially an Index/Match solution is in order, but I'd have to see it to give you the right answer. If the data is sensitive, could you please post a version with dummy data?

  3. #3
    Registered User
    Join Date
    01-31-2009
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    66

    Re: Lookup z-score in z-table

    yes just a second

  4. #4
    Registered User
    Join Date
    01-31-2009
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    66

    Re: Lookup z-score in z-table

    Here it is, this shows the Z table and a T-table... both would be great.

    Basically input a number that shown in the intersecting data.. in the Z table is all the numbers below .4990 and the formula would bring up the z-score... If I typed in .4990 it would bring up 3.09

    or .4986 = 2.99

    Also the reverse...

    If i type in 1.40 it would return .4192
    Attached Files Attached Files

  5. #5
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: Lookup z-score in z-table

    Well, the reverse is easy. =INDEX(B13:K43,MATCH(LEFT(N11,3)+0,A13:A43,0),MATCH((RIGHT(N11)+0)/100,B12:K12))

    I'm not sure I'm good enough to give you the other version, but I'll see what I can do. The formula above assumes you put 1.42 (for example) in N11. Change that as necessary.

  6. #6
    Registered User
    Join Date
    01-31-2009
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    66

    Re: Lookup z-score in z-table

    That works really well! Thanks!

    The other way would be awesome too!

  7. #7
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: Lookup z-score in z-table

    If the value is in M11, I think this should work for most cases. It's sloppy and not fool-proof (if anyone wants to show me a more efficient and accurate way, I'd be grateful, but I think it should do what you want in most (if not all) cases.
    Please Login or Register  to view this content.

  8. #8
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Lookup z-score in z-table

    Returning z-value

    A few routes, if you want to calculate in one cell then I'd opt for an Array (to keep things succinct)

    Please Login or Register  to view this content.
    Inverse

    Please Login or Register  to view this content.

    I don't think darkyam's version would always give correct result given level of significance used for z-value criteria can/will seemingly vary (eg 1, 1.4 ... it will work only where 2 non-zero decimals are in use)
    Last edited by DonkeyOte; 11-06-2009 at 04:33 AM. Reason: typos

  9. #9
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: Lookup z-score in z-table

    Brilliant, DonkeyOte, on that first one.
    And you're right on the second one. I didn't consider what would happen if he entered 1.40. It would work well enough if that cell was formatted as text, but if it was general or a number, mine would have returned the value for 1.44 instead.

  10. #10
    Registered User
    Join Date
    12-16-2011
    Location
    London, UK
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Lookup z-score in z-table

    QUOTE: Well, the reverse is easy. =INDEX(B13:K43,MATCH(LEFT(N11,3)+0,A13:A43,0),MATCH((RIGHT(N11)+0)/100,B12:K12))
    I'm not sure I'm good enough to give you the other version, but I'll see what I can do. The formula above assumes you put 1.42 (for example) in N11. Change that as necessary.




    Thanks a lot for this Darkyam, it saved me so much time! Any ideas how to find the value if the z-score is a negative value?

    e.g if I have z-score=0.06 it returns 0.5239 and with
    z-score=-0.06 it should give me -0.5239 but since this value isn't in the table it can't find it. I thought of using IF and ABS somehow but didn't find the right combination. Any help would be most appreciated!


    And a tip from me:
    I'm calculating my z-score by a formula, rather than inserting it manually so my number has more decimal places and as a result the returned values are usually a little off. If anyone uses formula as well I suggest they use the round function to overcome this.

    i.e. =ROUND(your formula for z-score calculation),2
    Last edited by KamiKa; 12-23-2011 at 07:19 AM.

  11. #11
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Lookup z-score in z-table

    Welcome to the Forum, unfortunately:

    Your post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread.

+ 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