Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Compare 2 data set

Please help to provide a formula when compare A to B with results in col C.

Data example


A B Results C
1 2 Lower
2 2 No Change
3 2 Higher

--
TouchTone Support
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Compare 2 data set

Try this in C1 and drag down.

=IF(B1A1,"Higher",IF(B2<A1,"Lower","No Change"))

Mike

"TouchTone" wrote:

Please help to provide a formula when compare A to B with results in col C.

Data example


A B Results C
1 2 Lower
2 2 No Change
3 2 Higher

--
TouchTone Support

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Compare 2 data set

Thanks, it work.
--
TouchTone Support


"Mike H" wrote:

Try this in C1 and drag down.

=IF(B1A1,"Higher",IF(B2<A1,"Lower","No Change"))

Mike

"TouchTone" wrote:

Please help to provide a formula when compare A to B with results in col C.

Data example


A B Results C
1 2 Lower
2 2 No Change
3 2 Higher

--
TouchTone Support

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Compare 2 data set

I assume there's a typo there in that B2 should presumably be B1? I guess
that what Mike intended was:
=IF(B1A1,"Higher",IF(B1<A1,"Lower","No Change"))

But then the OP wanted the answers the other way round (A higher than B, not
B higher than A), so:
=IF(A1B1,"Higher",IF(A1<B1,"Lower","No Change"))
--
David Biddulph

"Mike H" wrote in message
...
Try this in C1 and drag down.

=IF(B1A1,"Higher",IF(B2<A1,"Lower","No Change"))


"TouchTone" wrote:

Please help to provide a formula when compare A to B with results in col
C.

Data example


A B Results C
1 2 Lower
2 2 No Change
3 2 Higher



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
compare data Gingit Excel Discussion (Misc queries) 0 May 19th 07 12:08 AM
Compare data and automatically enter data. Tesa M. Excel Discussion (Misc queries) 1 September 13th 06 07:08 PM
how to compare a list of data that is same as the main data sheet Nxam New Users to Excel 1 February 2nd 06 04:17 PM
Compare Data BFiedler Excel Discussion (Misc queries) 1 September 21st 05 05:40 AM
COMPARE DATA FOR CHANGES SBCPA Excel Worksheet Functions 1 August 24th 05 02:14 PM


All times are GMT +1. The time now is 07:45 AM.

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"