Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 3
Default Not sure which function to use...

I have two sheets of information. First one has 5 columns giving me the name of the stock, account, date, quatity bought and price at which it has been bought. The second sheet has similar data except it is for all the stocks sold. I need to create a function in another sheet in which when I pickup a stock from a drop down list already created, it will given me all the transactions in that stock from the two sheets.

Need it asap. Please help!
  #2   Report Post  
Senior Member
 
Location: Philippines
Posts: 161
Default

Quote:
Originally Posted by RameshS View Post
I have two sheets of information. First one has 5 columns giving me the name of the stock, account, date, quatity bought and price at which it has been bought. The second sheet has similar data except it is for all the stocks sold. I need to create a function in another sheet in which when I pickup a stock from a drop down list already created, it will given me all the transactions in that stock from the two sheets.

Need it asap. Please help!
Have you tried the VLOOKUP function for this?
__________________
Asobi Wa Owari Da
  #3   Report Post  
Junior Member
 
Posts: 3
Default

Quote:
Originally Posted by wickedchew View Post
Have you tried the VLOOKUP function for this?
yeah! Used that. Let me explain my problem more clearly with an example. This is the data I have in the two sheets

Stock Account Date Quatity Price
A sam 15-Oct-08 1,300,000 38.2
B sam 15-Oct-08 70,000 52.1
C sam 15-Oct-08 25,000 51.8
D monica 16-Oct-08 1,166,594 38.9
E jia 16-Oct-08 50,000 49.3
F rachel 16-Oct-08 50,000 49.7
G rachel 17-Oct-08 86,936 86.0
A rachel 3-Nov-08 6,700 594.5
K rachel 3-Nov-08 31,449 349.0
L rachel 19-Nov-08 6,450 457.8
A noel 19-Nov-08 2,516 323.1
G noel 19-Nov-08 4,034 323.8
B noel 20-Nov-08 1,450 314.9
D noel 20-Nov-08 1,350 313.0

Now in a new sheet I have created a drop down list. So when we select a company from this list, I want it give the list of all the transactions. So if I select A, it shud give all the 3 transactions in A with the deatails in the 4 other columns towards the right also.

Last edited by RameshS : September 24th 10 at 12:02 PM
  #4   Report Post  
Junior Member
 
Posts: 3
Default

Quote:
Originally Posted by RameshS View Post
yeah! Used that. Let me explain my problem more clearly with an example. This is the data I have in the two sheets

Stock Account Date Quatity Price
A sam 15-Oct-08 1,300,000 38.2
B sam 15-Oct-08 70,000 52.1
C sam 15-Oct-08 25,000 51.8
D monica 16-Oct-08 1,166,594 38.9
E jia 16-Oct-08 50,000 49.3
F rachel 16-Oct-08 50,000 49.7
G rachel 17-Oct-08 86,936 86.0
A rachel 3-Nov-08 6,700 594.5
K rachel 3-Nov-08 31,449 349.0
L rachel 19-Nov-08 6,450 457.8
A noel 19-Nov-08 2,516 323.1
G noel 19-Nov-08 4,034 323.8
B noel 20-Nov-08 1,450 314.9
D noel 20-Nov-08 1,350 313.0

Now in a new sheet I have created a drop down list. So when we select a company from this list, I want it give the list of all the transactions. So if I select A, it shud give all the 3 transactions in A with the deatails in the 4 other columns towards the right also.
Attached a file with the data represented more clearly for convenience.
Attached Files
File Type: txt Example.txt (557 Bytes, 78 views)
  #5   Report Post  
Senior Member
 
Location: Philippines
Posts: 161
Default

Quote:
Originally Posted by RameshS View Post
Attached a file with the data represented more clearly for convenience.
Since the stocks have multiple entries in one column, it's best to use a pivot table.
__________________
Asobi Wa Owari Da
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel Data Validation/Lookup function does function correcty Kirkey Excel Worksheet Functions 2 May 25th 09 09:22 PM
copy of excel file not showing formulal/function in the function b oaallam Excel Discussion (Misc queries) 4 September 6th 07 01:20 PM
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) [email protected] Excel Worksheet Functions 0 September 5th 06 03:44 PM
Offset function with nested match function not finding host ss. MKunert Excel Worksheet Functions 1 March 21st 06 10:46 PM
Emulate Index/Match combo function w/ VBA custom function Spencer Hutton Excel Worksheet Functions 2 May 2nd 05 05:26 PM


All times are GMT +1. The time now is 03:23 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"