Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
dwoloszyk
 
Posts: n/a
Default Function =c25=c49

I am using the function (=c25=c49) to return a true or false. The columns I
am comparing in excel are the exact same amount, but the value being returned
is FALSE.
What would cause this?

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
 
Posts: n/a
Default Function =c25=c49

Text versus number, hidden spaces etc

try

=LEN(cell)

on both, if they have the same number then it must be different format


Regards,

Peo Sjoblom


"dwoloszyk" wrote:

I am using the function (=c25=c49) to return a true or false. The columns I
am comparing in excel are the exact same amount, but the value being returned
is FALSE.
What would cause this?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
David Biddulph
 
Posts: n/a
Default Function =c25=c49

"dwoloszyk" wrote in message
...
I am using the function (=c25=c49) to return a true or false. The columns I
am comparing in excel are the exact same amount, but the value being
returned
is FALSE.
What would cause this?


Apart from the suggested possibility of comparing text against number,
pleaase remember that most real numbers cannot be represented exactly in
binary.
http://www.cpearson.com/excel/rounding.htm gives some explanations.
In general it is not wise to check for equality in calculated real numbers,
but instead you ought to check for the numbers being within a small
tolerance of each other.

Have you tried setting the formula in a cell to =C25-C49 and seeing what you
get?
If you see the value of either C25 or -C49, then the other is presumably
being treated as text.
If you see a small number, it sounds like the rounding of the binary
representation.
--
David Biddulph


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
Creating a Custom Excel Function to Calculate Gini Coefficients [email protected] Excel Worksheet Functions 3 February 21st 06 10:15 PM
Date & Time mully New Users to Excel 4 May 23rd 05 11:56 AM
Hyperlinks using R[1]C[1] and offset function in its cell referenc Elijah-Dadda Excel Worksheet Functions 0 March 5th 05 03:31 AM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. Robert AS Excel Worksheet Functions 4 December 2nd 04 10:49 AM


All times are GMT +1. The time now is 02:04 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"