ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Sumproduct not works (https://www.excelbanter.com/excel-worksheet-functions/229470-sumproduct-not-works.html)

kashish

Sumproduct not works
 
In below formula in place D1 it should come "B" but its not work why?

A B C D

1 A 2 =SUMPRODUCT(--($A$1:$A$5=C1),--$B$1:$B$5)
2 B
3 C
4 D
5 E


Jacob Skaria

Sumproduct not works
 
Why dont you use VLOOKUP in D1

=VLOOKUP(C1,A1:B5,2,FALSE)

If this post helps click Yes
---------------
Jacob Skaria


"kashish" wrote:

In below formula in place D1 it should come "B" but its not work why?

A B C D

1 A 2 =SUMPRODUCT(--($A$1:$A$5=C1),--$B$1:$B$5)
2 B
3 C
4 D
5 E


David Biddulph[_2_]

Sumproduct not works
 
SUMPRODUCT calculates a number. "B" isn't a number.
--
David Biddulph

kashish wrote:
In below formula in place D1 it should come "B" but its not work why?

A B C D

1 A 2 =SUMPRODUCT(--($A$1:$A$5=C1),--$B$1:$B$5)
2 B
3 C
4 D
5 E





John[_22_]

Sumproduct not works
 
HI
Try this =INDEX(B1:B5,MATCH(C1,A1:A5,0))
HTH
John
"kashish" wrote in message
...
In below formula in place D1 it should come "B" but its not work why?

A B C D

1 A 2 =SUMPRODUCT(--($A$1:$A$5=C1),--$B$1:$B$5)
2 B
3 C
4 D
5 E




All times are GMT +1. The time now is 12:01 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com