Splitting a character into different cells without a delimiter - google-sheets-api

everyone
I would like to know how to split something like }{ )( ++ ** into 2 different cells in excel/google sheets i tried using the split function in google sheets but it requires a delimiter, i was successful in using excel's split to column toolbox but google sheets (I cant find one, it asks fore either a space , | etc or custom) but i cant be ""
data tab > text to column> fixed width > data columns
click on the arrow
and make the lines even by columns
works, question is how do i do that in google sheets?

You may try using the sample formula if you have a common pattern as given in Google Docs Forum.
However, as discussed in Combining and Splitting Data in Spreadsheets, delimiter is a character upon which you will split the contents of the Spreadsheets cell and using it is still required.
With reference to the given example:
if you want to split the text contained in the column A, using the delimiter " " (space), we will first need to insert an extra column. This will insure the formula doesn’t replace what is currently in column B.

Related

Multiple substitue or replace text in excel using a table

I'd like to create a super substitute function in excel (if there is such a thing). For my needs, nesting is insufficient because my substitution list is long.
What I'd like to do is have a named table with two columns for the function to use as a look-up for potential substitutions. The first column would contain the original text and the second would contain the replacement text.
If we look at the above example, the columns R and S consists of my table, with column R as the original text that I wanted replaced with the equivalent row entry in column S, if found in my list. My data in column V is the list that I want to work on. I want the formula in column W to look at the equivalent entry in column V and lookup in the table for any matches within the text. If there is a match, then I want that text from column R replaced with the text in column S. In some cases there can be 2 matches, as with the top example of 'LHR:JFK' which should ideally get replaced to 'LON:NYC'.
There are ways to do this with VBA but I would like to know if there is an Excel formula option for the same as I don't know where to begin with VBA.
Your help is greatly appreciated.
Thanks,
Neha
This will do as you ask:
=SUBSTITUTE(SUBSTITUTE(V2,LEFT(V2,3),IFERROR(VLOOKUP(LEFT(V2,3),R:S,2,FALSE),LEFT(V2,3))),RIGHT(SUBSTITUTE(V2,LEFT(V2,3),IFERROR(VLOOKUP(LEFT(V2,3),R:S,2,FALSE),LEFT(V2,3))),3),IFERROR(VLOOKUP(RIGHT(SUBSTITUTE(V2,LEFT(V2,3),IFERROR(VLOOKUP(LEFT(V2,3),R:S,2,FALSE),LEFT(V2,3))),3),R:S,2,FALSE),RIGHT(SUBSTITUTE(V2,LEFT(V2,3),IFERROR(VLOOKUP(LEFT(V2,3),R:S,2,FALSE),LEFT(V2,3))),3)))

Text Manipulation nestled within a Query (Or ArrayFormula) (Google Sheets)

I'm trying to Query some data in my spreadsheet, returning a manufacturer based on product code. We code our products with a three digit suffix that corresponds to different customers. I know the codes but people viewing the sheet may not.
Right now, I'm trying to split the suffix from the product and perform the wuery in the same formula.
I can do this in two steps, splitting the suffix from the code and querying just the suffix, but I want to know if I can do this all in one code. My current formula returns the data I want but it does not fill the entire range of the sheet. I would rather have this happen automatically as the workbook will be dynamic.
My current formula is:
=QUERY(CxSeries,"select B where C CONTAINS '"&right(Code,3)&"' ")
https://docs.google.com/spreadsheets/d/190kom4q0XOJP4UdLTJpZf5tuJCQTflcuokRp_FJ4pBc/edit?usp=sharing
I'm not sure if query is the right way to go about this, but I'd prefer to stick to that (just because i honestly can't wrap my head around ArrayForumlas).
Thank you,
Clear all formulas you have in column C and enter in C7
=ArrayFormula(vlookup(regexextract(D7:D16,"-(\d+)$")+0, {Sheet5!C6:C,Sheet5!B6:B}, 2, 0))

Excel Macro to Search Single Worksheet for List containing Approx 30 numbers of strings each with eight characters

I have a list of approximately 30, eight character strings (ex. "BOFAUS3N") that I want to use as a search list for a spreadsheet of wire transfer data. I'd like the search to be conducted on all cells with results added to one of three tabs.
Example(Assuming searched data is on Tab 1):
BOFAUS3N, BOFAUS6S, etc. on Tab 2
BOFAUS3M, etc. on Tab 3
BOFAUS3D, etc. on Tab 4
I'm not very familiar with VBA, so any help would be much appreciated!
You might get what you are looking for using the VLOOKUP function built into Excel.
If not familiar with it, you select a sorted set of keys (search values) make sure you have both $s in the range because you don't want it to change. Then you select the range you are searching over, give it the index of whatever column from that range you want to return, and a flag for exact match which you want in this case.
You would use this method only highlighting the keys you want related to each tab.
Office Reference

Adding Hyperlinks with VBA

I have two columns in an Excel sheet containing Project names (Column A) and Fields (Column B) and I'm trying to add hyperlink for each row to local files. There's one specific local file for each row.
I don't know how to use Hyperlink function to get the corresponding URLs automatically because there are around 10,000 Project names. I also don't know if it is easier to use VBA.
The URLs are all identical except from "projects":
\nas1\backup\dop4\jobdata\projects\34s\34038 - 10 Wharaora Tce\Structural
The Project name in Column A is something like 34038, 25794 etc. and Filed in Column B is something like Structural, Civil etc.
So my plan is to write a VBA program that adds hyperlinks using URLs constructed from:
\nas1\backup\dop4\jobdata\projects
Because the Project name in column A is 5 digits, I'm thinking of using the LEFT function to get the first two digits to find the files after "Project file".
Folders
Excel file
A data sample will certainly help to understand what you are trying to achieve. Please update your question and then leave a comment to notify people who are watching this thread.
As far as I understand your question, you want to concatenate several cells into a string that can then be used to construct a hyperlink. Consider this screenshot
the formula in cell C2 is
="\nas1\backup\dop4\jobdata\projects\"&LEFT(TEXT(A2,"0"),2)&"s"
Copy down. In D2 you can use the Hyperlink() function to refer to the Address in C2, or wrap a hyperlink function around the formula in C2.

Make a List of numbers formatted with commas from multiple cells to one cell

For starters I have limited experience with VBA and was hoping to accomplish this task with built in excel functions, unfortunately without success. Here is the problem:
I have multiple cells with number values in them (lets say 3 cells each with a value of 1000) and I need that converted to one cell with those same multiple values (on top of each other like a list) and be able to have them formatted with commas at thousands places.
I have been successful at putting them in one cell by using an ampersand and the char(10) function along with formatting to wrap text.
However, now I cannot format with commas. Can this be done without VBA? If not some direction for writing a function would be helpful.
Without VBA
=TEXT(A1,"#,##0")&CHAR(10)&TEXT(B1,"#,##0")&CHAR(10)&TEXT(C1,"#,##0")
For example: