DKRbella0814
Board Regular
- Joined
- Aug 10, 2008
- Messages
- 155
Hello,
What I would like is for a formula to return a sum for a defined range which meets certain criteria (via cell references from a different worksheet). Currently, the formula is returning 0 and I have not been successful in troubleshooting (checked range to ensure this was consistent, checked consistency in formatting for referenced dates - which I have programmed as text, etc.).
In my workbook, there are several tabs which represent transactions from different financial institutions. Each tab is structured the same, so if I can figure out the correct formula for one tab, I should be able to adapt for all other tabs in the workbook. Also, within the workbook is a 'Budget' tab; on this tab is where I would like to write the formula. To simplify things a bit, the 'Budget' tab has various categories of income and spend (i.e. income, bonus, gas, food, house, etc.) by month for the year (i.e. Jan-20, Feb-20, etc.). The months have been formatted as text. Since there are multiple financial institutions which may have income/spend for the same category referenced on 'Budget' tab, I will need to SUM multiple SUMIFS functions, if possible.
A simplified version of the workbook is below:
'Budget' - contains formula which should add SUMIFS functions across all banking tabs
'Bank1' - contains income/spend for one financial institution (itemizes each transaction by date; the date is summarized as MMM-YY (i.e. Jan-20) as text)
Formula (written on 'Budget' tab): =SUMIFS('Bank1'!$Q$251:$Q$302,'Bank1'!$R$251:$R$302,$B7,'Bank1'!$S$251:$S$302,$L$4) where:
$Q$251:$Q$302 = sum range or $ amount for each income/expense line item: ('Bank1' tab)
$R$251:$R$302 = category of income/expense (i.e. Bonus, Gas, Food): ('Bank1' tab)
$S$251:$S$302 = MMM-YY (format = text), $B7 = "Bonus" ;and ('Bank1' tab)
$L$4 = "Mar-20" (both on 'Budget' tab, where formula is written)
Please help!
What I would like is for a formula to return a sum for a defined range which meets certain criteria (via cell references from a different worksheet). Currently, the formula is returning 0 and I have not been successful in troubleshooting (checked range to ensure this was consistent, checked consistency in formatting for referenced dates - which I have programmed as text, etc.).
In my workbook, there are several tabs which represent transactions from different financial institutions. Each tab is structured the same, so if I can figure out the correct formula for one tab, I should be able to adapt for all other tabs in the workbook. Also, within the workbook is a 'Budget' tab; on this tab is where I would like to write the formula. To simplify things a bit, the 'Budget' tab has various categories of income and spend (i.e. income, bonus, gas, food, house, etc.) by month for the year (i.e. Jan-20, Feb-20, etc.). The months have been formatted as text. Since there are multiple financial institutions which may have income/spend for the same category referenced on 'Budget' tab, I will need to SUM multiple SUMIFS functions, if possible.
A simplified version of the workbook is below:
'Budget' - contains formula which should add SUMIFS functions across all banking tabs
'Bank1' - contains income/spend for one financial institution (itemizes each transaction by date; the date is summarized as MMM-YY (i.e. Jan-20) as text)
Formula (written on 'Budget' tab): =SUMIFS('Bank1'!$Q$251:$Q$302,'Bank1'!$R$251:$R$302,$B7,'Bank1'!$S$251:$S$302,$L$4) where:
$Q$251:$Q$302 = sum range or $ amount for each income/expense line item: ('Bank1' tab)
$R$251:$R$302 = category of income/expense (i.e. Bonus, Gas, Food): ('Bank1' tab)
$S$251:$S$302 = MMM-YY (format = text), $B7 = "Bonus" ;and ('Bank1' tab)
$L$4 = "Mar-20" (both on 'Budget' tab, where formula is written)
Please help!