=Mid Formula

C

Chris waller

I have a large number of spreadsheets that are saved each month in a
particular directory. On each of the spreadsheets I would like the name of
the month to display. I believe the formula is =Mid(“filenameâ€) to extract
the name from the filepath etc, but I cannot figure out how to automatically
make the whole name of the month appear. I know that the actual month starts
at character 85 and that immediately after the name of the month there is a
“\â€. Is it possible give the information above for someone to help? TIA
 
C

Chip Pearson

Perhaps

=MID(S,85,FIND("\",S,85)-85)

Where S is the string containing the file information.

Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group, 1998 - 2009
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)
 
C

Chris waller

Sandy,

I cannot post the full name as it is at work and I will not be there until
Monday, but I will try to remember and post it on Monday evening.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top