hLookup

Chris3177

New Member
Joined
Jul 27, 2011
Messages
27
I want excel to look up a certain value in a row and for each cell that has the value I want it to sum the corresponding numerical values.

For example:
C/R A B C D E F
1 Director CRA Mng CRA CRA Mng
2
3
4
5
6 1.4 1.3 1.0 .08 .98 .78

The formula should look up "CRA" in row 1 and then sum all of the corresponding values in row 6 i.e. 1.3+.08+.98 = 2.36

I tried a hlookup, but don't seem to know how to use the formula to look for multiple values of the same and then add them together???

Thank you!
 
I've loooked up and found this solution which seems similar to whatI'm chasing...
Below is my version which doesn't work either and I cant figure why?
Bare in mind that my formula is spread over two different pages in my spreadsheet.
At a glance, do you see anything that sticks out that could be incorrect?

Thanks for your help.

=SUMIF(('BOQ List'!$O6:$O13006),("'Module List'!$D5"),('BOQ List'!$BI6:$BI13006))

Look at this (" - in Red) in your formula:

=SUMIF(('BOQ List'!$O6:$O13006),("'Module List'!$D5"),('BOQ List'!$BI6:$BI13006))

Markmzz
 
Upvote 0

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Hey mark,
Thanks for your help anyways.
Sorry, haven't been in here for a while.
I ended up doing it the long way in the end. What was the idea with the " being red anyways?
 
Upvote 0
Look at this (" - in Red) in your formula:

=SUMIF(('BOQ List'!$O6:$O13006),("'Module List'!$D5"),('BOQ List'!$BI6:$BI13006))

Markmzz
Hey mark,
Thanks for your help anyways.
Sorry, haven't been in here for a while.
I ended up doing it the long way in the end. What was the idea with the " being red anyways?

It's a type error in your formula. Look at this:

Your formula (with the error):

=SUMIF(('BOQ List'!$O6:$O13006),("'Module List'!$D5"),('BOQ List'!$BI6:$BI13006))

The correct formula (without the error):

=SUMIF(('BOQ List'!$O6:$O13006),('Module List'!$D5),('BOQ List'!$BI6:$BI13006))

Markmzz
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,730
Members
452,939
Latest member
WCrawford

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