#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mike
 
Posts: n/a
Default vlookup

Hey, I was wondering if you could all help me out. I'm trying to use the
vlookup command to give me a sum of values that meets my requirements. Right
now, it is only returning one value of the array.

Is there a way to return the sum of all values that meet my "lookup_value"?
Or maybe there is a better way to do this. Please let me know!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JMB
 
Posts: n/a
Default vlookup

VLookup returns the first item it finds that matches your criteria.

Check excel help for the SUMIF function. For more complex operations or
criteria, check into SUMPRODUCT
http://xldynamic.com/source/xld.SUMPRODUCT.html

As examples, either of the following formulas will total the values in A1:A5
that are greater than 3.

SUMIF(A1:A5,"3")
SUMPRODUCT(--(A1:A53),A1:A5)

"Mike" wrote:

Hey, I was wondering if you could all help me out. I'm trying to use the
vlookup command to give me a sum of values that meets my requirements. Right
now, it is only returning one value of the array.

Is there a way to return the sum of all values that meet my "lookup_value"?
Or maybe there is a better way to do this. Please let me know!

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 single cell reference as table array argument in Vlookup CornNiblet Excel Worksheet Functions 3 September 22nd 05 09:15 AM
VLOOKUP Limitations chris_manning Excel Worksheet Functions 2 August 9th 05 06:23 PM
Have Vlookup return a Value of 0 instead of #N/A Mr Mike Excel Worksheet Functions 4 May 25th 05 04:51 PM
vlookup data hidden within worksheet Excel Worksheet Functions 0 January 26th 05 12:09 PM
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 08:08 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"