If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
'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
|
|||
|
|||
'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) |
Thread Tools | |
Display Modes | |
|
|