Jump to content

Recommended Posts

Posted

Hi All

 

Im after a massive favour. I need to create a spreadsheet with a running total but only to today's date. Please see the attachment. All the instructions are in there.

 

Thanks

 

Tim

Test.zip

Posted

Yay! works now.. Stoopid IE 8

 

I am uninstalling that peice of crap right now! only lasted 3hrs and amount of problems unbelivable :( bloody M$

 

Works with FF

 

James.

Posted (edited)

Updated: File Attachment

 

Hopefully this one isnt corrupt!

 

EDIT: I cant upload a stable version. They are all corrupt when they are uploaded.

 

Ok I have uploaded a screen shot, hope it makes it a bit more clear

 

Thanks

Excel Sheet.zip

Excel Sceen shot.JPG

Edited by timbo343
Posted
I need to create a spreadsheet with a running total but only to today's date.

 

You can do this with an IF formula in the columns to the right of the numbers you're typing in. If the given date is less than or equal to the current date (given by NOW()) then result is the value in the cell (or the negative of it, if you're looking at the "out" value), otherwise 0. I.e in F9 put:

 

=IF(A9

 

And if F10 put:

 

=IF(A10

 

Make sure you start off with the correct total - in F6 put:

 

=C6

 

And in C4, calculate your total:

 

=SUM(F6:F52)

 

Adjust the formula for columns G and H. Hide them afterwards if you want.

 

--

David Hicks

  • Thanks 2
Posted (edited)

As for actual problem, there are two possible solutions. You could enter the out figure with a minus then you would just do a simple SUM to get to the running total.

 

Alternatively, you could SUMIF so that the value in a particular column is only added to the running total if the word out appears in column B. As an example put the following in cell C4.

 

=SUMIF(B5:B1000,"=IN",C5:C1000)-SUMIF(B5:B1000,"=OUT",C5:C1000)

Edited by m2d2
  • Thanks 1
Posted
You can do this with an IF formula in the columns to the right of the numbers you're typing in. If the given date is less than or equal to the current date (given by NOW()) then result is the value in the cell (or the negative of it, if you're looking at the "out" value), otherwise 0. I.e in F9 put:

 

=IF(A9

 

And if F10 put:

 

=IF(A10

 

Make sure you start off with the correct total - in F6 put:

 

=C6

 

And in C4, calculate your total:

 

=SUM(F6:F52)

 

Adjust the formula for columns G and H. Hide them afterwards if you want.

 

--

David Hicks

 

 

THANKS!!!!!

Posted

@dhicks

I am sorry but using another column is cheating;).

 

I wanted to do the entire formula in one cell but I can't get MATCH() to return correct offset from A5 :(. I wanted to use this as upper bound of the range of each SUM().

Posted
I am sorry but using another column is cheating

 

Hmm! It's the sort of thing where you wish Excel's formula language was more capable and could do something like map(array, function).

 

--

David Hicks

Posted
Its not a solution to the excel problem just a comment that I have had this problem when downloading zip files etc from edugeek (other sites seem fine). Downloads OK but can't open it as it says it is corrupt?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...