Hi, Aladin or other Excel expert,
I'm rather new to Excel. How do you set up the range '&SheetList&', mentioned in method 1? BTW, why are 2 levels of quotes required inside the INDIRECT parens?
I have posted in another thread [3527876], but hope for help here as well...
Thanks for this one, I was using SUMIF's all over the place and the workbook was acting like it had a case of the flu!
In my case, I'm playing around with this to troll income and expense categories, to see how far I can go with a simple profit and loss system. I'm using ranges to get Excel to allow nested Validated Lists for tagging expense and income items and it's all fine and dandy, even the tax exclusions and component reporting.
I'm being lazy, and assuming all transactions are a tax input or a tax output ..unless tagged otherwise, so that I only have to record the exceptions, hence the divide by 11 to get the 10% tax component out.
The sheets' data areas are like this:
[TABLE="width: 1402"]
<tbody>[TR]
[TD]Date
[/TD]
[TD]
[/TD]
[TD]
Credit Crd: Business
[/TD]
[TD]
[/TD]
[TD]Dr
[/TD]
[TD]Cr
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
Expenses
[/TD]
[TD][/TD]
[TD]
Income
[/TD]
[/TR]
[TR]
[TD]17/07/2013
[/TD]
[TD]-15.95
[/TD]
[TD="colspan: 2"]O'REILLY MEDIA 0104 SEBASTOPOL 13.99 USD 0.46 AUD
[/TD]
[TD]-$15.95
[/TD]
[TD][/TD]
[TD][/TD]
[TD]CAF
[/TD]
[TD]Helpdesk
[/TD]
[TD]
QHSE
[/TD]
[TD]PD, Subscriptions, Resources
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD][/TD]
[TD][/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]
[/TD]
[/TR]
</tbody>[/TABLE]
But....
I have two cost centres running off of the same transactions, and I'm wondering how to slip in a condition to the formula to give me the CAF paid on purchase (an accounting category of GST, items over $1,000):
=SUMPRODUCT(SUMIF(INDIRECT("'"&SheetList&"'!h2:h2000"),"CAF",INDIRECT("'"&SheetList&"'!f2:f2000")))
/11
THe formula works fine as it is, but covers both cost centres,
...I'd like to interrogate column I for a particular cost centre "
Helpdesk", and only return CAF when "
Helpdesk" is in column I on those
CAF hits.
sooooooo .... any geniuses out there?
And yes, I can get around it by either:
- having separate tax columns for each cost centre; or
- prefixing the tax code with a cost-centre code
..both are messy in their own way, and I'm trying to get this to be user-friendly; both usage and visually.