Sumifs?

Pripri

New Member
Joined
Aug 18, 2019
Messages
24
Hi, I'm trying to create a formula that will give me a monthly total paid to a vendor from my check register. My data is displayed in Fiscal Year (FY) Check date, Vendor Name, Transaction Amount Period, Expense Category(Frog_Description) and Program name. My first challenge is with the last month on my FY. On any FY, my September month will be called period 12 and period 13. To find the total paid by a vendor on September, I will need to add any checks paid for the vendor in both periods (12 and 13). I also pay the same vendor through different programs, my formula needs to be specific by a combination of a specific vendor, a specific program and a specific expense category. Every month I'm adding the new checks cut for that month in the bottom of my excel (first tab), so ideally I wouldn't like to have the formula blocked $ to a specific cel
On my formula, I'm trying to do a Sumifs, but I'm not getting anywhere. I also tried Sumproduct.
This is the formula I created with zero return
=SUMIFS('Check Register'!$D:$D,'Check Register'!$A:$A,'Expenses Detail Formulas'!D$1,'Check Register'!$C:$C,'Expenses Detail Formulas'!$C11,'Check Register'!$E:$E,'Expenses Detail Formulas'!D$2,'Check Register'!$F:$F,'Expenses Detail Formulas'!$B11,'Check Register'!$G:$G,'Expenses Detail Formulas'!$A11)

I highlighted in a peach color the results I'm expecting. The first tab on my spreadsheet is the check register and the second one is where I would like to get my results. I need a better formula, or a correction to mine that will give me the total of 3,995 when looking at Vendor Harden & Associates Inc for Administration Program, Expense Cat. Purchased Services for the month of October which is period 1 in the FY 19. Please do not forget about the checks that will be either in period 12 or 13 but needs to be added into one. Thank you! I hope I'm not confusing anyone.

Book1
ABCDEFG
1FYCheck DateVendor NameTransaction AmountPeriodExpense CategoryProgram Name
2197/18/2019FIDUCIARYVEST LLC 12,500.00 10PURCHASED SERVICESAdministration
3197/18/2019FIDUCIARYVEST LLC 11,250.00 10PURCHASED SERVICESAdministration
41910/18/2018HARDEN & ASSOCIATES INC 3,995.00 1PURCHASED SERVICESAdministration
51912/13/2018HARDEN & ASSOCIATES INC 30,000.00 3PURCHASED SERVICESAdministration
61912/13/2018HARDEN & ASSOCIATES INC 30,000.00 3PURCHASED SERVICESAdministration
Check


Book1
ABCDEFGH
1 19 19 19 19 19
2 1 2 3 4 5
3Program NameFrog_DescriptionVendor Name10/31/201811/30/201812/31/20181/31/20192/28/2019
4AdministrationPURCHASED SERVICES AON RISK SERVICES INC OF FLORIDA 140,000 10,600
5AdministrationPURCHASED SERVICES ARC ADVISORS LLC 7,452 6,473 5,281 11,717 12,264
6AdministrationPURCHASED SERVICES CDW LLC 32,867 14,928 5,920
7AdministrationPURCHASED SERVICES CROWE HEALTHCARE RISK CONSULTING 80,000 120,000 41,200
8AdministrationPURCHASED SERVICES DRAFFIN & TUCKER LLP
9AdministrationPURCHASED SERVICES FIDUCIARYVEST LLC 11,250
10AdministrationPURCHASED SERVICES GOLDEN HOUR DATA SYSTEMS INC 26,702 30,522 73,596
11AdministrationPURCHASED SERVICES HARDEN & ASSOCIATES INC 3,995 60,000
12AdministrationPURCHASED SERVICES HIMFORMATICS LLC
13AdministrationPURCHASED SERVICES IMMEDIACY PUBLIC RELATIONS INC 4,500 4,500 4,500 4,500 4,500
14AdministrationPURCHASED SERVICES IRON MOUNTAIN INC 16,770 5,663
15AdministrationPURCHASED SERVICES LOGICALIS INC 15,238 15,238 30,477
Expenses Detail Formulas
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A3:B3Cell Valuecontains "FCP Division"textNO
C3Cell Valuecontains "FCP Division"textNO
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
It looks as if the problem is not with the formula.

The cells in column B of the formula sheet contain
Code:
"PURCHASED SERVICES       "
while those in column F of the check sheet contain
Code:
"PURCHASED SERVICES"
The extra spaces in the formula sheet mean that they are not a match. You could work around it by changing the criteria to TRIM(B11) but it would be better to have a clean source to begin with.
 
Upvote 0
It looks as if the problem is not with the formula.

The cells in column B of the formula sheet contain
Code:
"PURCHASED SERVICES       "
while those in column F of the check sheet contain
Code:
"PURCHASED SERVICES"
The extra spaces in the formula sheet mean that they are not a match. You could work around it by changing the criteria to TRIM(B11) but it would be better to have a clean source to begin with.
Unbelievable! Thank you so much! I used the trim formula to correct the problem.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top