Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2012-03-22
8
Medium Priority
?
243 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article describes how to import an Outlook PST file to Office 365 using a third party product to avoid Microsoft's Azure command line tool, saving you time.
Ever wonder what it's like to get hit by ransomware? "Tom" gives you all the dirty details first-hand – and conveys the hard lessons his company learned in the aftermath.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

604 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