Hlookup with Multiple of the same value and totally them

mercedes98

New Member
Joined
Jun 4, 2015
Messages
6
hi,

I am using Hlookup to find the letting V and when it finds the letter V is gives me the value in the cell under it. The issue is that I may or may not have more than 1 V in the array I am looking at and if there is more than one V then I need it to give me the total.
V V
0.00 8.00 8.00 0.00 0.00 0.00 0.00
=IF(ISNA(HLOOKUP(U9,E31:K32,2,FALSE))=TRUE,"0",HLOOKUP(U9,E31:K32,2,FALSE))
This is the formula I am using but it only gives me one 8 and I need the total of 16.
Can anyone help.
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
@ Special-K99 - I think you have a mis-placed paren:

=SUMPRODUCT((E31:K31="V")*(E32:K32))

@ mercedes98 - here is another option:

=SUMIF(E31:K31,"V",E32:K32)
 
Upvote 0

Forum statistics

Threads
1,203,562
Messages
6,056,086
Members
444,845
Latest member
dpkane512

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