OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Cell value dependent on value of another.

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc
View previous topic :: View next topic  
Author Message
pooksahib
Newbie
Newbie


Joined: 13 Apr 2012
Posts: 2

PostPosted: Fri Apr 13, 2012 11:11 am    Post subject: Cell value dependent on value of another. Reply with quote

Hi. I've already made use of this forum to good effect just by searching but I'm stumped with this issue. The background: I'm making a sheet to calculate income tax for someone who's income swings either side of the Personal Allowance. If tax is payable, Dividend Tax Credit is given. If no tax payable, no Tax Credit. Still awake? Read on...

The cell for Tax Credit (B5) currently reads "=E1/10" where E1 is simply the total dividend. B5 needs to be 10% of that.

Only if the cell for Tax Payable (A5) is Zero do I need B5 to be Zero. Otherwise, it's the "10%" calculation I need.

So, is there a way to format B5 to read: "=E1/10 unless A5 is zero in which case this cell is zero also"?

Grateful thanks for any suggestions.
Back to top
View user's profile Send private message
range
General User
General User


Joined: 04 Jan 2012
Posts: 21

PostPosted: Fri Apr 13, 2012 11:29 am    Post subject: Reply with quote

In cell B5 enter the formula:

=IF(A5=0;0;E1/10)
Back to top
View user's profile Send private message
pooksahib
Newbie
Newbie


Joined: 13 Apr 2012
Posts: 2

PostPosted: Fri Apr 13, 2012 11:42 am    Post subject: Reply with quote

range, you are a star. Thank you so much.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group