How to get English month name from date in Russian Excel? - excel

I am unable to get month name in Excel.
Neither =TEXT(...;"mmmm") not doesn't work.
I found, only Russian M's are working and giving Russian month name, despite of language settings
Latin M's give nothing.
Are there any other settings to force month name language?
UPDATE
Setting date format nationality didn't help:

Thanks for additional details. It appears to be a long standing issue with MS Office. See How to prevent Excel to use the OS regional settings for date patterns in formulas for a related issue and some partial solutions.
In particular, hardcoding using CHOOSE might be your way to go:
=CHOOSE(MONTH(B2);"Jan";"Feb";"Mar";"Apr";"May";"Jun";"Jul";"Aug";"Sep";"Oct";"Nov";"Dec")
Also see Scott Craner's comment regarding =TEXT(B2;"[$-0409]MMMM") which looks like a quick fix. But note that the MMMM has to be in your locale, so the spreadsheet might not be portable. The CHOOSE option would be better in this case.

I found a way to fix this problem. First you need to go to Excel options and click "Advanced". After that, you need to scroll down to the bottom of this page and edit the "Edit Custom Lists..." button located in the "General" tab. Image for first step
Finally, you should add your own lists by clicking NEW LIST.
Image for final steps
January
February
March
April
May
June
July
August
September
October
November
December

Related

Cognos 11.2.2 - Adding a new currency to Cognos

could someone please point me to the right direction?
When formatting a column of a list or crosstab as a currency, I'd like to add The West African CFA franc (XOF). Right now it's not in the menu. How could I add it to the currency list?
Many thanks
IBM provides documentated instructions for adding a custom currency symbol: https://www.ibm.com/docs/en/cognos-analytics/11.2.0?topic=settings-customizing-currency-support
At the time of this writing, there is an error in the instructions. I have notified IBM Support. The file you'll need to edit is install_location/configuration/i18n_res.xml
It looks like XOF/CFA is already in the list, although the currency symbol is shown as CFA and should probably be F.CFA.

Is there a way to use VBA to change the language in VBA generated worksheets?

I was assigned a project at work to develop a Macro that would automatically take financial data from an Excel table and generate credit notes and invoices for customers. I have the Macro developed already it is working the way it should, but the issue I am running into is with the language that is used for each invoice.
When generating credit notes, the Macro is taking the the invoices month of issue from the financial data table and displaying then as them as the months where credit was issued to the customer. i.e., a customer is requesting a partial refund on transactions from a period of time (say Feb.2019 - Apr. 2019) it will be displayed as:
February 2019 (02-19) -20.20
March 2019 (03-19) -32.03
April 2019 (04-19) -24.21
The problem is that my primary working language is English, but my company works in several European marketplaces and the invoices and credit notes have to be displayed in the language of the market where the customer is located.
So if an Italian customer requests an invoice, the months displayed must be listed as
Febbraio 2019 (02-19) -20.20
Marzo 2019 (03-19) -32.03
Aprile 2019 (04-19) -24.21
However, when running the Macro it still displays the issuing months in English when it should be displayed in the language of the market. The entirety of all invoices and credit notes created with this Macro are generated in the correct language, but since the Macro is taking the issuing months from the data table it automatically displays them in English.
Is the any way to ensure that it displays the issuing months in the required language?
I already know that the language settings can be changed for the entire workbook, but I still run into the same problem as I would have to manually change the issuing language each time I run the Macro to ensure the issuing month is correct?
To format a date in another regional setting you need to change the number format of the date for the desired range of cells. Eg. format the cell pressing Ctrl+1 to get the following dialog, and choose the regional setting ("Gebietsschema") for the country you desire.
Image 1: Change the regional setting for the date (sorry for the German screenshot).
Alternatively use the Range.NumberFormat property to format the cell with VBA:
.NumberFormat = "[$-it-IT]d mmmm yyyy;#"
Note that these both work if your dates are real date values but don't work if your dates are text. If they are text you need to change them into real dates.

Calculate school year from date of birth in SharePoint

I am trying to calculate a school year from date of birth and would like SharePoint to update as and when necessary.
I know this is possible in Excel but wondered if there was a work around for Now or Today in SharePoint.
The code I am using is:
=IF([Date of Birth]="","","Year "&MAX(0,DATEDIF(DATE(YEAR([Date of Birth]+122),9,1),NOW(),"Y" )-4))
Any help would be greatly appreciated.
Sample forum to get year count between dates.
=VALUE(TEXT(NOW(),"yyyy"))-VALUE(TEXT([Date of Birth],"yyyy"))
if there was a work around for Now or Today in SharePoint.
Not by just using a Calculated Column. A Calculated column is only updated with the item is created or edited.
You can add JavaScript to the page to update the displayed school year each time a page loads, but you would need to add this to each of the list's forms and Views. The exact JavaScript solution depends on your SharePoint version. Can you update your question with the version? (2010, 2013, 2016, SharePoint Online - classic UI, SharePoint Online modern UI, etc.)

How to change the color of a task list row when the due date comes nearer

I have a task list and it has a column called Due Date. So when your Due Date draws new, the row changes to the color orange, and when the Due Date is passed, then it changes to red. So it is done dynamically comparing the Current Date to Due Date.
Has anyone accomplished this kind of solution?
I'd recommend the use of SharePoint Designer to build a Data View Web Part over using JavaScript (which is reliant on being injected via a CEWP, or via the masterpage).
Here's a tutorial for creating conditional formatting rules in a DVWP, which may prove helpful.
http://blog-sharepoint.blogspot.com/2009/05/data-view-conditional-formatting-using.html
I'm just going to nod knowingly towards this post:
Sharepoint webpart for conditional formatting?
And not remention the thing I mentioned over there that I feel slightly guilty about mentioning in the first place.
You can add javascript to the target page, where loop through all rows (), looking in DueDate column and mark that rows as you wish. This is the simpliest solution I know. For achieve this you need to look to target page HTML markup.
UPD:
You didn't say what Sharepoint version you are using. There is a better solution for 2010, explore this link: http://www.sharepoint.stackexchange.com/questions/7478/highlight-row-color-based-on-field-values-in-sharepoint-2010-list-view
There are third party add-ons(sharepoint highlight rows) that allows you highlight SharePoint list rows based on field values.

Sharepoint 2007 calculated Date field shows incorrectly in non-US region

If a SharePoint user (with Regional Settings set to UK) views a calculated date field in a View details form, the field shows incorrectly.
I am using:
ddwrt:FormatDateTime(string(#RenewalDate), 1033, 'dd MMMM yyyy')
Which shows 04 January 2010 for 01/04/2010 and, doesnt show unresolvable dates such as 31-Dec-2010.
This applies even with a simnple =[Modified] formula
The Server is set up in the US for that locale.
could you change the formula as simnple =[Today] and check doest it works?
please try with the below formula
=IF(NOT(ISBLANK([Modified])),DAY([Modified])&" "&TEXT([Modified],"mmm")&" "&YEAR([Modified]),"")
And it is working fine for me. Pls try it and let me know what you are getting.

Resources