Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SirSimons
 
Posts: n/a
Default Sum of Vlookup values

Hi

I have a workbook with 2 sheets.

In sheet 1 I have 2 colums. Colum A containing names, colum B containing
numbers.

On sheet 2 I would like to make a function that gives me the sum of all
numbers in sheet 1 with the same name in colum A.

If a type =sum(vlookup(...........)
I only get the first number per name from sheet 1.

/Jan
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
BenjieLop
 
Posts: n/a
Default Sum of Vlookup values


SirSimons Wrote:
Hi

I have a workbook with 2 sheets.

In sheet 1 I have 2 colums. Colum A containing names, colum B
containing
numbers.

On sheet 2 I would like to make a function that gives me the sum of
all
numbers in sheet 1 with the same name in colum A.

If a type =sum(vlookup(...........)
I only get the first number per name from sheet 1.

/Jan


ASSUMING that:

1. the range of your data in Sheet 1 is A1:B100;
2. the names entered in Sheet 2 are all in Column A

enter this formula in Cell B1, Sheet2:

=SUMIF(SHEET1!$A$1:$A$100,A1,SHEET1!$B$1:$B$100)

and copy down until your range requirement in Sheet 2 is met.

Hope this is what you are looking for.

Regards.


--
BenjieLop


------------------------------------------------------------------------
BenjieLop's Profile: http://www.excelforum.com/member.php...o&userid=11019
View this thread: http://www.excelforum.com/showthread...hreadid=503995

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SirSimons
 
Posts: n/a
Default Sum of Vlookup values

Hi

I can use the Sumif commando, but I would also like to get the 95% fraktile
of the numbers...

"BenjieLop" skrev:


SirSimons Wrote:
Hi

I have a workbook with 2 sheets.

In sheet 1 I have 2 colums. Colum A containing names, colum B
containing
numbers.

On sheet 2 I would like to make a function that gives me the sum of
all
numbers in sheet 1 with the same name in colum A.

If a type =sum(vlookup(...........)
I only get the first number per name from sheet 1.

/Jan


ASSUMING that:

1. the range of your data in Sheet 1 is A1:B100;
2. the names entered in Sheet 2 are all in Column A

enter this formula in Cell B1, Sheet2:

=SUMIF(SHEET1!$A$1:$A$100,A1,SHEET1!$B$1:$B$100)

and copy down until your range requirement in Sheet 2 is met.

Hope this is what you are looking for.

Regards.


--
BenjieLop


------------------------------------------------------------------------
BenjieLop's Profile: http://www.excelforum.com/member.php...o&userid=11019
View this thread: http://www.excelforum.com/showthread...hreadid=503995


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
Using Match function with duplicate values in an array Richard Excel Worksheet Functions 3 April 22nd 23 07:45 PM
Vlookup with multi values tim Excel Worksheet Functions 2 January 8th 06 02:20 PM
Vlookup on a worksheet with similar values GWHITE1 Excel Worksheet Functions 3 December 31st 05 04:16 PM
vlookup returning multiple values soph Excel Worksheet Functions 2 October 14th 05 05:17 AM
VLOOKUP, OFFSET, MATCH PROBLEM, HELP? Steve Excel Worksheet Functions 0 January 30th 05 09:11 PM


All times are GMT +1. The time now is 10:49 AM.

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"