I have a formula in Excel that I would like to drag down to other cells using autofill. However, the cells below have unique colours and I do not want to remove them. Is there an easy way of autofilling the cells with my formula and keeping the colours?
Thank you in advance.
Fastest way I have found is to drag using the right mouse button and when you release the button the options menu will popup automatically, just select "Fill Without Formatting".
Related
I'm wanting to have a an excel spreadsheet automatically fill in a dropdown selection based on a previous dropdown.
Basically i have a spreadsheet that allows me to pick colours of items from basic dropdown lists each row has its own dropdown. Often the colours are the same so would like it to automatically fill in the next rows colour the same as the previous lines for me?
anyone have any ideas? Can't seem to find much on only filling out the dropdown? Also is there a method to fill out all dropdowns simultaniously?
Thanks
There are two approaches to this depending on what you mean by 'drop-down'.
If you are using a 'form control' drop-down then you have the option under right-click>Format Control... to specify a cell whose value will be set when you change the drop-down selection. You can then use this value to affect other areas of your spreadsheet.
If your drop-down is done using the 'Data Validation' then it will only affect the cell you have put it in. In this case you will have to turn to VBA.
For this you would use the Worksheet_Change event and an If statement checking that the Target is the drop-down cell, then you can code the filling in of your other dropdowns. Check out this microsoft guide for triggering VBA from cell changes.
In my spreadsheet, there are cells that correspond to a certain url and they are spread across the sheet, and because of that I cannot select a group of cells and add hyperlinks to every cell in one go. I've tried using the find function and ctrl+A to select all but when I right clicked a cell the hyperlink option is greyed out. I've tried manually selecting the cells with ctrl+click on each cell that I want to have the same hyperlink. Once again the hyperlink option is greyed out.
Is there a more effective way to accomplish my task without having to individually add hyperlink to each cell since I have at least 3 thousand cells and only 200 unique hyperlink?
Thanks
There is a function called HYPERLINK so one way of doing it if you have a set of values in column A and a table of hyperlinks that go with them in columns J and K would be like this:-
=IFERROR(HYPERLINK(VLOOKUP(A2,J$2:K$4,2,FALSE)),"")
The way I have been using excel to transform data calculated via formulas into static values was to select each cell, press F2 to edit it and then press F9to replace the content of that cell with the result of the formula in it.
I was wondering if there is a convenient way to do this process to a group of selected cells. It would come in handy if I wanted to do this to hundreds of cells at a time.
Could anybody please tell me if that is possible? And if so, how?
If a VBA based solution is viable, then this short routine should suffice.
sub Values_Only()
with selection
.value = .value
end with
end sub
Just select a group of cells and tap Alt+F8 then Run the macro. Optionally, use Options in the Macros dialog to set a hot key combination.
You may also find the Quick Access Toolbar (aka QAT) of use to assign the Paste Values command to a hotkey. Mine is set to Alt+2. With any group of cells selected, Ctrl+C then Alt+2 is sufficient to revert formulas to their returned values. See this for more information.
Highlight all of the desired cells. Copy them. Then right click the highlighted area and select the 123 paste option.
I ran into a peculiar behavior today that I need help with. I have a range(A2:C3) that I'm using conditional formatting to hide based on a yes/no dropdown (A1). It basically sets font/border/and bg color to white. There's a cell with a hyperlink (A3) to clear the contents of the range (A2:C3) which should be included when the range formatting is changed.
It works well until you click the link, then it isn't included with the range for conditional formatting for some reason. Any ideas on a solution to get followed hyperlinks to behave as new hyperlinks? I'd like to keep everything within the conditional formatting scheme to save myself a heap of work but if VBA is needed that's fine. Thanks!
Select the column, row or cells.
Format Cells
Uncheck normal font.
:)
This deselects auto formating for things like hyper links.
I have a list of documents that I want to paste relative links to in Excel. I converted the list to a list of Excel formulas that look like
=HYPERLINK(".\docs\123abc\1.doc","1.doc")
=HYPERLINK(".\docs\456abc\1.doc","1.doc")
However when I paste this in Excel it will paste the text for the formula and not actually make it a formula. I have tried creating a macro to set each cell's FormulaR1C1 value as the value from the text in the cell and that didn't fix it. As well I have tried to copy and paste special as forumla and that did nothing either.
If I type in each formula by hand instead of copying and pasting them it works great, however the list of forumlas I have is a couple hundred and I would prefer not to have to type each one in by hand. Does anyone have any experience with this or suggestions on getting the forumla to register?
Before pasting the formulas,
Select all cells in worksheet
Right click and select "Format Cells..."
In the Number tab page, select General and click OK button.
Paste your formulas list.