Padraic Fahy
New Member
- Joined
- Jan 16, 2017
- Messages
- 4
Hi All,
I have recently set up an excel template for employees to enter their expenses in a charity I help out.
In total there are 4 categories which need to be filled out in the following order:
(Not sure how to add a screenshot of template, apologies)
Each selection dictates what comes up in the next list/dropdown box.
I am using the following formula to generate the information in the dropdown boxes: (this example is taken from "Expense Account")
=OFFSET('pivot list data'!$O$1,MATCH(P16,'pivot list data'!$O:$O,0)-1,1,COUNTIF('pivot list data'!$O:$O,P16),1)
- For the formula above, the match is using a concatenation of expense category&Department&donor&project&sub-project
The problem I have is that I am using concatenations all the time to avoid duplicate values being shown in the dropdown box and then pivot tables for each dropdown box (I am creating 6 pivot tables from original data to address the issue) , which is then making the excel file very large as the original data is just being constantly repeated, and does not help as it is a file which will need to be updated regularly.
I hope this makes sense, any advice on what I am missing in my formula would be greatly appreciated, or if it is VBA or something else I need to solve this problem
Thanks in advance!!
I have recently set up an excel template for employees to enter their expenses in a charity I help out.
In total there are 4 categories which need to be filled out in the following order:
- Expense Category
- Department
- Donor
- Project
- Sub-project
- Expense Account
(Not sure how to add a screenshot of template, apologies)
Each selection dictates what comes up in the next list/dropdown box.
I am using the following formula to generate the information in the dropdown boxes: (this example is taken from "Expense Account")
=OFFSET('pivot list data'!$O$1,MATCH(P16,'pivot list data'!$O:$O,0)-1,1,COUNTIF('pivot list data'!$O:$O,P16),1)
- For the formula above, the match is using a concatenation of expense category&Department&donor&project&sub-project
The problem I have is that I am using concatenations all the time to avoid duplicate values being shown in the dropdown box and then pivot tables for each dropdown box (I am creating 6 pivot tables from original data to address the issue) , which is then making the excel file very large as the original data is just being constantly repeated, and does not help as it is a file which will need to be updated regularly.
I hope this makes sense, any advice on what I am missing in my formula would be greatly appreciated, or if it is VBA or something else I need to solve this problem
Thanks in advance!!