Results 1 to 3 of 3

using data till till the current row

Threaded View

  1. #1
    Registered User
    Join Date
    01-26-2010
    Location
    Los Angeles, USA
    MS-Off Ver
    Excel 2003
    Posts
    4

    using data till till the current row

    Hi All,
    here is what I would like to do :-
    Suppose I have the following :-
    type         p               1-p
    1	1	0
    2	0.5	0.5
    1	0.67	0.33
    1	0.75	0.25
    2	0.6	0.4
    1	0.67	0.33
    2	0.57	0.43
    1	0.625	0.375
    2	0.56	0.44
    2	0.5	0.5
    1	0.55	0.45
    2	0.5	0.5
    2	0.46	0.54
    1	0.5	0.5
    1	0.53	0.47
    1	0.56	0.44
    2	0.53	0.47
    1	0.56	0.44
    1	0.58	0.42
    1	0.6	0.4
    1	0.62	0.38
    1	0.64	0.36
    2	0.61	0.39
    1	0.63	0.37
    2	0.6	0.4
    So essentially p = (# 1 in type until that row) / (total # of types until that row) .
    I have calculated the p's manually. But for a very large data set, thats just not feasible.
    Can anyone suggest how to use any function or program to do that in excel 2007 ??????
    Thanks
    Last edited by shg; 01-26-2010 at 01:11 AM.

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