Vlookup for Stock price

Adnan Haider

New Member
Joined
Jan 9, 2019
Messages
7
If we have big database of daily stock prices with column of date,stock and price. How can we vlookup specific stock in specific date? On daily basis we have a large stocks list... Please solve this...
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Welcome to the MrExcel board!

If the Date/Stock rows are unique, then try something like

=SUMIFS($C$2:$C$1000,A2:A1000,H3,B2:B1000,H2)

where prices are in C2:C1000, dates are in A2:A1000, date of interest is in H3, stocks are in B2:B1000, stock of interest is in H2
 
Upvote 0
Thanks Peter for promt solution... But don't want sum of prices. If I have multiple items prices on daily basis... Then how can I know the specific item price on specific date... Thanks
 
Upvote 0
Control+shift+enter, not just enter:

=INDEX(price,MATCH(dateofinterest,IF(stock=stockofinterest,date),0))
 
Upvote 0
Thanks Peter for promt solution... But don't want sum of prices. If I have multiple items prices on daily basis... Then how can I know the specific item price on specific date... Thanks
If you have multiple prices for the same stock on the same day, how do we know which one to choose?
Did you try the suggested formula?
 
Upvote 0

Forum statistics

Threads
1,215,215
Messages
6,123,668
Members
449,114
Latest member
aides

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