Solved

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

Posted on 2012-03-22
8
236 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
  • 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
 
LVL 80

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
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

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 80

Accepted Solution

by:
byundt earned 365 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 80

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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Article by: dandraka
There are several quick shortcuts that can make your life easier in Microsoft Programs.  These simple tips and tricks will your work more productive and you faster at completing your tasks! MS Word (1) Creating Re-usable Scraps You can create s…
Introduction It seems that at least a couple of times per month, I answer a question that requires automating Outlook from another Microsoft Office application, usually (although not always) to send one or more email messages.  For example: …
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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

757 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now