PC Review


Reply
Thread Tools Rate Thread

Compare 2 data set

 
 
=?Utf-8?B?VG91Y2hUb25l?=
Guest
Posts: n/a
 
      27th Jun 2007
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
 
Reply With Quote
 
 
 
 
=?Utf-8?B?TWlrZSBI?=
Guest
Posts: n/a
 
      27th Jun 2007
Try this in C1 and drag down.

=IF(B1>A1,"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

 
Reply With Quote
 
David Biddulph
Guest
Posts: n/a
 
      27th Jun 2007
I assume there's a typo there in that B2 should presumably be B1? I guess
that what Mike intended was:
=IF(B1>A1,"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(A1>B1,"Higher",IF(A1<B1,"Lower","No Change"))
--
David Biddulph

"Mike H" <(E-Mail Removed)> wrote in message
news:470411E8-4096-4AEC-B26C-(E-Mail Removed)...
> Try this in C1 and drag down.
>
> =IF(B1>A1,"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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help using VBA to compare data in Excel columns, then manipulating data Sam Hill Microsoft Excel Programming 0 8th May 2006 05:55 PM
how to compare a list of data that is same as the main data sheet =?Utf-8?B?TnhhbQ==?= Microsoft Excel New Users 1 2nd Feb 2006 04:17 PM
Compare data from tables one has letters added to data msnews.microsoft.com Microsoft Access Queries 1 10th Nov 2004 11:58 PM
compare data from one column with another and compare result to yet another Matt Williamson Microsoft Excel Programming 1 25th Sep 2003 08:54 PM
compare data from one column with another and compare result to yet another Matt Williamson Microsoft Excel Worksheet Functions 1 25th Sep 2003 08:54 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:00 AM.