Hi Guys,
I need to do a lookup function for a table. Everything I could find to answer my question was different than what I need to do. I have a table of ticket charges for stock trade ranges. On the horizontal axis there is the stock price and on the vertical it is the number of shares. I have data for 65,000 trades (just shares and price). I want to create a column to lookup what the charge would be for each one. For example:
The table of charges:
5 10 25 50
10 15.65 15.85 16.35 16.75
25 16.03 16.67 17.23 18.30
50 16.48 17.12 18.20 19.88
(Once again, price is on the horizontal axis and number of shares is on vertical.)
I want to be able to lookup the charge for a trade with:
8 Shares with a price of $8
-It should return the number 15.85 from the table (1st row, 2nd column)
or
13 Shares with price of $39
should return $17.23
The real table is much larger, but if I have an idea on how to do this, I can figure it out for the larger version.
Thanks!
I need to do a lookup function for a table. Everything I could find to answer my question was different than what I need to do. I have a table of ticket charges for stock trade ranges. On the horizontal axis there is the stock price and on the vertical it is the number of shares. I have data for 65,000 trades (just shares and price). I want to create a column to lookup what the charge would be for each one. For example:
The table of charges:
5 10 25 50
10 15.65 15.85 16.35 16.75
25 16.03 16.67 17.23 18.30
50 16.48 17.12 18.20 19.88
(Once again, price is on the horizontal axis and number of shares is on vertical.)
I want to be able to lookup the charge for a trade with:
8 Shares with a price of $8
-It should return the number 15.85 from the table (1st row, 2nd column)
or
13 Shares with price of $39
should return $17.23
The real table is much larger, but if I have an idea on how to do this, I can figure it out for the larger version.
Thanks!