Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
cedequ
 
Posts: n/a
Default Vlookup on multiple similar entries / NO VBA


Unfortunately, I am not in a position where I can use VBA Code to
resolve this problem....: Hope anyone of you is willing to provide tips
& tricks to resolve this question:


From one workbook, I am vlooking up a second workbook, but I do not
simply
need to retrieve one similar entry, but all of them! On each similar
entries, I need to calculate a value by using two adjacent cells: Atthe
end, I need the total for
each row I.e.:

first book contains:
john
harv
pete

second book:
john|100|40|
john|200|50|
john|500|10|
harv|104|41|
harv|212|11|
pete|100|30|


Ther result for John would be : 100+40+200+50+500+10, copied
in the first workbook, next to his name.


Anyone's help would be appreciated, but pls without VBA (no for each
and so on)

Thnaks in advance for your precious support.

Ced


--
cedequ
------------------------------------------------------------------------
cedequ's Profile: http://www.excelforum.com/member.php...o&userid=26786
View this thread: http://www.excelforum.com/showthread...hreadid=400400

  #2   Report Post  
bj
 
Posts: n/a
Default

try somehing like
for the sake of argument hve the names in Column A in both sheets starting
in row two
in sheet 1
in B2 enter
=countif(Sheet2!A:A,A2,Sheet2!B:B)+countif(Sheet2! A:A,A2,Sheet2!C:C)
and copy down to the end of your lisy of names.

"cedequ" wrote:


Unfortunately, I am not in a position where I can use VBA Code to
resolve this problem....: Hope anyone of you is willing to provide tips
& tricks to resolve this question:


From one workbook, I am vlooking up a second workbook, but I do not
simply
need to retrieve one similar entry, but all of them! On each similar
entries, I need to calculate a value by using two adjacent cells: Atthe
end, I need the total for
each row I.e.:

first book contains:
john
harv
pete

second book:
john|100|40|
john|200|50|
john|500|10|
harv|104|41|
harv|212|11|
pete|100|30|


Ther result for John would be : 100+40+200+50+500+10, copied
in the first workbook, next to his name.


Anyone's help would be appreciated, but pls without VBA (no for each
and so on)

Thnaks in advance for your precious support.

Ced


--
cedequ
------------------------------------------------------------------------
cedequ's Profile: http://www.excelforum.com/member.php...o&userid=26786
View this thread: http://www.excelforum.com/showthread...hreadid=400400


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
how do I use vlookup for multiple occurrences of the same value bj Excel Worksheet Functions 0 April 27th 05 10:43 PM
Vlookup with multiple conditions cambrus Excel Worksheet Functions 1 March 11th 05 05:21 PM
Using VLOOKUP with multiple first column matches John Simons Excel Worksheet Functions 2 February 20th 05 01:27 AM
Can VLOOKUP return multiple answers based on several identical lo. jddtct Excel Worksheet Functions 3 January 11th 05 07:03 AM
multiple entries benny Excel Worksheet Functions 3 December 6th 04 01:38 AM


All times are GMT +1. The time now is 05:31 PM.

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"