[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

excel 2010 - if/and formula

Posted on 2013-05-13
1
Medium Priority
?
319 Views
Last Modified: 2013-05-14
hi experts, please assist with the following formula

this formula to be shown in cell ref "s14"

= if q14 and r14 = either 0 (zero) or nothing, show nothing, otherwise if q14 has a value then roundup the value in p14 by the value in q14, or if r14 has a value then rounddown the value in p14 by the value in r14
0
Comment
Question by:Frank .S
1 Comment
 
LVL 54

Accepted Solution

by:
Rgonzo1971 earned 1200 total points
ID: 39163718
Hi,

Please try

=IF(Q14,CEILING(P14,Q14),IF(R14,FLOOR(P14,R14),""))

You haven't mentioned the possibility of both Q14 and R14 having values

Regards
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question