Excel named range not accepting "_rollsroyce" - excel

I'm making a dependent drop down list. I've made it using named ranges. All my items and sub-items work without a problem. Except the one item called "Rolls Royce". I have multiple multiple word items with the same syntax that do what they need to do. If I change the words it works fine. Can someone please explain if this is some kind of secretly protected/banned word?
** Still haven't found a solution. I tried other double words and the give me no issue. I found somewhere that "R" is reserved but adding "_R" should solve it. Any suggestions?

I find that for names etc then the space between words has to be avoided.
I would use "Rolls_Royce" in that case as it reads the same.

Related

Creating a spreadsheet with drop downs that work off of each other

I have 3 different planting suppliers. Each supplier has prices for each of my areas (States). Normally, I’ve used the tab called Combined Bids and done the arithmetic on my own.
Combined Bids
I’d like to make something where I can choose from dropdowns and it give me the price based on the dropdowns I choose.
For instance, if I chose Alabama, Reforestation Specialists, Loblolly, 8x10, and Hoedad on the “Interface” tab it would return $52.06.
"Interface"
Lists
I’ve tried using IF statements in the data validation, but I never seem to get it correct. Thought about a Lookup table but I don’t know.
How would you do it? Any information or help would be greatly appreciated. Thanks so much. I'd be happy to share the spreadsheet as well. I didn't see a place to upload it. Again thanks!
You can create a drop down list using Data Validation
and then get the value using the VLOOKUP function
This is something you might want to look into.

Excel: Create a dropdown menu from a dynamic list without duplicates

The question pretty much says it I guess. For detailed information:
I have a range of cells (F3:F2000) in which there can be names filled in. I want to be able to count the amount of times, a name has been mentioned. I am doing this with =COUNTIF(...), which is not the problem and works perfectly fine. But I want to be able to have a cell with a dropdown menu in which you can choose from all names mentioned in F3:F2000. My approach so far is to create a dynamic list, and then use this for the dropdown menu. But obviously it just uses all the entries and therefore I get a bunch of the same names. So how do I remove the duplicates? I assume this has to be done in the dynamic list.
Here is my formula for the dynamic list:
=OFFSET(Logbook!$F$3:$F$2000,0,0,COUNTA(Logbook!$F$3:$F$2000)+1,1)
And for those stuck with german excel like me :(, the german version:
=BEREICH.VERSCHIEBEN(Logbook!$F$3:$F$2000;0;0;ANZAHL2(Logbook!$F$3:$F$2000)+1;1)
Take a look at this posting, I think it answers your question.
http://www.get-digital-help.com/2009/05/25/create-a-drop-down-list-containing-only-unique-distinct-alphabetically-sorted-text-values-using-excel-array-formula

getDocumentByKey with view category separated by "\\" in XPages

I got a view where the fist column is categorized by one field and the second column is categorized with more values separated with "\".
I now try to get a document by key, it does not work until I remove the category option from the second column. I tried getEntryByKey, getAllEntriesByKey, getDocumentByKey, getAllDocumentsByKey in SSJS and in Java. I tried it just for fun with an LotusScript Agent and it works.
Another way that works is createViewNavFromCategory. But I also have some views where the first column is only sorted and of cause than this solution does not work for me.
Is that an known issue? Is there a way to work around this problem?
UPDATE:
I just want to use the first column for getDocumentByKey
I'd suggest trying in a Java agent. If that doesn't work, I'd raise a PMR. There are some differences between Java and LotusScript, so it's possible that it doesn't work. I found a similar inconsistency with number values (which should be fixed in 9.0.2, I believe) http://www.intec.co.uk/apparent-java-getalldocumentsbykey-getallentriesbykey-bug/
It may be that "\" gets escaped in Java, so you may need extra characters, same as you would in Formula Language

Automatically attaching specified suffixes to text in Excel

I am trying to come up with a way to attach a specified suffix to a string of text in Excel, but only when it matches another string.
Example:
I have a list that contains several domains:
xyz.blogspot.com,
abc.blogspot.co.uk,
edf.blogspot.co.jp
For each of these, I want to strip off the suffix (.com, .co.uk etc) and apply a new suffix from a list I have (.com, .co.uk, .co.jp, .in, .br etc).
The idea is that when I see xyz.blogspot.com, I can instantly and automatically create all possible variations of that domain name.
Any help appreciated, thanks.
I have a feeling this will not suit (but seems to answer the question):
=LEFT($A2,LEN($A$1)+FIND($A$1,A2)-1)&B$1
copied across and down to suit.

Delete Existing Ranges in Excel Open XML

I'm working with the Open XML SDK to create an Excel document. To save time, I start with an existing document, and just make the changes I need.
To locate certain cells, my existing document defines a number of ranges. However, when I'm done I'd like to remove those ranges.
I can't seem to find any way to remove ranges from an Excel document that already has them. Any tips, suggestions or links?
Ranges are stored as defined names under the workbook element. You will need to find the defined name element based on the name you gave it in the worksheet and then delete it that way.
public void DeleteRange(WorkbooPart workbookPart, string definedNameToDelete)
{
workbookPart.Workbook.DefinedNames.Descendants<DefinedName>().First(x => x.Name == definedNameToDelete).Remove();
}
This is just a quick snippet of what you might have to do. Obviously, you might need error checking if the DefinedNames element doesn't exist or the defined named you want to delete has already been deleted, but hopefully this will point you in the right direction.
Named ranges are defined in workbook.
Look at it's api and try finding it there. Or check out MSDN.
Also, take a look at Templater. Maybe it already does what you need. Disclamer: I'm the author.

Resources