Excel array formula changes keyboard layout - excel

To enter an array formula in Excel, one uses Ctrl+Shift+Enter
and to switch keyboard layout, one uses Ctrl+Shift
Thus my keyboard layout changes every time I enter an array formula.
Is there a more elegant solution than switching back manually each time?
One solution would be to change the switch layout shortcut, but I can't find it in Windows 10 (I could in Win7). Where is this setting?

The problem is caused because for a long time now (pre-Windows 10) the default keys for changing the Windows keyboard layout are Ctrl+Shift. Every time you push those two keys together, Windows switches between any layouts you have installed. Given the number of shortcuts out there that use those keys, it's a pretty dumb key setup if you ask me, but anyway...
To correct this problem in Windows 10, you need to go to Control Panel >> Clock, Language, and Region >> Language >> Advanced settings and from this screen, click on the Change language bar hot keys link. This will open a window labeled Text Services and Input Languages. Select the option for Between input languages in the hotkeys box, then click the Change Key Sequence button. It's not very customizable but you can at least change both the Input Language and Keyboard Layout hotkeys to be Not Assigned. This will prevent the problem you had with your Excel macros.
If you have need of hotkeys to switch back and forth, you can set these here as well, though there's not a toggle option like the one you just turned off. Here you have to pick something like Ctrl+Shift+1 for Dvorak and Ctrl+Shift+2 for QWERTY. Make sure you set the non-QWERTY hotkey last just before closing the window, because Windows has a tendency to undo your hotkeys if that's not the last one (no idea why, it's just done it that way to me on every computer I've had since Windows XP).

One alternative would be to create a macro to convert any formula to an array formula, and assigning your own shortcut (ctrl+m for example).
Sub convert_to_array()
Dim formarr As Range
Dim oldrange As Range
Set oldrange = Selection
For Each formarr In oldrange
formarr.FormulaArray = formarr.Formula
Next formarr
End Sub
Then just write normal formulas, select all the ones you want, and hit ctrl+m (or whatever shortcut you assign).

Related

VBA [Excel] - Enable / Disable Movement After Enter Button Pressed

I'm trying to alter the behaviour of Excel when you press the enter button using VBA as most of the time I require it to jump to the next cell after you have entered information.
However, when I reach the bottom of my spreadsheet I want to prevent it jumping back to the top and remain in the current cell. I then want to turn back on the ability for it to jump down when you move back up the document or go to a new tab.
I believe I can manage the on/off element by using the ON SELECTION and ON CHANGE functions within VBA, but I'm struggling to source the right code to change the after ENTER behaviour.
TIA

Automatically copy excel values not formulas

I am looking for an automatic version of this feature:
https://www.technipages.com/excel-copy-and-paste-values-without-formulas
Is there a built in Excel function that can do this automatically without manually copy/pasting each cell? I have a column of functions and I want to have another column of values beside it.
Thanks!
I'm not sure what you mean by "automatically", but this should at least speed up the process:
Select the cells you want to copy the content from and press CTRL+C
Click in the new cell and instead of using CTRL+V, use CTRL+ALT+V. This will open a dialogue box, in which you have to check "values". This can be done with another keyboard shortcut V (english version of Excel, might be something else in your language).
This might seem complex, but it's actually pretty fast.
Instead of pasting the cells with CTRL+V, you now paste the pure cell values with CTRL+ALT+V + V (+ ENTER, depending on whether you use the english verion or not).
This at least saves you from using the mouse and clicking through additional menues. Hope that helps!
#J Connor, if I'm not mistaken you are in need of PROGRAMMING method, as you have written Automatically.
Here are few simple steps to get the Solution.
Method 1
Range("A1:B10").Copy Destination:=Range("E1")
Method 2
Range("A1:B10").Copy Range("E1").Select ActiveSheet.Paste
Few more I can suggest. ☺

keyboard shortcut to formula editing field (literally) in Excel? (Not F2)

