Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default Formatting cells

From your description it sounds like you have text in one cell and dates in
the other. You can not really compare the two. When you double click the cell
you enter then exit edit mode. This causes Excel to do an implicit conversion
of the text to a date and now you are comparing dates with dates and all is
well. Now assuming your text dates look something like 1/1/2007 you can force
an implicit conversion of the cells by highlighting all of the text dates and
doing a find and replace on either the zero or the /. When the replace is
done Excel will convert the text to dates. Just make sure that the cells are
formatted as date before you start.
--
HTH...

Jim Thomlinson


"fee" wrote:

I have a spreadsheet which is created from a access 97 dump, it puts a
contract date and a promise date in, this is sent to the vendor who
puts in a forecast date. I have done an IF statement that says
=IF(c1=d1,"ok","why"). The problem is that when you type in the
forecast date even though it matches it does not work. Tried to format
the cells to date, cut the cells changed the format then pasted them
back in.
The only way it works is if you change the format and then double click
on the cell, then enter the forecast date this then works.

Why does this happen and also what is the way round it.


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
condionally formatting based on another cells formatting? Derrick Excel Discussion (Misc queries) 2 July 31st 09 08:05 PM
conditionally formatting cells based on other cells Derrick Excel Discussion (Misc queries) 1 July 7th 09 09:43 PM
Formatting cells in a column with conditional formatting? shamor Excel Discussion (Misc queries) 8 May 19th 08 10:11 PM
How can I have formatting options like merge cells ,Bold,active for the unlocked cells of the protected worksheet.Is it possible in excel? divya Excel Programming 2 July 20th 06 02:04 PM
Conditional Formatting Multiple cells based on 2 cells Louis Markowski Excel Worksheet Functions 2 June 1st 05 05:26 PM


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