Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 465
Default Comparing two columns , and giving comparison results in a third.


Hi All

I have small request for assistance.

In Column A , I have a row of numbers. In column C I have a row of
numbers too , with a formula underlying each.

I need , in column D , for the numbers in A and C to be compared and a
plus sign to be placed in the cells where C is bigger than A , a minus
where C is smaller than A , and an equals sign where C is the same as A.



Can someone help on this , please? Grateful for any assistance.



Best Wishes
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Comparing two columns , and giving comparison results in a third.

=IF(C2A2,"+",IF(A2C2,"-","="))
--
David Biddulph

Colin Hayes wrote:
Hi All

I have small request for assistance.

In Column A , I have a row of numbers. In column C I have a row of
numbers too , with a formula underlying each.

I need , in column D , for the numbers in A and C to be compared and a
plus sign to be placed in the cells where C is bigger than A , a minus
where C is smaller than A , and an equals sign where C is the same as
A.
Can someone help on this , please? Grateful for any assistance.




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 28
Default Comparing two columns , and giving comparison results in a third.

=IF(C3A3,"+",IF(C3<A3,"-","="))

Regards
--
Advice to Posters.
Check your post for replies or request for more information.
Consider providing some feed back to the response you have recieved.
Kindest Regards Mike B


"Colin Hayes" wrote:


Hi All

I have small request for assistance.

In Column A , I have a row of numbers. In column C I have a row of
numbers too , with a formula underlying each.

I need , in column D , for the numbers in A and C to be compared and a
plus sign to be placed in the cells where C is bigger than A , a minus
where C is smaller than A , and an equals sign where C is the same as A.



Can someone help on this , please? Grateful for any assistance.



Best Wishes

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Comparing two columns , and giving comparison results in a third.

Try this:

=IF(C1A1,"+",IF(C1<A1,"-","="))

Copy down as needed.

--
Biff
Microsoft Excel MVP


"Colin Hayes" wrote in message
...

Hi All

I have small request for assistance.

In Column A , I have a row of numbers. In column C I have a row of numbers
too , with a formula underlying each.

I need , in column D , for the numbers in A and C to be compared and a
plus sign to be placed in the cells where C is bigger than A , a minus
where C is smaller than A , and an equals sign where C is the same as A.



Can someone help on this , please? Grateful for any assistance.



Best Wishes



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 28
Default Comparing two columns , and giving comparison results in a thi

Of course, it states C3 and A3 but that is because thats where I proved the
code.

Put

=IF(C1A1,"+",IF(C1<A1,"-","="))

In Cell D1 and copy (Drag) down as many rows as you need.

Regards
--
Advice to Posters.
Check your post for replies or request for more information.
Consider providing some feed back to the response you have recieved.
Kindest Regards Mike B


"MikeJohnB" wrote:

=IF(C3A3,"+",IF(C3<A3,"-","="))

Regards
--
Advice to Posters.
Check your post for replies or request for more information.
Consider providing some feed back to the response you have recieved.
Kindest Regards Mike B


"Colin Hayes" wrote:


Hi All

I have small request for assistance.

In Column A , I have a row of numbers. In column C I have a row of
numbers too , with a formula underlying each.

I need , in column D , for the numbers in A and C to be compared and a
plus sign to be placed in the cells where C is bigger than A , a minus
where C is smaller than A , and an equals sign where C is the same as A.



Can someone help on this , please? Grateful for any assistance.



Best Wishes



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default Comparing two columns , and giving comparison results in a third.

Hi,

Suppose your result column is D then enter
=C1-A1
in cell D1, copy this formula as far as necessary and then choose
Format, Cells, Number tab, Custom and enter the following custom format on
the Type line

+;-;=

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"Colin Hayes" wrote:


Hi All

I have small request for assistance.

In Column A , I have a row of numbers. In column C I have a row of
numbers too , with a formula underlying each.

I need , in column D , for the numbers in A and C to be compared and a
plus sign to be placed in the cells where C is bigger than A , a minus
where C is smaller than A , and an equals sign where C is the same as A.



Can someone help on this , please? Grateful for any assistance.



Best Wishes

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 465
Default Comparing two columns , and giving comparison results in a third.

In article , Shane
Devenshire writes
Hi,

Suppose your result column is D then enter
=C1-A1
in cell D1, copy this formula as far as necessary and then choose
Format, Cells, Number tab, Custom and enter the following custom format on
the Type line

+;-;=



HI

OK thanks for all your assistance and expertise. It's fixed now.



Best Wishes
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
TRUNC zero giving odd results? [email protected] Excel Worksheet Functions 5 August 24th 06 05:26 PM
Very large workbook now giving incorrect results :( [email protected] Excel Discussion (Misc queries) 0 July 17th 06 11:29 PM
Very large complex workbook is now giving me the wrong results :( S Davis Excel Worksheet Functions 0 July 17th 06 09:00 PM
Comparing contents of two spreadsheets and outputting results to a brx Excel Worksheet Functions 5 March 17th 05 01:44 AM
Equation giving unexpected results Mike K Charts and Charting in Excel 2 January 27th 05 02:58 PM


All times are GMT +1. The time now is 11:54 PM.

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

About Us

"It's about Microsoft Excel"