Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 68
Default How to vlookup and summing value?

Hi, please help....

Worksheet name: "Pages"
Column A Column B
James $100
James $50
AJ $30
Light $46
James $80

When i type on cell A1 on a separate worksheet this formula
=VLOOKUP(A1,Pages!A2:B5,2,FALSE) , it only provide me $100. Is there a way to
sum up the total to be $230 under "James"?





  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default How to vlookup and summing value?

Hi,

=SUMPRODUCT((A1:A15="James")*(B1:B15))
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Carrie" wrote:

Hi, please help....

Worksheet name: "Pages"
Column A Column B
James $100
James $50
AJ $30
Light $46
James $80

When i type on cell A1 on a separate worksheet this formula
=VLOOKUP(A1,Pages!A2:B5,2,FALSE) , it only provide me $100. Is there a way to
sum up the total to be $230 under "James"?





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,276
Default How to vlookup and summing value?

Hi,
I assume you enter a name to be summarized in B1

=sumproduct((B1=Pages!A2:A5)*(Pages!B2:B5))


"Carrie" wrote:

Hi, please help....

Worksheet name: "Pages"
Column A Column B
James $100
James $50
AJ $30
Light $46
James $80

When i type on cell A1 on a separate worksheet this formula
=VLOOKUP(A1,Pages!A2:B5,2,FALSE) , it only provide me $100. Is there a way to
sum up the total to be $230 under "James"?





  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default How to vlookup and summing value?

Hi,

You may create a pivot table. Drag column A to the row area and column B to
the data area

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Carrie" wrote in message
...
Hi, please help....

Worksheet name: "Pages"
Column A Column B
James $100
James $50
AJ $30
Light $46
James $80

When i type on cell A1 on a separate worksheet this formula
=VLOOKUP(A1,Pages!A2:B5,2,FALSE) , it only provide me $100. Is there a way
to
sum up the total to be $230 under "James"?





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 & summing hcronrath Excel Worksheet Functions 3 February 12th 09 01:21 AM
vlookup & sum? or maybe summing dupes? blswes Excel Discussion (Misc queries) 1 September 22nd 08 04:31 PM
summing all results in a vlookup Valerie Excel Worksheet Functions 2 July 30th 07 10:19 PM
Summing vlookup cells John K Excel Worksheet Functions 3 October 17th 06 06:40 PM
Summing using VLOOKUP rusty24 Excel Discussion (Misc queries) 2 April 20th 06 02:44 PM


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