PC Review


Reply
Thread Tools Rate Thread

add multiple returns using vlookup

 
 
RZ
Guest
Posts: n/a
 
      22nd Aug 2008
Hi
I am using Vlookup function to find matching datat in another worksheet, i
want to add values if there is more than one matching values.
--
RZ
 
Reply With Quote
 
 
 
 
Spiky
Guest
Posts: n/a
 
      22nd Aug 2008
On Aug 22, 3:23 pm, RZ <R...@discussions.microsoft.com> wrote:
> Hi
> I am using Vlookup function to find matching datat in another worksheet, i
> want to add values if there is more than one matching values.
> --
> RZ


Can't. Try DSUM or SUMPRODUCT instead.
 
Reply With Quote
 
Alan Beban
Guest
Posts: n/a
 
      22nd Aug 2008
RZ wrote:
> Hi
> I am using Vlookup function to find matching datat in another worksheet, i
> want to add values if there is more than one matching values.

If the functions in the freely downloadable file at
http://home.pacbell.net/beban are available to your workbook

=SUM(VLookups(lookup_value, lookup_range, return_column))

Alan Beban
 
Reply With Quote
 
RZ
Guest
Posts: n/a
 
      22nd Aug 2008
let me give u example
I am trying to find corresponding values of below numerbs from another
worksheet :
Sheet 1
Col A Col B
1500
1600
1700
1800
1900
1200
1400
1300
1100
and sheet2 has multiple vlues as below
col A col B
1100 26
1100 45
1200 12
1200 23
1200 25
1200 31
1300 14
1300 23
1300 89
1400 24
1400 45
1400 45
1500 10
1500 15
1500 15
1500 45
1600 12
1600 12
1600 16
1600 87
1700 15
1700 18
1700 48
1700 56
1700 78
1800 10
1800 11
1800 45
1800 48
1800 59
1900 10
1900 15
1900 22
1900 48
1900 56

so i m trying to get the result in sheet 1

col A colB
1100 71
1200 91
1300 126 so on

plese urgenly.

thanks
--
RZ


"Spiky" wrote:

> On Aug 22, 3:23 pm, RZ <R...@discussions.microsoft.com> wrote:
> > Hi
> > I am using Vlookup function to find matching datat in another worksheet, i
> > want to add values if there is more than one matching values.
> > --
> > RZ

>
> Can't. Try DSUM or SUMPRODUCT instead.
>

 
Reply With Quote
 
RZ
Guest
Posts: n/a
 
      22nd Aug 2008
thanks Alan but its not working, its giving me only the last matching number
from lookup_range not the sum of all the matching values, and if i try to
find exact match , its returning the first matching number! any other idea? I
will have more than 1000 rows with from where i need to find the sum of
matching values.
--
RZ


"Alan Beban" wrote:

> RZ wrote:
> > Hi
> > I am using Vlookup function to find matching datat in another worksheet, i
> > want to add values if there is more than one matching values.

> If the functions in the freely downloadable file at
> http://home.pacbell.net/beban are available to your workbook
>
> =SUM(VLookups(lookup_value, lookup_range, return_column))
>
> Alan Beban
>

 
Reply With Quote
 
RZ
Guest
Posts: n/a
 
      25th Aug 2008
Thanks smartin, SUMIF is working fine , i m sorry if my explanation made it
difficult to resolve the problem.
--
RZ


"smartin" wrote:

> RZ wrote:
> > Hi
> > I am using Vlookup function to find matching datat in another worksheet, i
> > want to add values if there is more than one matching values.

>
> Hi RZ,
>
> I think your description of the requirements threw everyone off the path...
>
> Try this in sheet1!B1
>
> =sumif(sheet2!A:A, sheet1!A1, sheet2!B:B)
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple returns from vlookup Mike Moon Microsoft Excel Worksheet Functions 0 31st Jul 2009 06:26 PM
The sum of multiple returns on a vlookup Alibo Microsoft Excel Worksheet Functions 3 31st Jan 2009 05:08 AM
VLOOKUP - MULTIPLE RETURNS Chantelle Microsoft Excel Worksheet Functions 4 1st Aug 2008 02:13 AM
Vlookup with multiple returns Ngwami1 Microsoft Excel Worksheet Functions 2 9th Jun 2008 11:23 PM
Vlookup Multiple Returns #REF =?Utf-8?B?QmVu?= Microsoft Excel Misc 3 28th Jun 2005 08:14 PM


Features
 

Advertising
 

Newsgroups
 


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