Search for a text in array and return 3rd column

Dawzzy

New Member
Joined
Apr 18, 2021
Messages
2
Office Version
  1. 365
Platform
  1. Windows
I have an array with text in the first column and numbers in the next four, the text values repeat. I want to make a summary sheet. So I want a formula that searches for text in the defined array, then counts a number from a given column if the row matches.

I want a summary sheet that would look like this:

Dave5
Steve2
Larry1

Basically find all matches of name and return the number next to it (well my data it is actually the 3rd column I want)

from this example data:

Dave3
Dave2
Steve2
Larry1
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Maybe this
Book4
ABCDEFGH
1NameABColOfInterestNameValue
2Dave15153Dave5
3Dave14182Steve2
4Steve18172Larry1
5Larry16131
Sheet2
Cell Formulas
RangeFormula
G2:G4G2=UNIQUE(A2:A5)
H2:H4H2=SUMPRODUCT(($A$2:$A$5=G2)*($D$2:$D$5))
Dynamic array formulas.


kinda what a pivot will return
 
Upvote 0
Solution

Forum statistics

Threads
1,213,536
Messages
6,114,207
Members
448,554
Latest member
Gleisner2

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top