a question of differences

  • Thread starter Thread starter AmyTaylor
  • Start date Start date
A

AmyTaylor

I have a very basic function that looks at 2 sets of numbers and
calculates the difference between the first and second

eg: a1 = 5, b1 = 3, therefore c1 = -2
eg: a1 = 10, b2 = 15, c1 = 5

The problem comes with 2 negative numbers,
eg: a1 = -5, b1 = -15. I want c1 to equal -10
eg: a1 = 4, b1 = -1, I would want c1 to equal -5

Can someone help me with the formulae ?!

thanks

Amy xx
 
AmyTaylor said:
I have a very basic function that looks at 2 sets of numbers and
calculates the difference between the first and second

eg: a1 = 5, b1 = 3, therefore c1 = -2
eg: a1 = 10, b2 = 15, c1 = 5

The problem comes with 2 negative numbers,
eg: a1 = -5, b1 = -15. I want c1 to equal -10
eg: a1 = 4, b1 = -1, I would want c1 to equal -5

Can someone help me with the formulae ?!

thanks

Amy xx

Hi Amy

I've got excel 2000 and the formula =B1-A1 returns the values you are
expecting

Paul
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top