Vlookup to find a count of identical row matches

FinanceDude2420

New Member
Joined
Aug 19, 2016
Messages
2
Currently, I have a formula that only selects the first number found. What I want to do is add up all those matches. Please see info below.

Here's the formula I currently use....

=IF(ISNUMBER(VLOOKUP($B1782,'Transfer Data'!$A$3:$G$22042,6,0)),VLOOKUP($B1782,'Transfer Data'!$A$3:$G$22042,6,0),0)

It is referencing the "Reference" column to vlookup.


Reference

<TBODY>
</TBODY>
Facility Performing

<TBODY>
</TBODY>
Sorted by: Reg/Depot

<TBODY>
</TBODY>
Code

<TBODY>
</TBODY>
Name

<TBODY>
</TBODY>
Total

<TBODY>
</TBODY>
IPMCFWCHRPR2

<TBODY>
</TBODY>
FWCH

<TBODY>
</TBODY>
B1

<TBODY>
</TBODY>
RPR2

<TBODY>
</TBODY>
Rapid Plasma Reagin (RPR)

<TBODY>
</TBODY>
9

<TBODY>
</TBODY>
IPMCFWCHRPR2

<TBODY>
</TBODY>
FWCH

<TBODY>
</TBODY>
B5

<TBODY>
</TBODY>
RPR2

<TBODY>
</TBODY>
Rapid Plasma Reagin (RPR)

<TBODY>
</TBODY>
49

<TBODY>
</TBODY>

<TBODY>
</TBODY>

<TBODY>
</TBODY>


The volume right now just shows 9. I want it to display the total of 58.

Can someone assist? Thanks in advance! :)
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Re: Need Help! Vlookup to find a count of identical row matches

FinanceDude2420, Good morning.

You can try to use a SUMIF function.

=SUMIF('Transfer Data'!$A$3:$A$22042,$B1782,'Transfer Data'!$F$3:$F$22042)

Please, tell us if it worked for you.
I hope it helps.
 
Upvote 0
Re: Need Help! Vlookup to find a count of identical row matches

Thank you for the quick response!

Do I put that within my current formula? If so, where at? I believe I would since I still need to vlookup the reference. Just not sure where to put it in the formula.
 
Upvote 0

Forum statistics

Threads
1,215,777
Messages
6,126,835
Members
449,343
Latest member
DEWS2031

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