+ Reply to Thread
Results 1 to 6 of 6

How to merge two functions in a single cell

  1. #1
    Registered User
    Join Date
    04-10-2015
    Location
    Bangladesh
    MS-Off Ver
    Windows 2013
    Posts
    39

    How to merge two functions in a single cell

    Hi,

    I am trying to merge following formulas in a single cell -

    =IF(ISNUMBER(A2) + IFERROR(FIND(".com",A2),0) + IFERROR(FIND(".org",A2),0) + IFERROR(FIND(".net",A2),0) + IFERROR(FIND("www.",A2),0) + IFERROR(FIND("com.",A2),0) + IFERROR(FIND("300x250",A2),0) + IFERROR(FIND("728x90",A2),0) + IFERROR(FIND("/",A2),0) + IFERROR(FIND("_",A2),0) + IFERROR(FIND("Android",A2),0) + IFERROR(FIND("ios",A2),0) + IFERROR(FIND("Application",A2),0) + IFERROR(FIND("android",A2),0) + IFERROR(FIND("Ios",A2),0) + IFERROR(FIND("application",A2),0) + IFERROR(FIND("ANDROID",A2),0) + IFERROR(FIND("IOS",A2),0) + IFERROR(FIND("APPLICATION",A2),0) + IFERROR(FIND("300*250",A2),0) + IFERROR(FIND("728*90",A2),0) + IFERROR(FIND("IPHONE",A2),0) + IFERROR(FIND("Iphone",A2),0) + IFERROR(FIND("iphone",A2),0) + IFERROR(FIND("300",A2),0) + IFERROR(FIND("728",A2),0) + IFERROR(FIND("320",A2),0) + IFERROR(FIND("50",A2),0) + IFERROR(FIND(".COM",A2),0) + IFERROR(FIND(".ORG",A2),0) + IFERROR(FIND(".NET",A2),0) + IFERROR(FIND("WWW.",A2),0) + IFERROR(FIND("COM.",A2),0) + IFERROR(FIND("300x250",A2),0) + IFERROR(FIND("728x90",A2),0) + IFERROR(FIND("/",A2),0) + IFERROR(FIND("_",A2),0) + IFERROR(FIND("aNDROID",A2),0) + IFERROR(FIND("iOS",A2),0) + IFERROR(FIND("aPPLICATION",A2),0)> 0,A2,"")

    AND

    =IFERROR(VLOOKUP(A2,Applist!$B$2:$C$6085, 2, FALSE), "")

    but unable to make it perfectly. Would you please help me to solve it.

    Here is my google doc link - https://docs.google.com/spreadsheets...GIn8Ndg-c/edit where I am working now. You can check this to get relevant data.

    Best,
    Rinko.

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: How to merge two functions in a single cell

    First I would change this long formula to:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    where temp_rng is a list (named range) of your find_text parameter
    but the rest I will try to understand

    It would be good to see final result.

    EDIT:
    you can join two formulas by &, like:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    but I think this is not what you are looking for
    Last edited by sandy666; 03-28-2016 at 08:43 PM.

  3. #3
    Registered User
    Join Date
    04-10-2015
    Location
    Bangladesh
    MS-Off Ver
    Windows 2013
    Posts
    39

    Re: How to merge two functions in a single cell

    Hi sandy,

    Thank You so much, though I don't have that much knowledge for excel formula. This formula seems totally different formula that I was thinking, Hope it will work.
    Thank you again.

    best,
    RInko.

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: How to merge two functions in a single cell

    Try and ask if you have any question.

  5. #5
    Registered User
    Join Date
    04-10-2015
    Location
    Bangladesh
    MS-Off Ver
    Windows 2013
    Posts
    39

    Re: How to merge two functions in a single cell

    Hi Sandy,

    It is working perfectly. Just little more query. is there any way to present those "temp_rng" in a common name ? like - if formula matched 300x250 then it will show "Blocked apps"

    best,
    Rinko

  6. #6
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: How to merge two functions in a single cell

    Define and use names in formulas

    temp_rng is a list (named range) of your:
    com.
    org.
    WWW.
    www.
    aNDROID
    .org
    .........
    etc.

    this is what you are looking for in first part of formula. You are looking "com." in A2 but...
    the second part (with VLOOKUP) looking value of A2 in another sheet in B:C and return value from C
    this is two different values to lookup and two different results.

    or I don't understand

    maybe you want:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    edit:
    1. you need to create list of your all find_text parameters
    2. if you want use range you should use: e.g. Sheet6!$A$1:$A$2 not only Sheet6!A1:A2
    3. read more about named range you can define named range in Google sheet also

    1. Open a spreadsheet in Google Sheets.
    2. Select the cells you want to name.
    3. Click Data > Named ranges. A menu will open on the right.
    4. Type the range name you want.
    5. To change the range, click Spreadsheet Grid.
    6. Select a range in the spreadsheet or type the new range into the text box, then click Ok.
    7. Click Done.
    Range names:
    • Can contain only letters, numbers, and underscores.
    • Can't start with a number, or the words "true" or "false."
    • Can't contain any spaces or punctuation.
    • Must be 1–250 characters.
    • Can't be in either A1 or R1C1 syntax. For example, you might get an error if you give your range a name like "A1:B2" or "R1C1:R2C2."


    etc.... etc...
    Last edited by sandy666; 03-28-2016 at 10:28 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. Merge values in a single cell based on condition
    By bajrang2101 in forum Excel General
    Replies: 3
    Last Post: 12-09-2014, 06:45 AM
  2. [SOLVED] Multiple functions from single cell
    By Nick1966 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-15-2014, 07:31 AM
  3. Is it possible to use multiple IF functions within a single cell?
    By Jilian in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-22-2013, 12:25 PM
  4. Way to merge 3 userform comboboxs' data into a single cell, such as a date?
    By smaier69 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-22-2012, 09:47 PM
  5. Replies: 4
    Last Post: 09-02-2012, 07:49 AM
  6. Combine These Functions to a Single Cell
    By BigMike66 in forum Excel General
    Replies: 2
    Last Post: 10-21-2009, 02:13 AM
  7. Merge column into a single cell
    By Gmoney in forum Excel General
    Replies: 3
    Last Post: 05-15-2006, 04:21 PM

Tags for this Thread

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