JustOneQuestion
New Member
- Joined
- Jul 5, 2016
- Messages
- 19
I am trying to get excel to show what is left over 40. Is it possible? I do not want any negative numbers either. Here is an example:
[TABLE="width: 145"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD="align: right"][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]45.25
[/TD]
[TD="align: right"]5.25
[/TD]
[/TR]
[TR]
[TD="align: right"]59.25[/TD]
[TD="align: right"]19.25[/TD]
[/TR]
[TR]
[TD="align: right"]43.25[/TD]
[TD="align: right"]3.25[/TD]
[/TR]
[TR]
[TD="align: right"]29.75[/TD]
[TD="align: right"]-10.25[/TD]
[/TR]
[TR]
[TD="align: right"]30.5[/TD]
[TD="align: right"]-9.5[/TD]
[/TR]
[TR]
[TD="align: right"]21[/TD]
[TD="align: right"]-19
[/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
All I did was subtract 40 from column A. But I do not want the values in B if it is negative. If the value in A isn't over 40, I do not want anything in column B. I tried a countif formula, but that will either take the whole number, or only a 1. Neither of which helps me.
Any thoughts?
Thanks!
[TABLE="width: 145"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD="align: right"][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]45.25
[/TD]
[TD="align: right"]5.25
[/TD]
[/TR]
[TR]
[TD="align: right"]59.25[/TD]
[TD="align: right"]19.25[/TD]
[/TR]
[TR]
[TD="align: right"]43.25[/TD]
[TD="align: right"]3.25[/TD]
[/TR]
[TR]
[TD="align: right"]29.75[/TD]
[TD="align: right"]-10.25[/TD]
[/TR]
[TR]
[TD="align: right"]30.5[/TD]
[TD="align: right"]-9.5[/TD]
[/TR]
[TR]
[TD="align: right"]21[/TD]
[TD="align: right"]-19
[/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
All I did was subtract 40 from column A. But I do not want the values in B if it is negative. If the value in A isn't over 40, I do not want anything in column B. I tried a countif formula, but that will either take the whole number, or only a 1. Neither of which helps me.
Any thoughts?
Thanks!