[Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register]

Author Message
pooksahib
Newbie

Joined: 13 Apr 2012
Posts: 2

 Posted: Fri Apr 13, 2012 11:11 am    Post subject: Cell value dependent on value of another. 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.
range
General User

Joined: 04 Jan 2012
Posts: 21

 Posted: Fri Apr 13, 2012 11:29 am    Post subject: In cell B5 enter the formula: =IF(A5=0;0;E1/10)
pooksahib
Newbie

Joined: 13 Apr 2012
Posts: 2

 Posted: Fri Apr 13, 2012 11:42 am    Post subject: range, you are a star. Thank you so much.
 Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 Year Oldest FirstNewest First
 All times are GMT - 8 Hours Page 1 of 1

 Jump to: Select a forum OpenOffice.org Forums----------------Setup and TroubleshootingOpenOffice.org WriterOpenOffice.org CalcOpenOffice.org ImpressOpenOffice.org DrawOpenOffice.org MathOpenOffice.org BaseOpenOffice.org Macros and APIOpenOffice.org Code Snippets Community Forums----------------General DiscussionSite Feedback
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