View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.misc,microsoft.public.excel
muddan madhu muddan madhu is offline
external usenet poster
 
Posts: 747
Default Mathematical puzzle (for all you Excel experts)

May be this one


=IF(A1=B1,ABS(A1)+B1,A1-ABS(B1))



On Apr 7, 5:27*am, "Ron Coderre"
wrote:
...and...another:

C1: =A1+IF(A10,B1,-B1)

--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"ship" wrote in message

...



Hi


I have a mathematical puzzle that I cant solve.


In the table below, the inputs are the values in columns "A" and "B
and the desired output is column "C".


* A * * * *B * * * C


*-3 * * * -3 * * * 0
*-3 * * * +3 * * *-6
*+3 * * * -3 * * * 0
*+3 * * * +3 * * *+6
* 0 * * * *0 * * * 0


What on earth is the formula in Microsoft Excel that creates "C"?


With thanks


Ship
Shiperton Henethe


Clue:
If you strip the sign off "A" and then add "A" and "B" together
and then apply the sign afterwards, you get the correct
answer. But how the heck do you do this in msExcel ?
And/or isnt there a better way of doing the mathematics ? (!)- Hide quoted text -


- Show quoted text -