Hey all
I'm sorry if this question has been asked before, but I'm trying to sort a mega spreadsheet to make something at work much easier and simplier
Basically every day, someone has to give me a number which I then add to the spread sheet.
If this number is '4' I would like the value to be saved elsewhere as 0
If its less then '4' I would like the amount its less by to be saved so -1 if its 3, -2 if its 2 etc
If the value is over '4' I would like it to say how much it is over. so a 1 if the value is 5, a 2 if the value is 6
And then I would like all of those values to be added together so I can see by how much we are over or under target.
I guess the easier way to explain it with a mock table
Value =4
[TABLE="width: 500"]
<tbody>[TR]
[TD]25/6/18
[/TD]
[TD]26/6/18
[/TD]
[TD]27/6/18
[/TD]
[TD]28/6/18
[/TD]
[TD]29/6/18
[/TD]
[TD]30/6/18
[/TD]
[TD]1/7/18
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD]3
[/TD]
[TD]4
[/TD]
[TD]1
[/TD]
[TD]6
[/TD]
[TD]2
[/TD]
[TD]1
[/TD]
[/TR]
[TR]
[TD]=0
[/TD]
[TD]=-1
[/TD]
[TD]=0
[/TD]
[TD]=-3
[/TD]
[TD]=2
[/TD]
[TD]=-2
[/TD]
[TD]=-3
[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 500"]
<tbody>[TR]
[TD]Total
[/TD]
[/TR]
[TR]
[TD]-7
[/TD]
[/TR]
</tbody>[/TABLE]
This will continue over many weeks, but I want the total value to stay at the top of the page, and adds up all the weeks.
I hope I've explained this well enough and someone will be able to help me out.
Thanks in advance
I'm sorry if this question has been asked before, but I'm trying to sort a mega spreadsheet to make something at work much easier and simplier
Basically every day, someone has to give me a number which I then add to the spread sheet.
If this number is '4' I would like the value to be saved elsewhere as 0
If its less then '4' I would like the amount its less by to be saved so -1 if its 3, -2 if its 2 etc
If the value is over '4' I would like it to say how much it is over. so a 1 if the value is 5, a 2 if the value is 6
And then I would like all of those values to be added together so I can see by how much we are over or under target.
I guess the easier way to explain it with a mock table
Value =4
[TABLE="width: 500"]
<tbody>[TR]
[TD]25/6/18
[/TD]
[TD]26/6/18
[/TD]
[TD]27/6/18
[/TD]
[TD]28/6/18
[/TD]
[TD]29/6/18
[/TD]
[TD]30/6/18
[/TD]
[TD]1/7/18
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD]3
[/TD]
[TD]4
[/TD]
[TD]1
[/TD]
[TD]6
[/TD]
[TD]2
[/TD]
[TD]1
[/TD]
[/TR]
[TR]
[TD]=0
[/TD]
[TD]=-1
[/TD]
[TD]=0
[/TD]
[TD]=-3
[/TD]
[TD]=2
[/TD]
[TD]=-2
[/TD]
[TD]=-3
[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 500"]
<tbody>[TR]
[TD]Total
[/TD]
[/TR]
[TR]
[TD]-7
[/TD]
[/TR]
</tbody>[/TABLE]
This will continue over many weeks, but I want the total value to stay at the top of the page, and adds up all the weeks.
I hope I've explained this well enough and someone will be able to help me out.
Thanks in advance