How to add multiple links in excel cell? - excel

When I use ALT+ENTER I get multiple lines of text and could not format them as links. Is there any way to get multiple links in one excel cell?

You can use shapes that you can assign with a hyperlink. See https://www.extendoffice.com/documents/excel/916-excel-insert-multiple-hyperlinks.html
Via insert, you can choose a rectangular shape, insert this in the
cell.
Right click the shape and choose 'Hyperlink' and type the
address.
Go to step 1 until enough hyperlinks are created.

Links are tight to cells in Excel, the first link that it detects is the default link for a cell. You can still put :
First link (Alt +Enter), Second Link
But Still only when clicking on the cell, you will be directed to the first link.
As the "links" formatting is map with the cell and no with the text.

Related

In Excel, is it possible to create a hyperlink by combining two cells?

Example:
Cell 1: http.standardlink/
Cell 2: [idnumber]
Result: http.standarlink/[idnumber]
Can I make the result a clickable hyperlink, so that I can quickly create a bunch of buttons to links made up of cell 1 and ID numbers?
I know you can manually make each one a clickable link, but I'm looking for a solution where I can simply put in the ID in one cell, and get a clickable link in the next.
I've previously been able to create the text version of a link by combining the values of a cell, but the actual link would have to be copied and pasted into your browser to access.
Yes, you can make. Use HYPERLINK formula with concatenated cells (&) as an argument: =HYPERLINK($A$2&B2)
Result:

How to have content shown next to a table with hidden rows excel

I have a table with dropdowns that will hide certain rows. To the right of this table, I want to have some content, but can't do this as it will be hidden when these dropdowns are selected. I currently have the content to the bottom right of the sheet and have tried splitting the screen to have them both showing but this does not work either. Any ideas on how I can have the two showing side by side? Thanks!
I've gotten around this by using Text Boxes. After creating the text box, change the properties to "do not move or size".
In the picture below, there are two text boxes.
-- The first one is just static text that you copy/paste in there. This works fine as long as you have the same info displayed all the time.
-- The second one has the ability to be somewhat dynamic, where it references the contents of another cell. That cell can be anywhere (this sheet, another sheet, doesn't matter). So in this example...
Cell L1 formula: =TEXTJOIN(CHAR(10), TRUE,E1:E3)
Textbox formula: =Sheet4!L1
No matter how you filter/hide, those text boxes won't move.

excel show custom vlookup tooltip/popup/comment on over cell

Hope you could help, don't know if its possible.
I'm using Excel to create a layout with some ID's in that layout.
Since it's a layout, I can't just show all information needed as it's too much, so, I would like with a click in that cell or when mouse hover it shows a tooltip/comment with a custom vlookup that search that ID in another sheet. When the user click in a empty cell or takes mouse point to an empty cell the tooltip/comment disappear.
Already make some searches but couldn't find anything. Any suggestions in how to achieve this?
Thanks.

ms excel - data validation for 2 drop down list

I'm looking for the solution in excel data validation for 2 drop down list.
When I choose 1st drop down list 2nd drop down list will auto populate the correct value from table. If user choose 2nd drop down list 1st drop down list will auto populate the value also.
Can someone help me on this issue ?
I attach the sample file for my problem.
enter image description here
enter image description here
thanks!
Sample File
Trying to do a two way I don't think is going to work in the way you are trying so I am not surprised the examples you found were for one-way. I am open to being corrected.
You could hack around it for example using two form control listboxes linked to the same cell so a selection in one updates the other.
Then because an item might be out of view listbox underneath have two cells which use the linked cell to index back into the source lists.
In the example above, there are two list boxes from form controls in developer tab (customize ribbon > add developer tab.
Developer tab form control - 2nd from the right
You add two of these in to the sheet.
Right click format control on each one
Set the input range to the range containing your list of values for that listbox and set the linked cell e.g. G1
Ensure that whilst you select different input ranges for each list box, they should have the same linked cell e.g. G1.
Underneath the listboxes put a formula which uses the linked cell G1 to index back into the source lists for each listbox so you can retrieve the selected value and have it visible, in case not visible within listbox.
Example testing:

Create Excel VBA to delete specific text from cell in one column

I am trying to create an Excel VBA that would delete only a specific part of the cell in only one column.
In Column A, I have a directory values:
For example:
Directoryof K:\data\Admin\
What I would like to do is remove the "Directoryof" from all the cells in column A and leave only the remaining text that follows it.
To create a macro to perform the above follow the below steps:
Click the "Developer" tab on the top menu.
You will find an option "Record Macro".
Click the Record Macro ->
a. A dialog box appears, give your macro a name
b. Shortcut key (if you want) can give by pressing (shift and any key such as
letters)
c. Store macro in : This workbook (this allows your macro to run on this sheet).
Click on "Use Relative References".
Once you are done, just perform the delete operation ( by removing the portion you do not want) on one of the column so that the macro may record the process which you are performing.
Once done, below at the lowest pane you will find Stop Macro option (a small blue square box). Click it to stop the recording of the macro.
Now you are ready with a macro to replicate the same without you performing the operation.
Just goto any other column where you want to perform the operation and click on "Macro" option on the developer tab and then click on your created marco, and you will see the magic happen.
You could probably use regex to accomplish what you are going for. Regular Expressions are often used for finding patterns. If all of your follows the same format, you could break your strings apart into two capture groups with something like:
(.+)([A-Z]:\\.+)
https://regex101.com/r/uD4uJ0/2 <-- this will show you your capture groups
Edit: I updated this link, sorry, originally had the wrong one.
This here How to use Regular Expressions (Regex) in Microsoft Excel both in-cell and loops will show you how to split up capture groups if you are interested.
You could use something like text to columns, fixed width, and split the columns after Directoryof and then copy/paste the values back into column A.
I'm not sure if there's a method to do this without a helper column without VBA. If you can afford to use a second column, you can also use =LEFT(Cell, # of characters) assuming that the part you want to strip off is always "Directoryof" and then copy/paste values back into column A.

Resources