Excel Formula - MAX, INDEX - !! Help Needed!!

sean39

New Member
Joined
Jun 22, 2016
Messages
2
Hi Experts!!, Pls. Help me.. I've followed a lot of exmaples here and tried different combination of MAX, IF & INDEX functions..even trying to nest MAX inside of Index but it doesnt work. Im frustrated and I cant seem to get a reliable formula to work consistently. I've attached my sample XLS which has essentially 2 active sheets- its in the link below

https://drive.google.com/file/d/0B5iyWwANed1BcldwT2dfQ2FsMlE/view?usp=sharing


What I need to build at work is:


In Sheet Port Watch, cell D3 thru D500, I'd like it to give latest(most recent by date) BUY price of Stock in cell A3 thru A500 as referenced in Sheet "Past Trades".


Similary In Sheet Port Watch, cell E3 thru E500, I'd like it to give latest(most recent by date) SOLD price of Stock in cell A3 thru A500 as referenced in Sheet "Past Trades".


In Sheet Port Watch, cell F3 thru F500, it should calculate NET remaining shares by adding and substracting bought and sold (in Sheet past trades) of stock in cell A3.


In Sheet Port Watch, cell G3 thru G500, it should calculate NET cost of remaining shares (referenced in Sheet Past Trades) of stock in cell A3.


The past trade sheet may grow fairly big like 10K lines..once all data is brought over. SO any efficient formulae like Index match may be suited for performance.
BUY & SELL is referenced in Sheet "Past Trades" in Column H marked Trade and also column D (any + qty is BUY and _ive is SOLD)


This is urgently required...Pls. help ASAP. thanks,
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
UPDATED FILE!! - below
https://drive.google.com/file/d/0B5i...ew?usp=sharing

Formula only needed in 4 yellow boxes...as marked on sheet. I've manually filled the right values in sheet.

In Sheet Port Watch, cell D3 thru D500, I'd like it to give latest(most recent by date) BUY price of Stock in cell A3 thru A500 as referenced in Sheet "Past Trades". In Cells E3...E500, it shd. give date of this trade.

Similary In Sheet Port Watch, cell F3 thru F500, I'd like it to give latest(most recent by date) SOLD price of Stock in cell A3 thru A500 as referenced in Sheet "Past Trades". In Cells G3...G500, it shd. give date of this trade.

In Sheet Port Watch, cell H3 thru H500, it should calculate NET remaining shares by adding and substracting bought and sold (in Sheet past trades) of stock in cell A3. I've already created a formula that works. Unless someone has a better, more stable options to suggest.

In Sheet Port Watch, cell I3 thru I500, it should calculate NET cost of remaining shares (referenced in Sheet Past Trades) of stock in cell A3. I've already created a formula that works. Unless someone has a better, more stable options to suggest.

Past trade sheet may grow fairly big like 10K lines..once all data is brought over. So any efficient formulae like Index match may be suited for performance.
BUY & SELL is referenced in Sheet "Past Trades" in Column H marked Trade and also column D (any + qty is BUY and _ive is SOLD)

This is urgently required...Pls. help. thanks,
 
Upvote 0

Forum statistics

Threads
1,217,036
Messages
6,134,130
Members
449,861
Latest member
DMJHohl

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top