#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 23
Default Vlookup help

Scenario:

Column A (Starting at A14) = Dates
Column B (Starting at B14) = Stock Prices
Column C (Starting at C14) = (This is where I need my Vlookup help)

Column O (Starting at O9) = Dates (there are only 5 days of sale and
purchase.)
Column P (Starting at P9) = Shares purchased/sold

I need help figuring out the Vlookup formula that will find my dates and
multiply the information in column P by Column B to get the amount. Also
since I don't want "N/A" to show up on the blank dates, if you could show me
a nested if statement that would make the N/A's a zero...I would appreciate
it. Please let me know if I need to explain more.

=VLOOKUP(A14,O$9:P$13,2,FALSE)

This is the Vlookup I had but it isn't multiply in the shares and the price...

Thanks in advance





  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Vlookup help

Try the below formula

=IF(ISNA(VLOOKUP(A14,O$9:P$13,2,0)),"",VLOOKUP(A14 ,O$9:P$13,2,0)*B14)

If this post helps click Yes
---------------
Jacob Skaria


"Confusicous" wrote:

Scenario:

Column A (Starting at A14) = Dates
Column B (Starting at B14) = Stock Prices
Column C (Starting at C14) = (This is where I need my Vlookup help)

Column O (Starting at O9) = Dates (there are only 5 days of sale and
purchase.)
Column P (Starting at P9) = Shares purchased/sold

I need help figuring out the Vlookup formula that will find my dates and
multiply the information in column P by Column B to get the amount. Also
since I don't want "N/A" to show up on the blank dates, if you could show me
a nested if statement that would make the N/A's a zero...I would appreciate
it. Please let me know if I need to explain more.

=VLOOKUP(A14,O$9:P$13,2,FALSE)

This is the Vlookup I had but it isn't multiply in the shares and the price...

Thanks in advance





  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 23
Default Vlookup help

That worked perfectly... Thanks for the help! It is much appreicated.

"Jacob Skaria" wrote:

Try the below formula

=IF(ISNA(VLOOKUP(A14,O$9:P$13,2,0)),"",VLOOKUP(A14 ,O$9:P$13,2,0)*B14)

If this post helps click Yes
---------------
Jacob Skaria


"Confusicous" wrote:

Scenario:

Column A (Starting at A14) = Dates
Column B (Starting at B14) = Stock Prices
Column C (Starting at C14) = (This is where I need my Vlookup help)

Column O (Starting at O9) = Dates (there are only 5 days of sale and
purchase.)
Column P (Starting at P9) = Shares purchased/sold

I need help figuring out the Vlookup formula that will find my dates and
multiply the information in column P by Column B to get the amount. Also
since I don't want "N/A" to show up on the blank dates, if you could show me
a nested if statement that would make the N/A's a zero...I would appreciate
it. Please let me know if I need to explain more.

=VLOOKUP(A14,O$9:P$13,2,FALSE)

This is the Vlookup I had but it isn't multiply in the shares and the price...

Thanks in advance





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
VLookUp - Does the VLookUp return the exact information? Cpviv Excel Worksheet Functions 2 October 28th 08 09:57 AM
Vlookup in vlookup - taking the result as array name SupperDuck Excel Worksheet Functions 2 June 2nd 07 11:05 AM
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP buffgirl71 Excel Discussion (Misc queries) 12 November 14th 06 11:36 PM
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) MikeR-Oz New Users to Excel 1 March 22nd 06 09:01 AM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


All times are GMT +1. The time now is 02:02 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"