#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default VLOOKUP

Hi:
The dataset for the vllokup contains many rows with the same reference: Ex

Coupon # Transaction Sales
1 5 $ 10
2 7 $3
1 3 $15

When I write =vlookup(A3,"SheetName" $A;$E, 2,0) I only get one number for
each unique coupon # instead of a sum of all coupon numbers.
Can you help?
Thanks.
Heather
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 367
Default VLOOKUP

Hi Heather

what exactly do you want as output?
1 8 $25
then you would do following (assuming that you're first row is a
header)
=SUMIF(Sheet1!$A$2:$A$4,$A8,Sheet1!$B$2:$B$4)

which you can then drag to the right side, and then drag down.

hth
Carlo

On Jan 16, 1:47*pm, Learningfast
wrote:
Hi:
The dataset for the vllokup contains many rows with the same reference: *Ex

Coupon * # * * * * * * Transaction * * * * * * * * *Sales
1 * * * * * * * * * * * * *5 * * * * * * * * * * * * * * * *$ 10
2 * * * * * * * * * * * * *7 * * * * * * * * * * * * * * * * *$3
1 * * * * * * * * * * * * *3 * * * * * * * * * * * * * * * * * $15

When I write =vlookup(A3,"SheetName" $A;$E, 2,0) I only get one number for
each unique coupon # instead of a sum of all coupon numbers.
Can you help?
Thanks.
Heather


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 in vlookup - taking the result as array name SupperDuck Excel Worksheet Functions 2 June 2nd 07 11:05 AM
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP buffgirl71 Excel Discussion (Misc queries) 12 November 14th 06 11:36 PM
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) MikeR-Oz New Users to Excel 1 March 22nd 06 09:01 AM
IF(AND(val1=VLOOKUP( );val2>=VLOOKUP( );val2<=VLOOKUP( );VLOOKUP( Oso Excel Worksheet Functions 2 January 26th 05 06:56 AM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


All times are GMT +1. The time now is 09:54 AM.

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"