Aristotle33
New Member
- Joined
- Sep 30, 2011
- Messages
- 3
I have a spreadsheet. It has say 10 columns of data. Row 1 is the stock symbol. Row 2 is the stock price for 9/28/2011. Row 3 contains the stock price for 9/29/2011. I want to count the number of advancing stocks. I can set up a matrix to mirror this and put a formula in each cell to see if today's price is greater than yesterday's and then put a "1" in that cell and then sum them. This gets rather unwieldy with a large number of stocks.
Can I create a single formula that will go accross the array of prices, compare each pair and count if higher so that a single formula at the end of row 3 will compare the row 3 prices to row 2 and tell me how mnay of the 10 stocks advanced?
Thanks in advance
Can I create a single formula that will go accross the array of prices, compare each pair and count if higher so that a single formula at the end of row 3 will compare the row 3 prices to row 2 and tell me how mnay of the 10 stocks advanced?
Thanks in advance