Adding multiple numbers from a list

KlayColgrove

New Member
Joined
Oct 19, 2018
Messages
12
I currently have a table that has 2 categories, Budget and Amount. As seen below.

I have Data Validation with a list of all the names for Budget. Under that I have Budget amount that will show the corresponding amount for the selected budget.

QUESTION: I want to be able to select multiple budgets and have the total amount under it. I currently already have the code to select multiple options in the list, but when I do select more than one budget I get an error in the budget amount.


Budget...…. Amount
Coke Q1.... 1250000
Coke Q2...….. 50000
Coke Q3...... 750000
Coke Q4...... 852000

(Budget Amount) =SUM(VLOOKUP(D12,N24:O54,2,FALSE))

So the Budget Name line shows something like: Coke Q1, Coke Q2
Budget Amount then shows the error: #N/A

<tbody>
</tbody>
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Hello,

You say:

I currently already have the code to select multiple options in the list

1. What is it ...?

2. Why not using this 'mysterious' code for a simple sumproduct...?
 
Upvote 0

Forum statistics

Threads
1,215,197
Messages
6,123,585
Members
449,108
Latest member
rache47

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