Solved

# Left

Posted on 2012-03-29
244 Views
Experts,

I am trying to extract Jun 2012 from the following:
Sum of Available In Jun 2012

I thought I could do this but I get a #value:
=LEFT(B21,28)-LEFT(B21,20)

How can I extract Jun 2012?  Maybe there is a better way.  thank you
0
Question by:pdvsa
• 2
• 2
• 2

LVL 43

Expert Comment

ID: 37784252
=mid(b21,28,8)
0

LVL 74

Accepted Solution

käµfm³d   👽 earned 500 total points
ID: 37784254
Perhaps:

``````=RIGHT(B1, 8)
``````
0

LVL 74

Expert Comment

ID: 37784260
P.S.

* Assumes a 4-digit year and 3-character month abbreviation.
0

LVL 43

Expert Comment

ID: 37784261
Sorry change that to

=mid(b21,20,8)
0

Author Closing Comment

ID: 37784286
very nice.  thank you
0

Author Comment

ID: 37784289
ssaqibh:  I see that you changed the answer now.  I think RIGHT is a little easier at least for me...thank you
0

## Featured Post

Drop Down List with Unique/Distinct Values (enhancing the Combo-Box with a few steps and a little code) David miller (dlmille) Intro Have you ever created a data validation list from a database field or spreadsheet column (e.g., Zip Codes or Co…
INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …