Front Office Football Central  

Go Back   Front Office Football Central > Archives > FOFC Archive
Register FAQ Members List Calendar Mark Forums Read Statistics

Reply
 
Thread Tools
Old 09-02-2005, 07:50 PM   #1
cthomer5000
Strategy Moderator
 
Join Date: Nov 2001
Location: North Carolina
question for Excel experts

Maybe this is easier than it seems to me, but I cannot figure out how to do this:

I've got two columns of numbers, both containing positive and negative numbers.

What's the easiest way for me to calculate the difference between the two numbers?

For example, A and B would be my numbers, C would be the result. Is this possible?

A B C
1 -2 3
24 5 19
__________________
Quote:
Originally Posted by albionmoonlight View Post
This is like watching a car wreck. But one where, every so often, someone walks over and punches the driver in the face as he struggles to free himself from the wreckage.

cthomer5000 is offline   Reply With Quote
Old 09-02-2005, 07:52 PM   #2
cthomer5000
Strategy Moderator
 
Join Date: Nov 2001
Location: North Carolina
the more i think this through, i guess i'm looking to solve for C, right?

A + C = B

I'm shaking off about 8 years of mental rust on my math skills....

edit, well this would work to a degree.... i could just use the absolute value of C when done to get my intended results.
__________________
Quote:
Originally Posted by albionmoonlight View Post
This is like watching a car wreck. But one where, every so often, someone walks over and punches the driver in the face as he struggles to free himself from the wreckage.

Last edited by cthomer5000 : 09-02-2005 at 07:54 PM.
cthomer5000 is offline   Reply With Quote
Old 09-02-2005, 07:56 PM   #3
Scarecrow
College Prospect
 
Join Date: Oct 2000
Location: The Flatlands of America
+ABS(B1-A1)
__________________
Post Count: Eleventy Billion - so deal with it!
Scarecrow is offline   Reply With Quote
Old 09-02-2005, 07:59 PM   #4
cthomer5000
Strategy Moderator
 
Join Date: Nov 2001
Location: North Carolina
thank you.
__________________
Quote:
Originally Posted by albionmoonlight View Post
This is like watching a car wreck. But one where, every so often, someone walks over and punches the driver in the face as he struggles to free himself from the wreckage.
cthomer5000 is offline   Reply With Quote
Old 09-02-2005, 08:02 PM   #5
terpkristin
Grizzled Veteran
 
Join Date: May 2003
Location: Ashburn, VA
in C1, put =A1-B1
Then copy the formula for the rest of the cells...

/tk
terpkristin is offline   Reply With Quote
Old 09-02-2005, 08:04 PM   #6
terpkristin
Grizzled Veteran
 
Join Date: May 2003
Location: Ashburn, VA
Dola,
What I typed will give you the real difference (first column - second column)
What Scarecrow said gives absolute value of difference.

/tk
terpkristin is offline   Reply With Quote
Old 09-02-2005, 09:39 PM   #7
Logan
Head Coach
 
Join Date: Oct 2000
Location: NYC
You're not really showing people the value of a Rutgers education CT.

Just kidding .

12 PM tomorrow!!!
Logan is offline   Reply With Quote
Old 09-02-2005, 09:50 PM   #8
cthomer5000
Strategy Moderator
 
Join Date: Nov 2001
Location: North Carolina
Quote:
Originally Posted by Logan
You're not really showing people the value of a Rutgers education CT.

Just kidding .

12 PM tomorrow!!!

1-0 Baby.... 1-0 after tomorrow.
__________________
Quote:
Originally Posted by albionmoonlight View Post
This is like watching a car wreck. But one where, every so often, someone walks over and punches the driver in the face as he struggles to free himself from the wreckage.
cthomer5000 is offline   Reply With Quote
Old 09-02-2005, 09:51 PM   #9
Raven
College Prospect
 
Join Date: Oct 2000
Location: Baltimore, MD
TK and Scarecrow are actually both wrong. A combination of the two is correct though.

Abs(A-B) is the correct equation
Raven is offline   Reply With Quote
Old 09-02-2005, 09:53 PM   #10
gottimd
Dearly Missed
(9/25/77-12/23/08)
 
