+ Reply to Thread
Results 1 to 17 of 17

I am trying to query a table by having a input cell which returns all relevant lines

  1. #1
    Registered User
    Join Date
    09-10-2017
    Location
    Auckland,New Zealand
    MS-Off Ver
    2016
    Posts
    59

    I am trying to query a table by having a input cell which returns all relevant lines

    Hi All,

    First of all - My apologies, i was trying to add an excel doc but it wouldn't work so i posted it below.

    I am trying to query a table by having an input cell which then returns all relevant lines from the table containing that input information. I am using a pivot table at the moment but it wont let me return a text cell - i think this is because pivot tables are numerical?


    Page 1

    Random Fruit Class Comment
    X Apple A Okay
    X Apple B Rotten
    X Banana A Okay
    X Banana B Rotten
    X Banana C Maybe
    X Orange A Okay
    X Watermelon A Okay


    Page 2 - Example

    Fruit
    *Input* Banana *Input*

    Fruit Class Comment
    *Output*
    Banana A Okay
    Banana B Rotten
    Banana C Maybe
    *Output*


    Let me know your thoughts,

    Thanks,

    Ad

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

    Re: I am trying to query a table by having a input cell which returns all relevant lines



    To attach an Excel file to your post,
    • click Go Advanced,
    • scroll down until you see Manage Attachments,
    • click that and select Browse,
    • select your file and click Open,
    • click Upload and you will see your attachment below Upload Files from a website
    • click Close this window,
    • click Submit reply

    After that you should see attachment in your post

  3. #3
    Registered User
    Join Date
    09-10-2017
    Location
    Auckland,New Zealand
    MS-Off Ver
    2016
    Posts
    59

    Re: I am trying to query a table by having a input cell which returns all relevant lines

    I dont think it will attach for some reason. I have been able to attach files in the past following the same procedure i am now so i dont know why it wont work. Firewall prehaps?

  4. #4
    Registered User
    Join Date
    09-10-2017
    Location
    Auckland,New Zealand
    MS-Off Ver
    2016
    Posts
    59

    Re: I am trying to query a table by having a input cell which returns all relevant lines

    Thanks for the reply again Sandy btw

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

    Re: I am trying to query a table by having a input cell which returns all relevant lines

    there is some limitations:
    xlsx < 1 MB
    xlsm < 1 MB
    xlsb < 10 MB

  6. #6
    Registered User
    Join Date
    09-10-2017
    Location
    Auckland,New Zealand
    MS-Off Ver
    2016
    Posts
    59

    Re: I am trying to query a table by having a input cell which returns all relevant lines

    Its xlsx - 10.3 KB (10,586 bytes)

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

    Re: I am trying to query a table by having a input cell which returns all relevant lines

    • log out
    • log in
    • try again
    • paste here warning what you should see if file cannot be attached
    • show the filename

    file cannot be like this: ~$name_of_file...
    Last edited by sandy666; 12-16-2017 at 11:58 PM.

  8. #8
    Registered User
    Join Date
    09-10-2017
    Location
    Auckland,New Zealand
    MS-Off Ver
    2016
    Posts
    59

    Re: I am trying to query a table by having a input cell which returns all relevant lines

    Ye i have no idea what going on.I tried all that. And i have uploaded files in the past. All i can do for now is post as i did above.

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

    Re: I am trying to query a table by having a input cell which returns all relevant lines

    upload file here then paste link for download: http://www.tinyupload.com/

  10. #10
    Registered User
    Join Date
    09-10-2017
    Location
    Auckland,New Zealand
    MS-Off Ver
    2016
    Posts
    59

    Re: I am trying to query a table by having a input cell which returns all relevant lines


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

    Re: I am trying to query a table by having a input cell which returns all relevant lines

    ok, got it, now you can back to tinyupload and use link for deleting this file

  12. #12
    Registered User
    Join Date
    09-10-2017
    Location
    Auckland,New Zealand
    MS-Off Ver
    2016
    Posts
    59

    Re: I am trying to query a table by having a input cell which returns all relevant lines

    Thanks for all your helo. Very much appreciated.

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

    Cool Re: I am trying to query a table by having a input cell which returns all relevant lines

    do you really need single cell with keyword and table filtered by this keyword
    or
    filter in PivotTable will be enough ?
    Attached Files Attached Files

  14. #14
    Registered User
    Join Date
    09-10-2017
    Location
    Auckland,New Zealand
    MS-Off Ver
    2016
    Posts
    59

    Re: I am trying to query a table by having a input cell which returns all relevant lines

    Thats perfect thanks Sandy.

    I thought that having a separate cell would look better but then realized issues would arise over entering in the exact code.

    Thanks again. Unfortunately it says i cant give you any more rep =(

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

    Re: I am trying to query a table by having a input cell which returns all relevant lines

    Quote Originally Posted by adamire View Post
    Thanks again. Unfortunately it says i cant give you any more rep =(
    You are welcome

    You cannot add more rep to the same person one by one, you need add rep to someone else before add rep to the previous person

  16. #16
    Registered User
    Join Date
    09-10-2017
    Location
    Auckland,New Zealand
    MS-Off Ver
    2016
    Posts
    59

    Re: I am trying to query a table by having a input cell which returns all relevant lines

    no-one else ever helps me lol

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

    Re: I am trying to query a table by having a input cell which returns all relevant lines

    but I see you add rep from another thread thanks.
    anyway rule is like I said above : 1st person - rep, 2nd person - rep, 1st person - rep and so on...
    or you need to wait, but I don;t know how long, to add rep again

+ 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. Replies: 9
    Last Post: 11-29-2017, 01:32 PM
  2. Macro to look up cell in table and paste relevant information.
    By jimbobakoo in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 05-19-2014, 10:06 AM
  3. message input box returns lines/rows based on the input
    By excelandclark in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 06-03-2013, 07:35 PM
  4. Input text relevant to another cell
    By Kris.Elder in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-13-2012, 10:19 AM
  5. putting all relevant lines together
    By zazzz in forum Excel General
    Replies: 2
    Last Post: 10-10-2012, 03:11 PM
  6. ERROR: "Query Input must contain atleast one table or query"
    By Decoderman in forum Access Programming / VBA / Macros
    Replies: 1
    Last Post: 05-13-2011, 11:36 AM
  7. [SOLVED] Cube returns dimension from whole table, not from query?
    By Vadim Rapp in forum Excel General
    Replies: 0
    Last Post: 07-28-2005, 02:06 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