Desperately need Hlookup Multiple same value returned - on a deadline

mercedes98

New Member
Joined
Jun 4, 2015
Messages
6
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.
Someone suggested using this formula but I don't know how to fit it into my original formula =SUMPRODUCT((E31:K31)="V"*(E32:K32))

I am on a deadline and need to get this solved as soon as possible. I would appreciate any help at all. Thank you so much
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
the sumproduct formula replaces your formula

try it out on a mini made up spreadsheet

every time it finds a v it adds the number below the V to a running total and when it has found all the V's it gives you the total
 
Upvote 0
The sum product formula should prob be

=SUMPRODUCT((E31:K31="V")*(E32:K32))
 
Upvote 0
I tried using just the sumproduct and I am getting a #value! message so something isn't right. Any other suggestions?
 
Upvote 0
After thinking about it that formula won't work because there could be values in that row that are for something else like H which is for Holiday. So I need it to specifically find the values under the V not just any value in that row.
 
Upvote 0
Have you tried the one I posted? That is what it does!

Or try a simple sumif

=SUMIF(E31:K31,"V",E32:K32)
 
Upvote 0
You're welcome, the sumproduct will work if you use the one I posted

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

Forum statistics

Threads
1,213,504
Messages
6,114,016
Members
448,543
Latest member
MartinLarkin

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