I am working on an excel project where I have to fill all the blank with info but it differs every some rows looks like this
and this is what I would like to achieve.
You can follow below steps.
Select cells you want to fill up.
From Home tab--> Editing section select Find & Select then Go To Special.
Select Blanks and click ok.
Now just type =Immediate above cell address you want to fill like =A1.
Then press CTRL+ENTER. Blanks cells should fill up with data from its above cell.
If you wish to remove formulas from cells then copy all cells in range and right click then paste values.
Related
Remove Formula but keep data with source formatting ?
I have excel data on which couple of columns have formula. I need to remove the formula but keep data intact with formatting.
Everywhere on google below solution is given
Select the cells with formulas you want to remove but keep results, press Ctrl + C keys simultaneously to copy the selected cells.
click Home > Paste > Values
But its not keeping the source formatting like Merged cells etc.
Then instead of doing click Home > Paste > Values I did click Home > Paste > Values and Source Formatting but it is still keeping formula
How can I remove the formula but keep data intact with source formatting ?
Update :- Screen shot based on Tim answer
Here is one option:
Create a new column to the right of the column whose content and formatting (but not formula) you want to want to preserve
Copy the column, and paste (all) into this new column. This will bring in formatting, values, and formulas
Then, copy the original column again, and paste this into the new column using Paste Special. You may find this from the drop down menu, or using Alt + E + S. In the dialog box, make sure that only the "Values" option is selected.
The basic idea is to make a carbon copy of the original column, then to wipe out the formulas only.
I'd like to create a rule that writes "100%" in column A whenever I write "end" in column B.
So it would be something like this:
[] X
100% end
[] Y
The brackets represent an empty cell.
I've tried:
IF(B1:B3="end",100%,"")
but I would like to leave the cells on column A empty, with no data or formulas, if the respective cell in column B doesn't contain "end".
So I've thought about adding a new rule with conditional formatting but it's not working. Any solutions?
Can be achieved with CF but rather nastily. You would need to fill ColumnA first, say with 1s - but can be hidden by (standard) formatting the text to match the background colour (ie usually white).
Then clear any CF from and select ColumnA, HOME > Styles - Conditional Formatting, New Rule..., Use a formula to determine which cells to format and Format values where this formula is true::
=B1="end"
Format..., select Black (probably) font and Custom Number format of:
00%
OK, OK.
If your blank cells must remain blank in reality rather than appearance then CF alone is not a solution for you.
Edit:
You can get a value to show in a cell based on the value of another cell, without having anything* in the cell, and without VBA:
*kinda
Using cells I2:J9 as an example, the steps are:
Click I2, then Ctrl+1 to open the Format Cells dialog.
On the Number tab, click Custom, then in the Type box enter: ;;; and click OK.
Hit Alt+O+D+N to add new Conditional Format and choose Use a formula to determine which
cells to format.
In the Format values where... box, enter: =J2="end" (If Excel adds $'s, remove them), then click Format...
On the Number tab, click Custom, then in the Type box enter: ;;;"100%" . (Optionally set a color, font, etc.) then hit ENTER 3 times to return to the
worksheet.
Click I2, hit your SPACEBAR once and then hit ENTER. (* Fine, I
confess: the cell isn't totally empty.)
Click I2 and hit Ctrl+C to Copy.
Select I2:J9 and press Alt+E+S+T then hit
ENTER to Paste Formats.
Now when you type end into any of J2:J9, the corresponding cell in column I will display 100%.
You can also repeat this process to add additional conditions to the same cells if needed.
Original Answer: (Alternative Solutions)
Sometimes I get stuck spending too much time on a question about a very minor issue. This is one of those times. :)
Thinking further about your question, I suspect you might not have meant you need the "cells on column A empty, with no data or formulas", but perhaps you mean you want the cells to "appear empty".
Example:
These cells do appear empty, unless you to click on the cell and then look at the formula bar:
...but the formula bar can be hidden too:
Column A contains leave dates, Column B contains clinicians. Data was extracted from VISTA and only includes leave date for first employee listed. Is there an easier way than copying and pasting to extend the dates in column A to include each employee? Most likely I would be working with over 50,000 total rows ( at least to begin with), so I would prefer to avoid copying and pasting.
Here is what the data currently looks like:
enter image description here
Here is what I would like the data to look like:
enter image description here
Follow these steps:
Select entire column with Dates
Press Ctrl + g
Click Special...
Select Blanks
Click OK
With the blank cells selected (and assuming the first blank cells is A3) put this into the formula bar: =if(B3<>"",A2,"")
Instead of pressing Enter to save the formula to just the first blank cell, press Ctrl + Enter to save it to all selected cells
Right click on any selected cell and change the format to Date (Screenshot below at this point)
Select the entire column A again, then copy and paste special as values to convert the formulas to date values that you can sort/filter on. (Let me know if you need more detail on this step)
I was wondering how to add the same drop-down value (e.g. Yes or No) to multiple cells in the column at the same time? I tried selecting individual cells that I need to fill with the same value using Ctrl, and then selecting the value from the drop-down menu, but it only fills the single highlighted cell.
Is there a quick way to select cells and then add the same drop-down value simultaneously to all of them?
I'm using Excel 2013.
Thank you!
Place the drop-down in the top cell. Then select the block of cells (including the top cell) with either the ARROW keys or the mouse and touch Ctrl + d
i also found no answers for this online so came up with my own solution.
It is using macros but only a basic knowledge of how to record is needed so its very easy.
Once your drop down lists are set up, you would start with Sheet 1 and simply record a macro where you are copying the value you selected in sheet 1 and then pasting into sheet 2. then assign this macro to a button on sheet 1. every time you click the button, it will copy and paste the selected value in your sheet 1 drop down into sheet 2.
you would then do the same thing in sheet 2, except that you are copying the value into sheet 1.
you can do this for any number of sheets.
hth.
I tried it as follows and it worked:
Select a cell and select the value for it (yes or no for example). Then select the group of cells you wan to have that same value - include the original cells with the value (yes or no)as the top cell in the range. Hit ctrl and D and all the cells will fill with the value in the top cell.
I accomplished this task in Excel 2013 by doing the following:
Select the cell with the drop down response
Scroll down to the last cell in the row that you want to have the same answer
Press the shift key
Select the last cell in the row that you want to have the same response
Release shift key and scroll back up to the first cell that you highlighted
Select your response in that cell
Hit Ctrl+D (to duplicate response).
I'll try and explain a little more clearly for you.
Select, with your mouse, the top most cell in the column you want to make all YES, scroll down if you need to and then, before clicking anything hold the SHIFT (not CTRL) key while you click the bottom cell in the row you wish to update.
This should highlight all of the cells in the column from the first, to the last you clicked. Now, release the SHIFT key and select YES (or no) in the top cell. The top cell (only) will change to YES (or No if you selected that). Now, without clicking doing anything else, hold down CTRL and while holding it press D.
If done correctly, all of the highlighted cells will now match the top cell.
I tried googling it and couldn't find a simple answer. How do I take one row and apply it to multiple rows? For example in one row I have 'State" and I want to copy it in the same column just all the way down (multiple rows).
I am using Excel 2007.
Shift-click the entire column (or range of rows), and then hit Fill->Down.
Though, where Fill is depends on what version of Excel you're running.
On 2007, Fill is located on the top right of the Home tab on the ribbon, in the Editing control box.
First Select to copy the Row which is to be copied from its next row. example - A1 to E1 is to be copied from A2:E2 to A420:E420
Then press Ctrl+G for GOTO option and enter destination cell number Example A420 and press to go there
From The cell number A420, Press Ctrl+Shift and Up Arrow and then all the cells between A420 to Cell Number A1 will be selected to copy .
Again press Shift+Down arrow one step to deselect The First Row / CELL A1 Row which has the content to copy from A2 Row to A420 Row.
Now press ENTER button bywhich the first row/ has been copied upto A420 Row