Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old February 25th 16, 06:53 PM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
First recorded activity by ExcelBanter: Jan 2016
Posts: 18
Default Sumprouct with Indext?

Help

I have an issue that I ran into.

COLUMNS and Rows below data set

A(name) B(calls(
Alex 10
Alex1 5
Robert 12
Robert1 6

Basically I need to look up Alex and Alex1 and add their calls
Combined added below


A name B calls

  #2   Report Post  
Old February 25th 16, 07:01 PM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
First recorded activity by ExcelBanter: Apr 2011
Posts: 3,866
Default Sumprouct with Indext?

Hi,

Am Thu, 25 Feb 2016 10:53:10 -0800 (PST) schrieb
:

A(name) B(calls(
Alex 10
Alex1 5
Robert 12
Robert1 6

Basically I need to look up Alex and Alex1 and add their calls
Combined added below


try:
=SUMPRODUCT(((A2:A100="Alex")+(A2:A100="Alex1"))*B 2:B100)
or
=SUMPRODUCT(--(LEFT(A2:A100;4)="Alex");B2:B100)


Regards
Claus B.
--
Vista Ultimate / Windows7
Office 2007 Ultimate / 2010 Professional
  #3   Report Post  
Old February 25th 16, 07:13 PM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
First recorded activity by ExcelBanter: Jan 2016
Posts: 18
Default Sumprouct with Indext?

Thank you Claus both work great

On Thursday, February 25, 2016 at 12:53:15 PM UTC-6, wrote:
Help

I have an issue that I ran into.

COLUMNS and Rows below data set

A(name) B(calls(
Alex 10
Alex1 5
Robert 12
Robert1 6

Basically I need to look up Alex and Alex1 and add their calls
Combined added below


A name B calls




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



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

Powered by vBulletin® Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright 2004-2021 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"

 

Copyright © 2017