Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Michael
 
Posts: n/a
Default Compare two Numbers - Determine Decrease, Increase, Same

Hi Folks - I have this data:

StudentID Pre-test Score Post-test Score
1 100 110
2 90 85
3 95 95

I'd like to create a formula that compares the two numbers, then determines
whether the post-test score was an increase, decrease or stayed the same.
Any ideas? Thanks.

Michael



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SteveG
 
Posts: n/a
Default Compare two Numbers - Determine Decrease, Increase, Same


Assuming your range is A1:C4 then in D2

=IF(C2B2,"Increase",IF(C2<B2,"Decrease","Same"))


HTH

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=506820

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Coderre
 
Posts: n/a
Default Compare two Numbers - Determine Decrease, Increase, Same

Try something like this:

Prev score in B2
New score in C2
D2: =CHOOSE(SIGN(C2-B2)+2,"Decrease","Same","Increase")

Copy D2 down as far as you need


Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"Michael" wrote:

Hi Folks - I have this data:

StudentID Pre-test Score Post-test Score
1 100 110
2 90 85
3 95 95

I'd like to create a formula that compares the two numbers, then determines
whether the post-test score was an increase, decrease or stayed the same.
Any ideas? Thanks.

Michael




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ashish Mathur
 
Posts: n/a
Default Compare two Numbers - Determine Decrease, Increase, Same

HI,

You may try the following trick to depict up and down arrows instead of text

=if(C1B1,Alt+24,Alt+25)

The Alt+24,Alt+25 is not typed. Instead hold down the Alt key (num lock key
is turned on) and type 24 on the numeric keypad

Regards,

Ashish


"Michael" wrote:

Hi Folks - I have this data:

StudentID Pre-test Score Post-test Score
1 100 110
2 90 85
3 95 95

I'd like to create a formula that compares the two numbers, then determines
whether the post-test score was an increase, decrease or stayed the same.
Any ideas? Thanks.

Michael




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Seed numbers for random number generation, uniform distribution darebo Excel Discussion (Misc queries) 3 April 21st 23 09:02 PM
Can you compare similar spreadsheets to determine a difference? DLopez79 Excel Discussion (Misc queries) 1 January 9th 06 09:36 PM
Help! How do you get excel to find the x(changes daily, marked in a cell from another formula) highest numbers in a group of numbers and sum them up? C-Man23 Excel Worksheet Functions 1 January 9th 06 01:23 PM
macro to compare multiple cells to determine value macrodummy Excel Worksheet Functions 2 October 9th 05 01:21 PM
How do I determine which numbers in a list equal a given sum? infraterra Excel Discussion (Misc queries) 11 October 7th 05 11:39 PM


All times are GMT +1. The time now is 03:45 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"