Using criteria to sum data from another sheet.

SandieConfused

New Member
Joined
Apr 12, 2023
Messages
2
Office Version
  1. 365
Platform
  1. Windows
I have a workbook with
1. A data entry sheet - invoice date, income amount, debit amount,paid date and income category and debit category. Invoices are not always paid in the financial year they were received or issued.
2. An information sheet which includes: Variables Names: YearEnd and YearStart have been defined on an Information and bank balance at the start of the year
3. Various analysis sheets, for example total income and expenditure by month and income and expenditure by category - these are easy to do with Pivot tables.

I want to have a sheet which reflects the actual cashflow during the month. To do this I need to total the figures depending upon when the invoice was sent/received - something like the format below:

IncomeExpenditure
Brought Forward:
April
May
March
Carried Forward:

I've tried SUM and INDIRECT which will sum everything from either the debit and credit column. But using SUMIF and INDIRECT I keep getting 0 or an invalid formula.

Any ideas?
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Additional Informaion:
The function I have at present is:
=SUMIF(INDIRECT(C1&"!$E$4:$E$17"),"< INDIRECT(I1&"!c3")"',INDIRECT(C1&"!$H$4:$H$17"))
C1 contains the name of the data entry sheet and I1 is the information sheet containing the start and end financial year dates.
 
Upvote 0

Forum statistics

Threads
1,215,038
Messages
6,122,798
Members
449,095
Latest member
m_smith_solihull

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