I am looking for the keyboard shortcut to edit a formula in the formula edit field. I am not looking for similar functionality such as F2, which allows you to edit the formula, but only with the cursor in the cell you are working on.
Put another way, I am looking to move my cursor to the field to the right of the "fx" (function sign + "x") field that is just below the ribbon so I can edit a formula in Excel and have it behave the way I want.
I know many will ask why. The main reason I want to do this is when formulas get long they wrap (which is difficult to follow) and/or cover up adjacent cells (which makes modeling more difficult). I don't want to change the wrapping behavior etc. because I actually use it (it is helpful) in some cases.
I do not want a solution that involves a macro because I want this to work on any computer I am working on.
Been Excel'ing for a long time and this is one of the few things I have to go to the mouse for and it slows me down.
EDIT: also can't lose the reference color coded highlighting. F2 then Ctrl + A gets the cursor up there in the formula bar, but the wrapping in the cell stays (bad) and the color coded reference highlighting goes away (bad).
I found a way but you may or may not like it.
In Excel older than 2007 do the following and then use F2:
From the Tools menu, choose Options.
Click the Edit tab.
Uncheck the Edit Directly In Cell option in the Settings area.
Click OK
In Excel 2007 and newer do the following and then use F2:
Click the Office button and then click Excel Options (at the bottom
right).
Select Advanced in the left pane.
Uncheck the Allow Editing Directly In Cell option.
Click OK.
Giving credit where credit is due I found this on the below site by simply googling "excel keyboard shortcuts formula bar"
http://www.techrepublic.com/blog/microsoft-office/quick-access-to-excel-formula-bar-via-keyboard/

After editing macro code, the short cut to macro no longer works

Yesterday I asked for help with macro code. I receive the help I needed and the code works great - with one exception - now, no matter what I do, the shortcut I used to use no longer works.
The keyboard shortcut was CTRL+q. Now it doesn't work and nothing happens when I hit that keyboard combo. I tried saving it with a different letter but that fails too.
Any ideas as to how to get the shortcut to work again?
From the View tab, select the Macros button and then View Macros. Look for your macro on the list that it displays, single-click it, then click the Options... button.
This shows you the dialog box you need. The shortcut key currently assigned to the macro (presumably none, based on your description) will be shown, and you can type whatever letter you would like. Don't forget that assigning a lower-case letter makes the shortcut ctrl-letter while using an upper-case letter makes it ctrl-shift-letter.

Excel currency shortcut produces € symbol

The Excel shortcut of Ctrl + Shift + 4 is supposed to convert selected cells into the currency format. However, mine prompts me that "Data on the Clipboard is not the same size and shape as the selected area. Do you want to paste the data anyway?" and if i click OK, it replaces the contents of the first selected cell with a € symbol. If only one cell is selected when I perform the keystroke, that cell's contents are replaced without the prompt.
I've tried to reset my regional settings and formats but nothing has worked. Googling only produced one legitimate question which was responded with a troll answer. I'm hoping someone here might have experienced (and fixed) this before.
This is on Windows XP and Office 2003 with no add-ins.
There are probably some programs running, or macros imported in your office program, that use the shortcut Ctrl + Shift + 4. A few possible solutions:
Enable the developer tab (File > Options > Customize Ribbon > in the right hand box there should be an unchecked box named Developer > check it on > click OK.) Afterwards, check your macros. IF there are any, they could be causing the problems.
Or you could also try to change your shortcut to something else. Go to Excel Options> Customize> Keyboard shortcuts Customize. Then find the applicable command and change it to something else.
What is the number format in the workbook's Currency Style (Format|Style)?
More recent versions of Excel with the ribbon bar have this under the "number" drop down on the Home ribbon
Make sure the Symbol is listed as $
Are you sure that it is the shift is the key being sent, the result you describe it what happens with Ctrl + Alt + 4
It seems there is no solution to this question and I gave up trying after a few months. Removed my Office 2003 install and replaced it with Office 2010 instead, which fixed the problem. Appears there were no background processes involved, probably just a faulty Office/Excel install.

Resources