#1   Report Post  
Sean
 
Posts: n/a
Default vlook up

Hi All,
I have one table with Item#, order# and Sales. In another spreadsheet I am
creating table for each item seperately to see the sales. When I use vlookup,
it doesnt work because source has same item multiple times. I am changing the
range by one raw down once I do vlookup to avoid the first data taken but
then if lookup value is repeating at the end then it will pull so many times.

If you dont understand the question. Please try to use vlookup from a table
where there is one item more than once. and use vlook up for more than once.

Thanks,
Sean
  #2   Report Post  
KL
 
Posts: n/a
Default

Hi Sean,

It is clear how VLOOKUP behaves when there are more than one identical items
in the first column. What's unclear is what you are actually trying to
achieve.

If what you want is get a sum of all sales amounts that correspond to a
repeted item then you could do something like this:

=SUMIF(A1:A10,"myItem",B1:B10)

or

=SUMPRODUCT((A1:A10="myItem")*B1:B10)

Regards,
KL


"Sean" wrote in message
...
Hi All,
I have one table with Item#, order# and Sales. In another spreadsheet I am
creating table for each item seperately to see the sales. When I use
vlookup,
it doesnt work because source has same item multiple times. I am changing
the
range by one raw down once I do vlookup to avoid the first data taken but
then if lookup value is repeating at the end then it will pull so many
times.

If you dont understand the question. Please try to use vlookup from a
table
where there is one item more than once. and use vlook up for more than
once.

Thanks,
Sean



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
Vlook up question - I think ? Anthony Excel Discussion (Misc queries) 4 July 7th 05 12:02 PM
Vlook up for matching data in two seperate sheets funky via OfficeKB.com Excel Discussion (Misc queries) 1 June 3rd 05 10:16 PM
Vlook up or index match jerry Excel Worksheet Functions 1 February 24th 05 04:29 AM
How do I use drop down list selections/values in a vlook up formu. CL Excel Discussion (Misc queries) 2 January 19th 05 10:39 PM
"Vlook up + IF" paula smith Excel Worksheet Functions 2 November 28th 04 03:20 PM


All times are GMT +1. The time now is 02:12 PM.

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

About Us

"It's about Microsoft Excel"