+ Reply to Thread
Results 1 to 1 of 1

Question about if this excel/google sheet function is possible

  1. #1
    Registered User
    Join Date
    09-19-2019
    Location
    Oregon, USA
    MS-Off Ver
    google sheets
    Posts
    1

    Question about if this excel/google sheet function is possible

    Hi,

    So I'm trying to create a function for work so I can't give exact details (which makes it hard) but essentially I'm trying to create a long URL.

    On my google sheet, I have two sheets, Sheet A & Sheet B.

    On Sheet A there are 7 columns.
    • 1st column can be left empty depending on if I need something from Sheet B which I will get into later.
    • 2nd -6th column I enter different things and are required. It concatenates everything key terms and whatever is added into those cells. These columns cannot be changed as they are the minimum requirement for this excel sheet to work.
    • 7th column spits out the URL I need. I have a IF function to say if 1st column is empty, then concatenate key terms and values in 2nd to 6th column. If 1st column has a value, I have a v lookup to pull an exact match from Sheet B, then concatenate key terms and values in 2nd to 6th column.

    On Sheet B I have parts of a URL that are needed if there is a value in the 1st column in Sheet A.
    • 1st column contains the value entered into the 1st column on Sheet A.
    • 2nd column shows the part of the URL that the 7th column from Sheet A will spit out if 1st column from Sheet B is entered.

    The part of the URL shown in the 2nd column of Sheet B is comprised of two things. The first part of it is what category the value in 1st column is (product, gender, age, language, etc), and the second part is the actual value. I will be calling this (A) and (B) respectively. These are separated by an & sign.

    My goal is to be able to combine multiple Sheet B 1st column values together, and connect them to the concatenated URL in Sheet A.

    The 3 problems I have that need to be fixed are:
    • When multiple Sheet B 1st column values are combined together, the URL is broken into category then actual value. For example if I want green & plants, the URL is category (in this case, color and product) then green&plants. So the resulting URL is something like color1&product2&1=green&2=plants . It also adds a number after the category as shown in the URL on the left.
    • When I have multiple values that are of the same category, it is separated by a %7C. For example if I want green & blue, the URL is color&green%7Cblue .
    • The other issue is, on Sheet A 1st column, I want to be able to add multiple values and pull multiple values from Sheet B with the above two problems solved, in 1 cell. So two or more values in a cell.

    I can also add a sample spreadsheet that does not have all the URL's I need for work but some other random words. This is a very confusing question and I would like to get this solved if possible!
    Last edited by nikeman88; 09-19-2019 at 06:58 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Synchronize multiple users one particular excel work sheet in google sheet?
    By bala04msw in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-07-2018, 04:22 AM
  2. COUNTUNIQUE Function in Google Sheets; Excel lacks a direct counterpart to this function?
    By PivotTablePSHomage in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-18-2018, 05:27 AM
  3. [SOLVED] Google excel if function
    By Ditch1983 in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 3
    Last Post: 03-15-2015, 03:45 AM
  4. [ASK] How to Optimize function in Google Sheet for large data
    By qiyusi in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 0
    Last Post: 10-31-2014, 06:06 AM
  5. google spreadsheet need function/code to pull data from one sheet to another
    By venusrena in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 1
    Last Post: 04-27-2013, 04:48 AM
  6. Question on ability to connect Excel with Google Earth
    By PCAg in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-11-2012, 05:23 AM
  7. Replies: 3
    Last Post: 02-03-2010, 01:32 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1