Join Date: Nov 2003
Location: DC Suburbs
He never said he was trying get the absolute value so how could they be wrong?
__________________
NAFL New Orleans Saints GM/Co-Commish
MP Career Record: 114-85
NAFL Super Bowl XI Champs
In memory of Gavin Anthony: 7/22/08-7/26/08
gottimd is offline   Reply With Quote
Old 09-02-2005, 09:54 PM   #11
terpkristin
Grizzled Veteran
 
Join Date: May 2003
Location: Ashburn, VA
Mine is the straight subtraction. I took him literally when he said "difference."

=A1-B1

I stand by what I said.

/tk
terpkristin is offline   Reply With Quote
Old 09-02-2005, 09:55 PM   #12
Raven
College Prospect
 
Join Date: Oct 2000
Location: Baltimore, MD
Quote:
Originally Posted by gottimd
He never said he was trying get the absolute value so how could they be wrong?

He did say these were answers he was looking for.

A B C
1 -2 3
24 5 19
Raven is offline   Reply With Quote
Old 09-02-2005, 09:55 PM   #13
FrogMan
Hattrick Moderator
 
Join Date: Jan 2003
Location: Pintendre, Qc, Canada
Quote:
Originally Posted by Raven
TK and Scarecrow are actually both wrong. A combination of the two is correct though.

Abs(A-B) is the correct equation

and in what is yours different from what Scarecrow wrote?

FM
__________________
A Black Belt is a White Belt who refused to give up...
follow my story: The real life story of a running frog...
FrogMan is offline   Reply With Quote
Old 09-02-2005, 09:56 PM   #14
Scarecrow
College Prospect
 
Join Date: Oct 2000
Location: The Flatlands of America
Quote:
Originally Posted by Raven
TK and Scarecrow are actually both wrong. A combination of the two is correct though.

Abs(A-B) is the correct equation

ABS(A-B) = ABS(B-A)
__________________
Post Count: Eleventy Billion - so deal with it!
Scarecrow is offline   Reply With Quote
Old 09-02-2005, 09:59 PM   #15
Raven
College Prospect
 
Join Date: Oct 2000
Location: Baltimore, MD
Quote:
Originally Posted by FrogMan
and in what is yours different from what Scarecrow wrote?

FM


Actually, you are right. Scarecrow's and mine produce the same numbers.


TK is still wrong though.
Raven is offline   Reply With Quote
Old 09-02-2005, 10:01 PM   #16
gottimd
Dearly Missed
(9/25/77-12/23/08)
 
Join Date: Nov 2003
Location: DC Suburbs
Quote:
Originally Posted by Raven
He did say these were answers he was looking for.

A B C
1 -2 3
24 5 19

Yes, but why do you assume that is absolute value?

1- -2 =3
24-5=19

If he would have put

-2 0 2
then I could see he wanted absolute value. But what he has pointed out is merely basic subtraction rules.
__________________
NAFL New Orleans Saints GM/Co-Commish
MP Career Record: 114-85
NAFL Super Bowl XI Champs
In memory of Gavin Anthony: 7/22/08-7/26/08
gottimd is offline   Reply With Quote
Old 09-02-2005, 10:02 PM   #17
Scarecrow
College Prospect
 
Join Date: Oct 2000
Location: The Flatlands of America
Quote:
Originally Posted by terpkristin
Mine is the straight subtraction. I took him literally when he said "difference."

=A1-B1

I stand by what I said.

/tk

The problem with your equation is that if the number in column A is 1 and the number in column B is 4, yours will give a result of -3; the difference is 3.
__________________
Post Count: Eleventy Billion - so deal with it!
Scarecrow is offline   Reply With Quote
Old 09-02-2005, 10:04 PM   #18
Raven
College Prospect
 
Join Date: Oct 2000
Location: Baltimore, MD
It's like distance in 1-D. The difference is the length between two points.
Raven is offline   Reply With Quote
Old 09-02-2005, 10:04 PM   #19
gottimd
Dearly Missed
(9/25/77-12/23/08)
 
Join Date: Nov 2003
Location: DC Suburbs
Quote:
Originally Posted by Scarecrow
The problem with your equation is that if the number in column A is 1 and the number in column B is 4, yours will give a result of -3; the difference is 3.
How do you know that, unless he added an additional column/row that had a negative result as a positive number.

