Solved

excel 2010 - if/and formula

Posted on 2013-05-13
1
305 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 51

Accepted Solution

by:
Rgonzo1971 earned 300 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
This article describes a serious pitfall that can happen when deleting shapes using VBA.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

690 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