Need help with adding multiple vlookups

criswilk

New Member
Joined
Sep 5, 2006
Messages
9
I need some help with adding multiple vlookups. What I need to do is use the value in H1 and lookup in column A, C and E returning the value from B, D and F in column I1 added together. I've already got this formula =IF(ISNA(VLOOKUP(A1,B:C,2,0)),"**ERR**",VLOOKUP(A1,B:C,2,0)) but I'm not sure on how to do this for the other columns and add them together all in one formula.

<b>Excel 2007</b><table cellpadding="2.5px" rules="all" style=";background-color: #FFFFFF;border: 1px solid;border-collapse: collapse; border-color: #A6AAB6"><colgroup><col width="25px" style="background-color: #E0E0F0" /><col /><col /><col /><col /><col /><col /><col /><col /><col /></colgroup><thead><tr style=" background-color: #E0E0F0;text-align: center;color: #161120"><th></th><th>A</th><th>B</th><th>C</th><th>D</th><th>E</th><th>F</th><th>G</th><th>H</th><th>I</th></tr></thead><tbody><tr ><td style="color: #161120;text-align: center;">1</td><td style="text-align: right;;">190003</td><td style="text-align: right;;">3</td><td style="text-align: right;;">190001</td><td style="text-align: right;;">6</td><td style="text-align: right;;">190111</td><td style="text-align: right;;">1</td><td style="text-align: right;;"></td><td style="text-align: right;;">190001</td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">2</td><td style="text-align: right;;">190004</td><td style="text-align: right;;">1</td><td style="text-align: right;;">190002</td><td style="text-align: right;;">6</td><td style="text-align: right;;">190133</td><td style="text-align: right;;">1</td><td style="text-align: right;;"></td><td style="text-align: right;;">190002</td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">3</td><td style="text-align: right;;">190007</td><td style="text-align: right;;">1</td><td style="text-align: right;;">190003</td><td style="text-align: right;;">7</td><td style="text-align: right;;">190192</td><td style="text-align: right;;">1</td><td style="text-align: right;;"></td><td style="text-align: right;;">190003</td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">4</td><td style="text-align: right;;">190013</td><td style="text-align: right;;">3</td><td style="text-align: right;;">190004</td><td style="text-align: right;;">7</td><td style="text-align: right;;">190195</td><td style="text-align: right;;">1</td><td style="text-align: right;;"></td><td style="text-align: right;;">190004</td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">5</td><td style="text-align: right;;">190015</td><td style="text-align: right;;">3</td><td style="text-align: right;;">190005</td><td style="text-align: right;;">4</td><td style="text-align: right;;">190220</td><td style="text-align: right;;">-1</td><td style="text-align: right;;"></td><td style="text-align: right;;">190005</td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">6</td><td style="text-align: right;;">190016</td><td style="text-align: right;;">1</td><td style="text-align: right;;">190006</td><td style="text-align: right;;">1</td><td style="text-align: right;;">190287</td><td style="text-align: right;;">2</td><td style="text-align: right;;"></td><td style="text-align: right;;">190006</td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">7</td><td style="text-align: right;;">190020</td><td style="text-align: right;;">1</td><td style="text-align: right;;">190008</td><td style="text-align: right;;">8</td><td style="text-align: right;;">190316</td><td style="text-align: right;;">1</td><td style="text-align: right;;"></td><td style="text-align: right;;">190007</td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">8</td><td style="text-align: right;;">190024</td><td style="text-align: right;;">2</td><td style="text-align: right;;">190009</td><td style="text-align: right;;">2</td><td style="text-align: right;;">190334</td><td style="text-align: right;;">1</td><td style="text-align: right;;"></td><td style="text-align: right;;">190008</td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">9</td><td style="text-align: right;;">190032</td><td style="text-align: right;;">5</td><td style="text-align: right;;">190010</td><td style="text-align: right;;">6</td><td style="text-align: right;;">190581</td><td style="text-align: right;;">1</td><td style="text-align: right;;"></td><td style="text-align: right;;">190009</td><td style="text-align: right;;"></td></tr></tbody></table><p style="width:4.2em;font-weight:bold;margin:0;padding:0.2em 0.6em 0.2em 0.5em;border: 1px solid #A6AAB6;border-top:none;text-align: center;background-color: #E0E0F0;color: #161120">Sheet1</p><br /><br />

Thanks in advance for you any assistance.
 
Last edited:

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Use SUMIF:

For I1:

=SUMIF(A:A,H1,B:B)+SUMIF(C:C,H1,D:D)+SUMIF(E:E,H1,F:F)

Copy down
 
Upvote 0
SUMPRODUCT will do it, too:

Excel Workbook
ABCDEFGHI
11900033190001619011111900016
21900041190002619013311900026
319000711900037190192119000310
41900133190004719019511900048
519001531900054190220-11900054
61900161190006119028721900061
71900201190008819031611900071
81900242190009219033411900088
91900325190010619058111900092
Sheet1
 
Upvote 0

Forum statistics

Threads
1,224,505
Messages
6,179,153
Members
452,891
Latest member
JUSTOUTOFMYREACH

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