I think everyone is right, its just some are using different assumptions.
__________________
NAFL New Orleans Saints GM/Co-Commish
MP Career Record: 114-85
NAFL Super Bowl XI Champs
In memory of Gavin Anthony: 7/22/08-7/26/08
gottimd is offline   Reply With Quote
Old 09-02-2005, 10:07 PM   #20
gottimd
Dearly Missed
(9/25/77-12/23/08)
 
Join Date: Nov 2003
Location: DC Suburbs
What's the easiest way for me to calculate the difference between the two numbers?

Subtract the two like Tk said

What's the easiest way for me to calculate the difference between the two numbers and have the result always be a positive integer?

The abs formula's
__________________
NAFL New Orleans Saints GM/Co-Commish
MP Career Record: 114-85
NAFL Super Bowl XI Champs
In memory of Gavin Anthony: 7/22/08-7/26/08
gottimd is offline   Reply With Quote
Old 09-02-2005, 10:13 PM   #21
FrogMan
Hattrick Moderator
 
Join Date: Jan 2003
Location: Pintendre, Qc, Canada
as per dictionary.com:

Quote:
dif·fer·ence ( P ) Pronunciation Key (dfr-ns, dfrns)
n.
  1. The quality or condition of being unlike or dissimilar.
    1. An instance of disparity or unlikeness.
    2. A degree or amount by which things differ.
    3. A specific point or element that distinguishes one thing from another.
  2. A noticeable change or effect: Exercise has made a difference in her health.
    1. A disagreement or controversy.
    2. A cause of a disagreement or controversy.
  3. Discrimination in taste or choice; distinction.
  4. Mathematics.
    1. The amount by which one quantity is greater or less than another.
    2. The amount that remains after one quantity is subtracted from another.
  5. Archaic. A distinct mark or peculiarity.

So going purely on semantics, both scarecrow (part a of above definition, point 6) and tk (part b of above definition, point 6) were right. End of discussion

FM
__________________
A Black Belt is a White Belt who refused to give up...
follow my story: The real life story of a running frog...
FrogMan is offline   Reply With Quote
Old 09-02-2005, 10:18 PM   #22
finkenst
College Benchwarmer
 
Join Date: Jul 2003
Location: usually sunny SoCal
Quote:
Originally Posted by Scarecrow
The problem with your equation is that if the number in column A is 1 and the number in column B is 4, yours will give a result of -3; the difference is 3.

you are not correct.

The mathematical definition of difference is c=(a-b). C is the difference.

http://en.wikipedia.org/wiki/Subtraction

TK hit it spot on...


math geeks stick together.


--tim
__________________
Quote:
Originally Posted by mijb#19
Switzerland is independant and will try to do so until the apacolypse is upon us.
finkenst is offline   Reply With Quote
Old 09-03-2005, 08:05 AM   #23
Logan
Head Coach
 
Join Date: Oct 2000
Location: NYC
Can we divert this thread into a discussion of Rutgers football already?
Logan is offline   Reply With Quote
Old 09-03-2005, 08:25 AM   #24
cthomer5000
Strategy Moderator
 
Join Date: Nov 2001
Location: North Carolina
Somehow an innocent question turned into a math geek gang war.
__________________
Quote:
Originally Posted by albionmoonlight View Post
This is like watching a car wreck. But one where, every so often, someone walks over and punches the driver in the face as he struggles to free himself from the wreckage.
cthomer5000 is offline   Reply With Quote
Old 09-03-2005, 08:45 AM   #25
terpkristin
Grizzled Veteran
 
Join Date: May 2003
Location: Ashburn, VA
Well, which is it you're looking for, CT? An absolute value or a simple subtraction problem?



As I said before, I took difference to mean "pure subtraction" (as Tim noted), so I'm still standing by what I said...it's definitely right from an arithmetic point of view.

/tk, one of the resident math/physics geeks
terpkristin is offline   Reply With Quote
Old 09-03-2005, 09:20 AM   #26
cthomer5000
Strategy Moderator
 
