Please point me in the right direction.

Nygie

Board Regular
Joined
Apr 15, 2015
Messages
50
Hi everyone.

I have a simple table that has expenses in.... Date, Description, amount and ExpenseType.
On a separate tab I have a summary table to give a total of each expense type using the Sumif function.

Sometimes we get data that is out of the range we are working on and then we split it out and do a summary for the split data. What I am looking to do is formulate the summary table (possibly need to be done with VBA, not sure) so that it only totals the visible records in the expenses table, so that we can simply choose that data range we are using and the summary reflect this.

Another possible way would be to have two date ranges on the summary tab and use these as comparative data criteria.
I'm not really sure the best way to start looking at this.

I'm kinda thinking whilst I type and another way would be to have the main data table, then a second data table that pulls records through based on date criteria, (although I have had issues with table size being either too big or too small for the data) then summarise the second table.

Sorry for waffling.
Any pointers would be appreciated.
Thanks
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Nygie,

It would help if we could see your actual raw data workbook/worksheets. And, can we see what the results (manually formatted by you) should look like?

You can post your workbook/worksheets to the following free site (sensitive data changed), mark the workbook for sharing, and, provide us with a link to your workbook:

https://dropbox.com
 
Upvote 0
Nygie,

It would help if we could see your actual raw data workbook/worksheets. And, can we see what the results (manually formatted by you) should look like?

You can post your workbook/worksheets to the following free site (sensitive data changed), mark the workbook for sharing, and, provide us with a link to your workbook:

https://dropbox.com

Something went wrong with the Dropbox install but I have the Onedrive link..... https://1drv.ms/x/s!AivYfagw9jkqjG04DprCiiRx3C3q
Thanks.
 
Upvote 0
Nygie,

Thanks for the new workbook.

I do not understand what you are trying to do.

Maybe someone else on MrExcel will be able to help you.
 
Upvote 0
Simply put, when I restrict the data table by certain dates, I would like the summary table to reflect the total, only what is on display on the data table.
 
Upvote 0
I went with the start date and end date cells and used the sumifs function. Would have been nice to filter the data itself and the summary update automatically as sometimes the data will need printing along with the summary. Not a big job but every little helps.
 
Upvote 0

Forum statistics

Threads
1,214,968
Messages
6,122,509
Members
449,089
Latest member
RandomExceller01

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