Demonsguile
New Member
- Joined
- Oct 13, 2011
- Messages
- 39
Every month I get a ledger from my property management company detailing what expenses were incurred. Unfortunately, it's not setup to be easily digestible. So, I've decided to parse out the data into something where I can more easily understand it.
I'm trying to write a formula which searches for a few conditions and sums the values it finds. Unfortunately, when it comes to yard maintenance activities, the ledger displays "Yard - 10/28". As the date will change each time, I want to use the first six (6) characters or "Yard -" in my formula.
Here is what I came up with:
=SUMIFS('Ledger - Details'!$G:$G, 'Ledger - Details'!$F:$F, $B$24, 'Ledger - Details'!$C:$C, "NORTHERNDOVE-", 'Ledger - Details'!$H:$H, E$1)
The relevant section is 'Ledger - Details'!$F:$F, $B$24 where $B$24 references "Yard -".
Unfortunately, when I try to limit it to the six characters I want, I get an error. The formula that errors is this:
=SUMIFS('Ledger - Details'!$G:$G, LEFT('Ledger - Details'!$F:$F, 6), $B$24, 'Ledger - Details'!$C:$C, "NORTHERNDOVE-", 'Ledger - Details'!$H:$H, E$1)
Any help would be appreciated.
Thanks,
DG
I'm trying to write a formula which searches for a few conditions and sums the values it finds. Unfortunately, when it comes to yard maintenance activities, the ledger displays "Yard - 10/28". As the date will change each time, I want to use the first six (6) characters or "Yard -" in my formula.
Here is what I came up with:
=SUMIFS('Ledger - Details'!$G:$G, 'Ledger - Details'!$F:$F, $B$24, 'Ledger - Details'!$C:$C, "NORTHERNDOVE-", 'Ledger - Details'!$H:$H, E$1)
The relevant section is 'Ledger - Details'!$F:$F, $B$24 where $B$24 references "Yard -".
Unfortunately, when I try to limit it to the six characters I want, I get an error. The formula that errors is this:
=SUMIFS('Ledger - Details'!$G:$G, LEFT('Ledger - Details'!$F:$F, 6), $B$24, 'Ledger - Details'!$C:$C, "NORTHERNDOVE-", 'Ledger - Details'!$H:$H, E$1)
Any help would be appreciated.
Thanks,
DG
Last edited: