vlookup sum two cells

asyamonique

Well-known Member
Joined
Jan 29, 2008
Messages
1,280
Office Version
  1. 2013
Platform
  1. Windows
Hello,
Is it possible to add into below formula sum function like i need to get total of 10th and 12th cell values.
Thanks

Excel Formula:
=IFERROR(VLOOKUP(A2,master!$CF$3:$DG$500, 10, FALSE),"")
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Just add another VLOOKUP and sum the results.

You might want to change the IFERROR result to 0 for both you're trying to sum. After this it's up to you what you want to show if the sum returns a zero (which doesn't necessary mean both VLOOKUPs returned an error).
 
Upvote 0
Yes calculated but if there is no values it shows as.
#VALUE!
 
Upvote 0
Excel Formula:
=IFERROR(VLOOKUP(A2,master!$CF$3:$DG$500, 10, FALSE)+VLOOKUP(A2,master!$CF$3:$DG$500, 12, FALSE),"")
 
Upvote 0
If you're using anything other than office 365 then you might need to array confirm this.
Excel Formula:
=IFERROR(SUM(VLOOKUP(A2,master!$CF$3:$DG$500,{10,12}, FALSE)),"")
 
Upvote 0

Forum statistics

Threads
1,215,045
Messages
6,122,830
Members
449,096
Latest member
Erald

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