Join Date: Nov 2001
Location: North Carolina
i was looking for the absolute value of the difference between the two numbers... so the first equation posted did it for me.
__________________
Quote:
Originally Posted by albionmoonlight View Post
This is like watching a car wreck. But one where, every so often, someone walks over and punches the driver in the face as he struggles to free himself from the wreckage.
cthomer5000 is offline   Reply With Quote
Old 09-03-2005, 09:47 AM   #27
Passacaglia
Coordinator
 
Join Date: Oct 2000
Location: Big Ten Country
I'm as much of a math geek as the next guy, but I think the deal is that pretty much everyone else assumed cthomer knew how to subtract two numbers in excel, and therefore assumed he was talking about absolute value.
Passacaglia is offline   Reply With Quote
Old 09-03-2005, 10:55 AM   #28
QuikSand
lolzcat
 
Join Date: Oct 2000
Location: Annapolis, Md
Quote:
Originally Posted by Passacaglia
I'm as much of a math geek as the next guy, but I think the deal is that pretty much everyone else assumed cthomer knew how to subtract two numbers in excel, and therefore assumed he was talking about absolute value.

Hey, no fair using common sense in a math debate! We like dictionary definitions better, not ones that actually make the situation sensible.
QuikSand is offline   Reply With Quote
Old 09-03-2005, 10:58 AM   #29
terpkristin
Grizzled Veteran
 
Join Date: May 2003
Location: Ashburn, VA
And, for the record, my old roommate didn't know how to subtract using Excel. Granted, he wasn't the brightest crayon in the box, but it still struck me as crazy that he didn't know how to use the most SIMPLE functions/features in Excel.

/tk
terpkristin is offline   Reply With Quote
Old 09-03-2005, 11:00 AM   #30
cthomer5000
Strategy Moderator
 
Join Date: Nov 2001
Location: North Carolina
Well, I now know you assumed I was a moron, and I will forever hold it against you.
__________________
Quote:
Originally Posted by albionmoonlight View Post
This is like watching a car wreck. But one where, every so often, someone walks over and punches the driver in the face as he struggles to free himself from the wreckage.
cthomer5000 is offline   Reply With Quote
Old 09-03-2005, 11:05 AM   #31
terpkristin
Grizzled Veteran
 
Join Date: May 2003
Location: Ashburn, VA
Awww, CT, I didn't mean it like that.
I just meant to say that I don't assume ANYTHING anymore with regards to Excel, so if someone asks what might seem like a basic question, I don't necessarily assume that it's not a basic question.



/tk
terpkristin is offline   Reply With Quote
Old 09-03-2005, 12:47 PM   #32
finkenst
College Benchwarmer
 
Join Date: Jul 2003
Location: usually sunny SoCal
Quote:
Originally Posted by cthomer5000
Somehow an innocent question turned into a math geek gang war.

After reading the katrina thread, this brought a smile to my face. Thank you, cthomer5000

Quote:
Originally Posted by cthomer5000
Well, I now know you assumed I was a moron, and I will forever hold it against you.

I only looked in this thread because I wanted to see what elegant solution FM was going to come up with.
__________________
Quote:
Originally Posted by mijb#19
Switzerland is independant and will try to do so until the apacolypse is upon us.
finkenst is offline   Reply With Quote
Old 09-03-2005, 01:21 PM   #33
FrogMan
Hattrick Moderator
 
Join Date: Jan 2003
Location: Pintendre, Qc, Canada
Quote:
Originally Posted by finkenst
I only looked in this thread because I wanted to see what elegant solution FM was going to come up with.

and I'm sure you feel let down right about now

FM
__________________
A Black Belt is a White Belt who refused to give up...
follow my story: The real life story of a running frog...
FrogMan is offline   Reply With Quote
Old 09-03-2005, 01:38 PM   #34
finkenst
College Benchwarmer
 
Join Date: Jul 2003
Location: usually sunny SoCal
Quote:
Originally Posted by FrogMan
and I'm sure you feel let down right about now

FM

just a little, yeah...

but then the question was pretty straightforward.
__________________
Quote:
Originally Posted by mijb#19
Switzerland is independant and will try to do so until the apacolypse is upon us.
finkenst is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Forum Jump


All times are GMT -5. The time now is 02:28 AM.



Powered by vBulletin Version 3.6.0
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.