Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default VLOOKUP - search key is more than once available

I am trying to total all amounts for 1 specific key in one cell.

Example:
search key is "boy" in a table. Since this key is used various in this
specific table (not sorted) the outcome of VLOOKUP should total all amounts
that match "boy".

Currently I only got the first match, but all other "boys" are ignored (not
totaled).

Does someone have the answer?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,510
Default VLOOKUP - search key is more than once available

Without an example of your data and what result you expect it is a bit hard
to visualize exactly what you need. However, it appears that you want to sum
some data based on criteria so lookup SUMIF and SUMIFS in help. They might do
what you want.

--
Regards,

OssieMac


"MCFD" wrote:

I am trying to total all amounts for 1 specific key in one cell.

Example:
search key is "boy" in a table. Since this key is used various in this
specific table (not sorted) the outcome of VLOOKUP should total all amounts
that match "boy".

Currently I only got the first match, but all other "boys" are ignored (not
totaled).

Does someone have the answer?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default VLOOKUP - search key is more than once available

SUMIF works perfect, Thanks!

"OssieMac" wrote:

Without an example of your data and what result you expect it is a bit hard
to visualize exactly what you need. However, it appears that you want to sum
some data based on criteria so lookup SUMIF and SUMIFS in help. They might do
what you want.

--
Regards,

OssieMac


"MCFD" wrote:

I am trying to total all amounts for 1 specific key in one cell.

Example:
search key is "boy" in a table. Since this key is used various in this
specific table (not sorted) the outcome of VLOOKUP should total all amounts
that match "boy".

Currently I only got the first match, but all other "boys" are ignored (not
totaled).

Does someone have the answer?

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 date search George Excel Worksheet Functions 1 May 30th 06 07:14 AM
VLOOKUP and MATCH w/ name search? LTUser54 Excel Worksheet Functions 2 May 22nd 06 04:41 PM
vlookup with search? maryj Excel Worksheet Functions 5 May 8th 06 07:10 PM
how do i use vlookup to search for a value on another sheet? Danz Excel Worksheet Functions 4 April 7th 06 09:49 PM
Can VLOOKUP be used to search for more than one possible value? Travis Excel Discussion (Misc queries) 1 August 31st 05 03:57 AM


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