I am using Excel to do propensity score matching (not the best tool for this, I know, but that's the assignment).
I am using MATCH()
to find the entry in colO (that's letter O) closet to the entry in colM. My call works properly in libreoffice, but not in Excel. All the values in colO and colM are probabilities (i.e., between zero and one inclusive).
=MATCH(M11, O$11:O$60, 1)
If the value in colM is zero, then MATCH()
returns 28, which is also a zero in colO. If the value in colM is greater than zero, then MATCH()
returns 50, which is the smallest non-zero value in colO.
Any ideas? I don't typically use Excel. Oh, and here's the top of these columns:
propensity health w/o vaccine propensity match
0 2 0.393115219 28
0 1 0.280598404 28
0.747918388 0 0 50
0.843491818 0 0 50
0.707782271 0 0 50
0.829627573 0 0 50
0.515298454 0 0 50
0.464636469 0 0 50
0.705333684 0 0 50
0 3 0.641132271 28
0 4 0.366445099 28
0.590387706 0 0 50
0.859441341 0 0 50
0 2 0.304260844 28
0 3 0.725971617 28