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.
[TABLE="width: 1492"]
<TBODY>[TR]
[TD][TABLE="class: grid, width: 500"]
<TBODY>[TR]
[TD][TABLE="width: 199"]
<TBODY>[TR="class: grid"]
[TD]Reference
[/TD]
[/TR]
</TBODY>[/TABLE]
[/TD]
[TD][TABLE="width: 136"]
<TBODY>[TR="class: grid"]
[TD]Facility Performing
[/TD]
[/TR]
</TBODY>[/TABLE]
[/TD]
[TD][TABLE="width: 352"]
<TBODY>[TR="class: grid"]
[TD]Sorted by: Reg/Depot
[/TD]
[/TR]
</TBODY>[/TABLE]
[/TD]
[TD][TABLE="width: 131"]
<TBODY>[TR="class: grid"]
[TD]Code
[/TD]
[/TR]
</TBODY>[/TABLE]
[/TD]
[TD][TABLE="width: 271"]
<TBODY>[TR="class: grid"]
[TD]Name
[/TD]
[/TR]
</TBODY>[/TABLE]
[/TD]
[TD][TABLE="width: 213"]
<TBODY>[TR="class: grid"]
[TD]Total
[/TD]
[/TR]
</TBODY>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 199"]
<TBODY>[TR="class: grid"]
[TD]IPMCFWCHRPR2
[/TD]
[/TR]
</TBODY>[/TABLE]
[/TD]
[TD][TABLE="width: 136"]
<TBODY>[TR="class: grid"]
[TD]FWCH
[/TD]
[/TR]
</TBODY>[/TABLE]
[/TD]
[TD][TABLE="width: 352"]
<TBODY>[TR="class: grid"]
[TD]B1
[/TD]
[/TR]
</TBODY>[/TABLE]
[/TD]
[TD][TABLE="width: 131"]
<TBODY>[TR="class: grid"]
[TD]RPR2
[/TD]
[/TR]
</TBODY>[/TABLE]
[/TD]
[TD][TABLE="width: 271"]
<TBODY>[TR="class: grid"]
[TD]Rapid Plasma Reagin (RPR)
[/TD]
[/TR]
</TBODY>[/TABLE]
[/TD]
[TD][TABLE="width: 213"]
<TBODY>[TR="class: grid"]
[TD="align: right"]9
[/TD]
[/TR]
</TBODY>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 199"]
<TBODY>[TR="class: grid"]
[TD]IPMCFWCHRPR2
[/TD]
[/TR]
</TBODY>[/TABLE]
[/TD]
[TD][TABLE="width: 136"]
<TBODY>[TR="class: grid"]
[TD]FWCH
[/TD]
[/TR]
</TBODY>[/TABLE]
[/TD]
[TD][TABLE="width: 352"]
<TBODY>[TR="class: grid"]
[TD]B5
[/TD]
[/TR]
</TBODY>[/TABLE]
[/TD]
[TD][TABLE="width: 131"]
<TBODY>[TR="class: grid"]
[TD]RPR2
[/TD]
[/TR]
</TBODY>[/TABLE]
[/TD]
[TD][TABLE="width: 271"]
<TBODY>[TR="class: grid"]
[TD]Rapid Plasma Reagin (RPR)
[/TD]
[/TR]
</TBODY>[/TABLE]
[/TD]
[TD][TABLE="width: 213"]
<TBODY>[TR="class: grid"]
[TD="align: right"]49
[/TD]
[/TR]
</TBODY>[/TABLE]
[/TD]
[/TR]
</TBODY>[/TABLE]
[/TD]
[TD][/TD]
[TD="colspan: 6"][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD][/TD]
[/TR]
</TBODY>[/TABLE]
The volume right now just shows 9. I want it to display the total of 58.
Can someone assist? Thanks in advance!
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.
[TABLE="width: 1492"]
<TBODY>[TR]
[TD][TABLE="class: grid, width: 500"]
<TBODY>[TR]
[TD][TABLE="width: 199"]
<TBODY>[TR="class: grid"]
[TD]Reference
[/TD]
[/TR]
</TBODY>[/TABLE]
[/TD]
[TD][TABLE="width: 136"]
<TBODY>[TR="class: grid"]
[TD]Facility Performing
[/TD]
[/TR]
</TBODY>[/TABLE]
[/TD]
[TD][TABLE="width: 352"]
<TBODY>[TR="class: grid"]
[TD]Sorted by: Reg/Depot
[/TD]
[/TR]
</TBODY>[/TABLE]
[/TD]
[TD][TABLE="width: 131"]
<TBODY>[TR="class: grid"]
[TD]Code
[/TD]
[/TR]
</TBODY>[/TABLE]
[/TD]
[TD][TABLE="width: 271"]
<TBODY>[TR="class: grid"]
[TD]Name
[/TD]
[/TR]
</TBODY>[/TABLE]
[/TD]
[TD][TABLE="width: 213"]
<TBODY>[TR="class: grid"]
[TD]Total
[/TD]
[/TR]
</TBODY>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 199"]
<TBODY>[TR="class: grid"]
[TD]IPMCFWCHRPR2
[/TD]
[/TR]
</TBODY>[/TABLE]
[/TD]
[TD][TABLE="width: 136"]
<TBODY>[TR="class: grid"]
[TD]FWCH
[/TD]
[/TR]
</TBODY>[/TABLE]
[/TD]
[TD][TABLE="width: 352"]
<TBODY>[TR="class: grid"]
[TD]B1
[/TD]
[/TR]
</TBODY>[/TABLE]
[/TD]
[TD][TABLE="width: 131"]
<TBODY>[TR="class: grid"]
[TD]RPR2
[/TD]
[/TR]
</TBODY>[/TABLE]
[/TD]
[TD][TABLE="width: 271"]
<TBODY>[TR="class: grid"]
[TD]Rapid Plasma Reagin (RPR)
[/TD]
[/TR]
</TBODY>[/TABLE]
[/TD]
[TD][TABLE="width: 213"]
<TBODY>[TR="class: grid"]
[TD="align: right"]9
[/TD]
[/TR]
</TBODY>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 199"]
<TBODY>[TR="class: grid"]
[TD]IPMCFWCHRPR2
[/TD]
[/TR]
</TBODY>[/TABLE]
[/TD]
[TD][TABLE="width: 136"]
<TBODY>[TR="class: grid"]
[TD]FWCH
[/TD]
[/TR]
</TBODY>[/TABLE]
[/TD]
[TD][TABLE="width: 352"]
<TBODY>[TR="class: grid"]
[TD]B5
[/TD]
[/TR]
</TBODY>[/TABLE]
[/TD]
[TD][TABLE="width: 131"]
<TBODY>[TR="class: grid"]
[TD]RPR2
[/TD]
[/TR]
</TBODY>[/TABLE]
[/TD]
[TD][TABLE="width: 271"]
<TBODY>[TR="class: grid"]
[TD]Rapid Plasma Reagin (RPR)
[/TD]
[/TR]
</TBODY>[/TABLE]
[/TD]
[TD][TABLE="width: 213"]
<TBODY>[TR="class: grid"]
[TD="align: right"]49
[/TD]
[/TR]
</TBODY>[/TABLE]
[/TD]
[/TR]
</TBODY>[/TABLE]
[/TD]
[TD][/TD]
[TD="colspan: 6"][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD][/TD]
[/TR]
</TBODY>[/TABLE]
The volume right now just shows 9. I want it to display the total of 58.
Can someone assist? Thanks in advance!