Go Back   Tech Support Forum > Microsoft Support > Microsoft Office support

Join Tech Support Forum Today

Closed Thread
 
Thread Tools Search this Thread
 
Old 08-12-2009, 03:58 AM   #1
Registered Member
 
Join Date: Aug 2009
Posts: 2
OS: xp


MS Excel will not subtract?

Hi,

I have a Pc specific problem with any version of Office excel.
When I create a formula of =SUM(a1-a2) it will add them together rather than subtract??
If I change the formula to =(A1-A2) I get #VALUE!
If I use a formula using /,*,+ they work?
I just cannot perform a basic subtraction using excel, any ideas?

Liam

__________________
LiamDog is offline  
Old 08-12-2009, 10:53 AM   #2
Registered Member
 
Join Date: Aug 2009
Posts: 26
OS: Vista


Re: MS Excel will not subtract?

The proper syntax for the SUM command is SUM(number, number, number, ...)
in other words, use commas between operators. If you want to subtract, do it like this (add A1 and the negative value of A2):
=SUM(A1,-A2)

I don't see anything wrong with your formula =(A1-A2). But if the contents of any of the cells you are referencing in that formula can't be converted to a number, you'll get the #VALUE result.

Here are some other things to try
=(3-2)
=-2

What if you open a spreadsheet made by someone else that has subtraction formulas in it?

__________________
drewkeller is offline  
Old 08-13-2009, 12:14 AM   #3
Registered Member
 
Join Date: Aug 2009
Posts: 2
OS: xp


Re: MS Excel will not subtract?

Thanks for the reply.
I did resolve this yesterday but not in a manner I liked. I had to create a new user profile on the pc and excel behaved fine under the new profile?? So wether there is a registy problem on the previous problem I don't know but I did find it odd how a subtact formula was adding?
But again thanks for the reply.
__________________
LiamDog is offline  
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is on
Smilies are on
[IMG] code is on
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Post a Question





Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

RV & Travel Trailer Communities

Our RV & Travel Trailer sites encompasses virtually all types of Recreational Vehicles, from brand-specific to general RV communities.

» More about our RV Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities


All times are GMT -7. The time now is 12:24 PM.


Copyright 2001 - 2010, Tech Support Forum

Windows 7 - Windows XP - Windows Vista - Trojan Removal - Spyware Removal - Virus Removal - Networking - Security