LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 20
Default Help - cannot compare values properly even though they display same thing!

I have a simple IF statement that compares the values of two cells:
=IF(D5=G5,"Good","Bad"). Simple enough. The problem is that even when
the value of the cell is exactly the same i.e both D5 and G5 show
"WT_STEDY", it is still returning "Bad". I did a little bit of error
checking: trimmed both cells to ensure no rogue spaces were there etc.
The difference lies in the formula bar. For cell G5, the bar
shows:"WT_STEDY" whereas for cell D5 it shows "=PISampDat($D$1,$B$5,$B
$748,"1h", 0)" which is call from a database. How do I change my
original IF statement to compare the actual strings output / displayed
in the two cells?? I don't mind using some VB, but I'd rather not
because the problem seems so trivial.

Regards,

Tom

 
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
PLS HLP Waterfall doesn't display properly dee Charts and Charting in Excel 6 July 26th 07 04:06 PM
How do I compare values of two cells and display the lowest. sherri Excel Worksheet Functions 2 June 21st 06 07:34 PM
Compare values, display date DeejGCK Excel Worksheet Functions 2 March 16th 06 08:45 PM
I have a problem to properly display the title of Value (Y) axis i Oak Charts and Charting in Excel 1 January 5th 06 04:16 PM
Excel Compare values in columns & display missing values in a new cpetta Excel Discussion (Misc queries) 1 April 2nd 05 05:51 AM


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