Adding same drop-down value to multiple cells simultaneously - excel

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.

Related

Using TAB to go to next table row in Excel Online or Google Sheets

In Excel when you press TAB in the last column in a table it takes you to the first column in the next row.
How to do this in Excel online or Google Sheets?
Pressing tab in Excel online or Sheets always takes you out of the table, is there some solution for this?
You can obtain similar behaviour if you drag-select an area of cells using the mouse; TAB then moves the active cell through the selected area in the manner described (across the row to the right then next row down beginning on the left).
In addtion, RETURN in this situation moves down columns then across. You can also use SHIFT+TAB or SHIFT+RETURN to move 'backwards' through the selected range. An easy way of highlighting a given range of cells is to define it as a named range, then select it from the Name Box (this selects the whole range).

Excel flash fill rows automatically to adjacent rows until the next value?

I have a spreadsheet file that looks like this:
What I want is to fill the yellow fields with the last value on the left, so for CA it will fill until 26, and NYC until 81 before SG. What's the best way to achieve this, since I have literary hundreds of these?
I have tried using flash fill and paste specials, but they only work for rows downwards, and not for adjacent rows. I also used the Home>Fill series to the right, but then it overlaps another row when I highlight them all (so it shows CA instead of NYC, SG and MC).
Can anybody help me with this problem? Thanks so much!
try this:
select from the cell CA to the last yellow highlighted cell
hit F5 or Ctrl-G to open the Go To dialog
click the Special button
in the dialog tick blanks and hit OK
now only the empty cells are selected.
without changing that selection, type a = sign
hit the left arrow, this will add a cell reference after the = sign
hold down the Ctrl key and hit Enter
Now all previously empty cells have a formula that refers to the cell to the left.
If you want, you can select all cells again and use Paste Special > Values to overwrite the formulas with the result.

How to increment by 1 when copying value to next row in excel without using mouse?

How to increment by 1 when copying value to next row in excel without using mouse ?
For example
GST-17/18/SO-001310
when I copy the above value and paste it in next row, I want it to be increment by 1 i.e how the formula can be used ?
GST-17/18/SO-001311
and so on
If "GST-17/18/SO-001310" is in A1, you can use:
=LEFT(A1,13)&TEXT(RIGHT(A1,6)+1,"000000")
Just select cell, then put mouse to down/right part of cell (until cross shows). click right mouse button and drag cross down. after releasing right mouse button, choose fill series from formatting options.
Enter 3-4 entries manually then select all the entered entries in that row,now drag the bottom end of the selected box downwards.
Highlight the area starting with the populated cell down to the place that you want to fill to.
Alt-H to home menu, fi to select 'fill', s to select 'Series' and tab to type and select autofill using the arrow keys.
This is based on Excel 2016.

Conditional data entry on certain text in excel

I'm after some pointers.
I want to input text into some cells based on the contents of others.
Current formula that I'm using in cell B1 is
=IF(ISERROR(FIND("example",A1)),"no","yes")
So far, so simple. This works. Inputs 'yes' in B1 if 'example' is located in the cell A1, copy down.
However, there are some cells in the B column which have already been formatted with other text in, and I want to apply this formula on the entire spreadsheet without removing the existing text in column B. So far, the only thing I can think of is by putting this formula in the C column, copying down then moving the text from the C column to the B column - but this requires laborious copy and pasting that kind of negates the time saving provided by the formula.
What is the best way to achieve this? Do I need to resort to VB to scan the entire sheet, iterating through A1-A30000 and inserting the requisite text in B column?
Cheers.
Edit:
So, this has been pretty much sorted, with a variety of suggestions.
However, the actual formula I'm using is:
=IF(ISERROR(FIND("example",A1)),"","yes")
as I only want text to be put in columnB if the pattern is found. This has presented another problem! The double quotes signifying no replacement if the pattern ISN'T found actually inserts a 'NULL' character in there; when you try and select the blank cells on the next iteration of the operation, no cells are selected, as even though there is no visible character, Excel thinks there is. xD
This is solved by writing a macro function to remove Null characters.
Excel is infuriating sometimes. :P
All of the information and advice already given is definitely correct and gets the job done,
byt thought I'd add one that does not require ANY changes to the existing data (eg sorting or filtering):
Put your formula as you described is cell B1. Apply any conditional formatting to that cell, as required.
Now select and copy (ctrl+C) cell B1. Select column B (click on column heading).
Then Click find and Select (binoculars icon) - on Home ribbon tab. Choose go to Special.
In the popup choose Blanks and click ok. You will note all blank cells in colum B are selected. Don’t click anything, press Crtl-V.
Voilà, your formula and conditional formatting is pasted into all blank cells, leaving the rest alone.
Quick keyboard sequence:
select B1
Press ‘Ctrl + C’
Ctrl + ‘Space Bar’
Press ‘Ctrl + G’
Press Tab twice to go to ‘Special…’ button, press Enter
Press ‘K’ for blanks, Press Enter
Press ‘Ctrl + V’
(optional) press escape to remove selection from B1
There are a few ways to deal with this. I'll explain 2 of them :
If sorting is an option, sort your table by column B (ascending / A-Z) to get all the empty values at the top. Write your formula in the first blank cell and extend it by double-clicking the bottom-right corner of that cell.
If you cannot sort, apply filters to the table and select only the blank cells in column B. Then write the formula in the first blank cell and extend it by dragging it down to the last cell.
You might combine your existing B column values with those to be added conditionally in a single formula, say in ColumnC, such as:
=IF(ISBLANK(B1),IF(ISERROR(FIND("example",A1)),"no","yes"),B1)
copied down to suit. Then if ColumnB has become redundant, copy ColumnC, Paste Special, Values over the top and delete ColumnB. The result is to convert the formulae to the results thereof, that may increase processing speed but reduce the ease of handling additional rows (if any) subject to the same requirements.

Copy one row to multiple rows in excel

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

Resources