Automatic Table Extraction

AustralianExcel

New Member
Joined
Oct 14, 2021
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi all! This looks like a great forum, first time coming across it and I've got a question. ?

I am trying to fill the table on the right with the following information (where there is a red 1, 2 and 3):

1. The ticker of the security here - notice how there are two "ETH" values. I would like there to only show 1 occurence of 'ETH' in the table on the right.
2. Quantity of the security here - for ETH, I would like to show 0.12180439 + 0.11669506, and not have a seperate row for each transaction.
3. The total value. This will be pulling the current financial data online to get the current price and multiplying it with the quantity of securities held.

I do not know how to extract data from the table on the left to make the table on the right automatically update to display the information as required above. Thanks for all your help in advance!



1634267192644.png
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
If you are happy to rely on the dates for any given ticker being later as you go down the rows, then this might work fo you.

20211015 Dashboard Summary.xlsx
ABCDEFGHIJKL
1
2DecisionDateTickerQtyPrice ($AUD)ValueTypeTickerQtyValue
3Buy5-Aug-21ETH0.121804393694.4481450CryptoETH0.23849945919.70263
4Buy22-Sep-21ETH0.116695063856.2044450CryptoWEB16.8
5Buy20-Aug-21WEB2344.7761117.58Stocks
6Sell24-Oct-21WEB2346.81591.2Stocks
7Buy24-Oct-21WEB16.81591.2Stocks
8
Sheet1
Cell Formulas
RangeFormula
I3:I4I3=UNIQUE(FILTER($C$3:$C$8,$C$3:$C$8<>""),FALSE,FALSE)
J3:J4J3=SUMIFS($D$3:$D$8,$C$3:$C$8,I3#,$A$3:$A$8,"Buy")-SUMIFS($D$3:$D$8,$C$3:$C$8,I3#,$A$3:$A$8,"Sell")
K3:K4K3=INDEX($E$3:$E$8,XMATCH(I3#,$C$3:$C$8,0,-1),0)*J3#
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,187
Members
452,616
Latest member
intern444

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