?
Solved

Excel Formula Returning #VALUE "=RIGHT(1952,1)"

Posted on 2012-03-22
8
Medium Priority
?
242 Views
Last Modified: 2012-03-22
"=RIGHT(1952,1)"

Works in a new workbook...but in my existing workbook it displays #VALUE...

Not sure what could be causing this.  Some setting?

Thanks.
0
Comment
Question by:Tonicacent
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
8 Comments
 
LVL 70

Expert Comment

by:KCTS
ID: 37753671
RIGHT is use to take the rightmost part of a string, since 1952 is a number you are getting this error.

=RIGHT("1952",1) would work and return a "2" in this case - is that what you want ?
0
 

Author Comment

by:Tonicacent
ID: 37753737
Thanks that does work.  I was just confused because it works fine without quotations in other 97-2003 xls workbooks....anyone no more headache.  Thanks.
0
 

Author Comment

by:Tonicacent
ID: 37753769
now I have a problem with this formula...

=RIGHT(YEAR(AB33),2)

AB33 = 04/10/1952

returns #VALUE

This is just so frustrating, because this works just fine in any other workbook....im going to have to copy everything over to a new workbook.
0
Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 
LVL 81

Expert Comment

by:byundt
ID: 37753826
Your formula is working in my copy of Excel 2010, both when AB33 contains text that looks like a date and also when it contains a date formatted as mm/dd/yyyy

Is the calculation mode in your workbook set to Manual (see File...Options...Formulas menu item)?

Does your default date format put the day before the month?  dd/mm/yyyy

If you could post a workbook that illustrates the problem, it would be very helpful in trying to resolve the issue.
0
 

Author Comment

by:Tonicacent
ID: 37753880
Here is the file im working in...removed all data except the part im struggling with.
NewComp-Template-test.xls
0
 
LVL 81

Accepted Solution

by:
byundt earned 1460 total points
ID: 37753943
In File...Options...Advanced menu item, go to the very bottom of the right pane and uncheck the option for Transition formula evaluation
0
 

Author Comment

by:Tonicacent
ID: 37753961
nice.  Thank you byundt
0
 
LVL 81

Expert Comment

by:byundt
ID: 37753984
It's a good thing you were able to post a sample workbook--I'd have never figured it out otherwise.

Brad
0

Featured Post

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question