Excel - Selecting a cell with a formula - none of the input cells are marked with colour - excel-formula

Excel
The input cells are marked with colour upon inserting a formula. But upon selecting formulas, the cells are not dispayed/marked, and this makes the spreadsheet less readable and thereby reduce my workflow.
The problem has been presented here too, but without any proper answer/solution:
https://superuser.com/questions/1228416/cells-referenced-in-formula-not-displaying
Inserting a formula
Selecting a cell with a formula
I did as explained by others in the link provided, but they didn't help unfortunately.
PS. I do have macros enabled, and work with them a bit. But nothing that should turn on/off such functions...

Unfortunately, I didn't manage to identify what caused the problem, and neither the solution.
I ran my macro a couple of times, and it suddenly worked. I don't even remember if it was at the first run.
Sorry guys, for you others might looking for the same solution as I did...
The macros were only making some formulas and autofill them for specific ranges...

Related

How do I fix cells in Excel that contain formulas, but are showing as empty cells?

I have tried to find this scenario somewhere but haven't been able to find any useful resources.
Essentially, I have performed some work in Excel and upon returning to the file the row sizes were so large the file could not used properly, and the cells were blank. The row sizes was an easy fix, however the blank cells are strange because they still contain text/formulae.
Has anyone seen this issue before, and know how to fix it?
Thanks!!!!
In this image, you can see that the selected sell contains some text
Here, if I double click to edit the cell contents, there seems to be some kind of disconnect between the location of the cell, and where Excel is allowing me to edit the text
I think you should start working with "formulatext()" Excel function: if you have a formula, this returns a full string
I've seen issues like this in the past and have always first tried the "Text to Columns" Data Tool on the Data Menu. I have used this when cells are unexpectedly blank, or when my dates are registering as dates or formulas are registering as formulas. It might help.

Prevent Blank Cells with Data Validation

I'm having a seriously hard time with the simplest of Excel data validations: how do you prevent a blank value? The user needs to enter a number into a cell. If the cell has no value, Excel should throw up an error message. I've tried the following:
=COUNTIF($A5:$A27, "")=0
=ISBLANK($A5)
=ISBLANK($A5)=FALSE
and a whole assortment of ridiculous Excel gymnastics, but nothing has worked. The Ignore Blank checkbox is off, too. How hard can this be?
This is in Excel 2016 running on Windows 10. I've tried Google searches ad nauseum with different search keywords. I've tried winging it. I've tried searching on here fora simple formula to solve the problem.
Assuming you also don't want to allow a value of 0 to be entered, you can use the following validation. However, validation only applies when you're entering values into a cell. If you're in edit mode, you won't be able to hit Enter while the cell is blank. But there's nothing to stop you from ignoring the cell entirely or even selecting the cell and clearing it's contents using the Delete key.
There's no way for Excel to force fields to be mandatory and with good reason. If Excel wasn't going to let you do anything while a mandatory cell was empty, you would be stuck if there were two mandatory cells because you could never complete one cell without Excel complaining about the other cell.
You can only force cells to be mandatory when you're also running macros which could display error messages instead of performing the required tasks if the mandatory fields aren't all complete.
As per the comment, the best thing to do is highlight empty mandatory cells using conditional formatting. From the Home tab, create conditional formatting based on value equal to 0 then set the background format to red (or whatever you want).

Pause updating formulas in excel

I am looking for a way to prevent formulas in my spreadsheet from automatically updating unless I trigger them. This is a massive spreadsheet with literally millions of formulas that all attempt to update every time any cell is updated, which lags out my system a lot. I was hoping to create what I imagine will likely be a vba macro which will disable formulas from updating entirely, and add a button which can be pressed to then force formulas to update.
If this is not possible (I am finally learning that excel has more limitations that I first thought), I could then use some advice on how to potentially smooth the formula updating process. There is no way to trim the program or reduce the number of formulas present, and using multiple sheets to communicate would just make everything look too sloppy. Any advice is appreciated, though a direct answer to the first paragraph is preferred.
You may try : Formulas > Calculation options > Manual .
Hope that helps. (:
you can go to Excel Options> Formulas > Calculation options > Manual .
When you want to update the formulas just click F9 button which will manually update all the formulas.
I hope this Helps

Excel Formula not updating

This is a weird one.
I have an excel file with formulas which is emailed back and forth between users in different countries (different language settings more than likely).
To get the formulas to calculate, you hit enable editing which calculates all the formulas in the workbook.
On windows 10, I receive a file and when I hit enable editing, the formulas do not calculate unless I manually go into each one and hit return. If I open the same file from windows 8, it calculates.
The formulas are correctly in as "custom" and automatic formula calculation is on, the sheet does not calculate if you hit calculate now. There are no circular references.
Another fix I tried was replacing all the = signs with =.
Anyone come across this issue? I do not have details of applied updates to office but I am assuming the sender and the receiver are up to date.
I am not sure how that happens or why the method I am describing works, but it works for me.
Using text to columns, select fixed width but don't actually separate anything to columns and hit finish. You should get all the results of the formula. However it is a real pain if your formulas are in many different columns.

VBA - Pretty Print a Row in Excel

I want to print a row in Excel.
One row contains data for one project.
I want to print one row on one page nicely formatted. Meaning the value of one cell is the header and should be printed fat and centred, the other values should also be placed at fixed positions on the page.
Is this with VBA possible? When I was searching for this problem I only found results for printing a worksheet or a table or parts of it, but no results to use the values of the cells and formatting them.
Thanks in advance
As the other answers indicate, it is certainly possible in Excel VBA, but it is not really Excel's strong point.
What would typically be done to obtain the result you seem to be after is use a fully formatted Word document with fields that are then filled in with values from an Excel worksheet. You can even cheat a bit and use the Mail Merge \ Letter wizard to set everything up.
If you do want to do it all in Excel, you can find instructions and an example VBA macro here:
http://www.tek-tips.com/faqs.cfm?fid=4223
Template is a good way to do. With a macro there's better performance where it avoids the usage of volatile functions such as INDIRECT() However again it depends on how many volatile functions your worksheet carries.
Yes, it is possible when you use the Styles in excel. I know you can do Font formatting quite easily. Not sure about indenting it, but worth a try.
If style doesnt support it (it might in Excel 2010), you can always indent it via VBA (record a macro when you indent the values , it should look like this):
Selection.InsertIndent 1

Resources