ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Lookup more than one (https://www.excelbanter.com/excel-worksheet-functions/46617-lookup-more-than-one.html)

Ramses

Lookup more than one
 
Hi I have a problem with getting lookup to return more than one result.


A B
_______________
pcs team
1 123 a1
2 145 b2
3 567 a3
4 345 a4
5 123 a1
6 345 a3

I would like get all pcs. that one team have made, is that possible in
a excel formula. I do not have the possibility to sort the teams.

Hope some one can help!

Ramses


Biff

Hi!

Try this:

=SUMIF(B1:B6,"A1",A1:A6)

Or, use cell references:

=SUMIF(B1:B6,B1,A1:A6)

Biff

"Ramses" wrote in message
ups.com...
Hi I have a problem with getting lookup to return more than one result.


A B
_______________
pcs team
1 123 a1
2 145 b2
3 567 a3
4 345 a4
5 123 a1
6 345 a3

I would like get all pcs. that one team have made, is that possible in
a excel formula. I do not have the possibility to sort the teams.

Hope some one can help!

Ramses




Ramses

Thanks Biff

I can not believe it was that simple. :-)

Ramses


Biff

Ockham's razor!

You're welcome. Thanks for the feedback!

Biff

"Ramses" wrote in message
oups.com...
Thanks Biff

I can not believe it was that simple. :-)

Ramses





All times are GMT +1. The time now is 03:52 AM.

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