Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 38
Default 'Substitute' function with wildcards

Can you use wildcards with the substitute function? This is the
formula I am using.

=SUBSTITUTE(F51,"FY20??","FY2008")

However this doesn't work. It seems that the function is looking for
exactly 'FY20??' and not what matches FY20??. Can anyone help?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 56
Default 'Substitute' function with wildcards

I don't think wildcards work in substitute. You could instead use
something like this for a one instance replacement:
=LEFT(A1,FIND("FY20",A1)-1)&"FY2008"&MID(A1,FIND("FY20",A1)+6,999)
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
IF function and wildcards Chacky Excel Worksheet Functions 6 September 6th 07 08:48 AM
Substitute Function Question #2 Krista Excel Discussion (Misc queries) 5 April 13th 07 07:54 PM
SUBSTITUTE Function - Nesting Limitation D Bagatelle Excel Worksheet Functions 2 March 10th 07 02:25 PM
Substitute function [email protected] Excel Discussion (Misc queries) 1 January 29th 07 07:48 PM
Case function substitute Mariano Excel Discussion (Misc queries) 2 January 6th 06 04:15 PM


All times are GMT +1. The time now is 05:08 PM.

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"