DashboardNovice
Member
In the attached file I am trying to accomplish the following:
1. In cell E3, the user enters a probability
2. Column E, beginning with row 11, would randomly generate a "P" (for profit) or "L" (for loss).
3. The number of P's and L's generated would be based on the probability.
For example, if the probability of profit were 75%, column E would contain 75 P's and 25 L's. I have 100 occurrences which are numbered in column D.
Cells E5 and E6 contain a COUNTIF to verify the number of P's and L's which are randomly generated.
I'm getting the same number of P's and L's. Any suggestions?
1. In cell E3, the user enters a probability
2. Column E, beginning with row 11, would randomly generate a "P" (for profit) or "L" (for loss).
3. The number of P's and L's generated would be based on the probability.
For example, if the probability of profit were 75%, column E would contain 75 P's and 25 L's. I have 100 occurrences which are numbered in column D.
Cells E5 and E6 contain a COUNTIF to verify the number of P's and L's which are randomly generated.
I'm getting the same number of P's and L's. Any suggestions?