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
[TABLE="width: 184"]
<tbody>[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"][/TD]
[/TR]
</tbody>[/TABLE]
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
[TABLE="width: 184"]
<tbody>[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"][/TD]
[/TR]
</tbody>[/TABLE]