Got something to say or just want fewer pesky ads? Join us... 😊

[Technology] A Question for Excel Whizzkids



darkwolf666

Well-known member
Nov 8, 2015
7,576
Sittingbourne, Kent
Can find my way round Excel for the most part, at an intermediate level, but am currently stumped by a dilemma.

I have a spreadsheet that has multiple worksheets on, each for a different financial account - what I would like to know is there a way to find a total value for all the accounts from each different spreadsheet combined, on a set date?

Just to further add confusion though, each account doesn't have an entry for every day - so I am guessing some sort of date range would need to be applied!

Any help greatfully received.
 




Stat Brother

Well-known member
NSC Patron
Jul 11, 2003
73,667
West west west Sussex
Can find my way round Excel for the most part, at an intermediate level, but am currently stumped by a dilemma.

I have a spreadsheet that has multiple worksheets on, each for a different financial account - what I would like to know is there a way to find a total value for all the accounts from each different spreadsheet combined, on a set date?

Just to further add confusion though, each account doesn't have an entry for every day - so I am guessing some sort of date range would need to be applied!

Any help greatfully received.

Just wait 3 months.
 


cloud

Well-known member
Jun 12, 2011
3,030
Here, there and everywhere
Create a blank tab (new / worksheet)
Copy and paste the row and column headers from one of the existing sheets into the new one.
In the first cell where you want a combined value, click in the cell and type =
now click the equivalent number from the first set of data
then add +
then click the next one you want to add.
When you're done just press enter. The total will now be in the cell and you can see the formula up at the top.
To copy this to the rest of the cells and rows, just copy and paste right and down.
This should work unless each tab is arranged differently, but you can still check each individual formula to make sure it is referencing the right cells.
 


darkwolf666

Well-known member
Nov 8, 2015
7,576
Sittingbourne, Kent
Create a blank tab (new / worksheet)
Copy and paste the row and column headers from one of the existing sheets into the new one.
In the first cell where you want a combined value, click in the cell and type =
now click the equivalent number from the first set of data
then add +
then click the next one you want to add.
When you're done just press enter. The total will now be in the cell and you can see the formula up at the top.
To copy this to the rest of the cells and rows, just copy and paste right and down.
This should work unless each tab is arranged differently, but you can still check each individual formula to make sure it is referencing the right cells.

Thanks for the reply, unfortunately that is what I am already doing, but that is cell/row specific and not, if I am understanding you correctly, date specific!

Thanks any way...
 






KZNSeagull

Well-known member
Nov 26, 2007
19,802
Wolsingham, County Durham
This will add up values based upon a date range on one sheet:

=SUMIFS(B2:B8,A2:A8,">="&E2,A2:A8,"<="&E3)

Where B2:B8 are the values to add up, A2:A8 is the list of dates and E2 and E3 are the start and end dates you want to find. It works, just tried it. Will now try to work out how to sum up multiple values across multiple sheets. I may be some time......

Make sure that the dates are in the same format by the way.

Edit: To keep things simple (because at some point you may want to change things and get utterly confused by some ridiculously convoluted formula in one cell), I would do the above for each sheet and then add up those totals seperately to get your total. Intermediate working sub totals and one total from those essentially.
 
Last edited:


darkwolf666

Well-known member
Nov 8, 2015
7,576
Sittingbourne, Kent
This will add up values based upon a date range on one sheet:

=SUMIFS(B2:B8,A2:A8,">="&E2,A2:A8,"<="&E3)

Where B2:B8 are the values to add up, A2:A8 is the list of dates and E2 and E3 are the start and end dates you want to find. It works, just tried it. Will now try to work out how to sum up multiple values across multiple sheets. I may be some time......

Make sure that the dates are in the same format by the way.

Edit: To keep things simple (because at some point you may want to change things and get utterly confused by some ridiculously convoluted formula in one cell), I would do the above for each sheet and then add up those totals seperately to get your total. Intermediate working sub totals and one total from those essentially.

Will give that a go, thanks.
 


KZNSeagull

Well-known member
Nov 26, 2007
19,802
Wolsingham, County Durham
Will give that a go, thanks.

No Prob. If you dont want intermediate totals then you can use SUM adding each SUMIFS from above for each sheet:

=SUM(SUMIFS(B2:B8,A2:A8,">="&E2,A2 :A8,"<="&E3)+SUMIFS(B2:B8,A2:A8,">="&E2,A2 :A8,"<="&E3)+SUMIFS(B2:B8,A2:A8,">="&E2,A2 :A8,"<="&E3)) etc. Obviously you need to make sure the sheet names and columns are correct for each SUMIFS.
 


Albion and Premier League latest from Sky Sports


Top
Link Here