View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.misc
Jim Jim is offline
external usenet poster
 
Posts: 615
Default Variance between two cells only if...

Joe User,

Your answer did not yield the correct result, thanks for the attempt. Also,
I find your tone condescending. If you feel my questions €śelementary€ť I
would encourage you €śnot€ť to respond to my questions in the future. This is
board is a help board not a forum for those that feel they have a better
grasp of Excel to demean others that do not.

Jim
****************

"Joe User" wrote:

"Jim" wrote:
I would like to calculate the variance between A
and B, but only if B is double the number in A.


If this is related to your thread "Variance calculations", refer to answers
there, and please avoid submitting redundant postings. The bifurcation leads
to confusion and unnecessary duplication of effort.

But to answer this question:

=if(B1=2*A1, B1-A1, "")

PS: I suggest that you acquire a basic understanding of Excel fundamentals.
This question and your last one related to MAX are rudimentary. We cannot
possibly answer all of your questions as you learn Excel step by step,
especially if you demonstrate disdain for self-learning. One source of the
basics might be "Excel for Dummies".


----- original message -----

"Jim" wrote:
I would like to calculate the variance between A and B, but only if B is
double the number in A.

Example: the value in A1 is 500
the value in B1 is 1000
the variance I would like to show in C1 is 500

however:
if A1 was 500
and B1 is 750
then C1 would be "blank"

Thanks for the help. I appreciate the time.

Jim