LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,934
Default extract date if count formula

The problem is you have a blank space AND a character that looks like a
blank, but isn't (it has ASCII code 160... you probably got your text from a
website I'm guessing). Anyway, this formula should work for you...

=IF(COUNT(FIND("/",Q2)),--TRIM(SUBSTITUTE(MID(Q2,FIND("/",Q2)-3,8),CHAR(160),"")),"")

--
Rick (MVP - Excel)


"Wanna Learn" wrote in message
...
Hello in cell Q2 I have the following information
EXT 1/5/08 RIVERS in cell "AT" I have
=IF(COUNT(FIND("/",Q2)),--MID(Q2,FIND("/",Q2)-3,8),"") but I get
#VALUE!

what I want to do is extract the date, thanks for your help


 
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
Find, count and extract duplicate cells Igby Excel Worksheet Functions 1 December 9th 07 06:42 PM
Extract Date from Right Formula [email protected] Excel Worksheet Functions 3 July 18th 06 11:41 PM
Extract Date christmaslog Excel Worksheet Functions 1 February 19th 06 10:28 AM
Formula for If Term is on Certain Date then Count Krisjhn Excel Worksheet Functions 3 August 30th 05 07:57 PM
extract date from the most current date Cali00 Excel Discussion (Misc queries) 1 April 13th 05 02:05 PM


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