Is it possible to look up individual prices in a range, and then calculate the number of items at individual price

pedro-egoli

Well-known Member
Joined
Apr 25, 2004
Messages
1,217
Office Version
  1. 2016
Platform
  1. Windows
This is share market related.
Just trying to see how many shares, at various prices , were traded during day.
This is an example of the csv file I want to work on
Excel Workbook
ABC
1TimePrice $Volume
24:10:16 PM1.0552562
34:10:16 PM1.05525000
44:10:16 PM1.0510000
54:10:16 PM1.04510000
64:10:16 PM1.032138
Course_of_sales_SYR_17Jul2019-1


Prices in column B will vary throughout the day and I want to be able to isolate the individual prices and then link the number of shares so that i have the total shares traded at a particular price for the day.
Somedays there may be over 2000 trades at various prices
Thanks
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
like this?


Book1
ABC
1TimePrice $Volume
24:10:16 PM1.0552562
34:10:16 PM1.05525000
44:10:16 PM1.0510000
54:10:16 PM1.04510000
64:10:16 PM1.032138
7
8Price $
91.05527562
Sheet3
Cell Formulas
RangeFormula
C9=SUMIF(B2:B6,B9,C2:C6)
 
Upvote 0
Thanks for reply but no that is not what i am after.
What I need is to have the individual prices established in the range like this

Excel Workbook
IJKL
11.0551.051.0451.03
22562
Course_of_sales_SYR_17Jul2019-1





Once i have that I want to use a formula that will give me the total for each price.
The example i have is incorrect
 
Upvote 0
This is the data I have
Excel Workbook
BC
1Price $Volume
21.0552562
31.05525000
41.0510000
51.04510000
61.032138
Course_of_sales_SYR_17Jul2019-1



I have worked out how to get the totals for each price as below
Excel Workbook
IJKL
11.0551.051.0451.03
22756210000100002138
Course_of_sales_SYR_17Jul2019-1


Is it possible to get the individual prices from B2:B6 to show in columns I1:L1?
That would make my day
 
Upvote 0

Forum statistics

Threads
1,224,819
Messages
6,181,153
Members
453,021
Latest member
Justyna P

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