+ Reply to Thread
Results 1 to 23 of 23

Search two numbers at the same time

  1. #1
    Registered User
    Join Date
    08-03-2015
    Location
    volos
    MS-Off Ver
    ms office 2007
    Posts
    16

    Search two numbers at the same time

    for example EXCEL.jpg

    i WANT TO SEARCH FOR TWO CELLS AT THE SAME TIME

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Search two numbers at the same time

    Does order matter? What if E2 was black and E3 was green? Is that a match? Do you just want to return that there is a match or exactly where the match is? How large is your actual data set?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    08-03-2015
    Location
    volos
    MS-Off Ver
    ms office 2007
    Posts
    16

    Re: Search two numbers at the same time

    i want to return that there is exactly the match and the data set is big 300 cells and add every week new infos.

  4. #4
    Forum Expert GeneralDisarray's Avatar
    Join Date
    09-15-2011
    Location
    Pittsburgh, PA, USA
    MS-Off Ver
    Windows Excel 2016
    Posts
    1,416

    Re: Search two numbers at the same time

    What would the answer look like?

    For example, you have the word "GREEN" in cells E2 and E5. Are you expecting to see "E2, E5" in cell N6, and E3 in cell N7 ?
    Remember, saying thanks only takes a second or two. Click the star icon(*) below the post you liked, to give some Rep if you think an answer deserves it.

    Please,mark your thread [SOLVED] if you received your answer.

  5. #5
    Registered User
    Join Date
    08-03-2015
    Location
    volos
    MS-Off Ver
    ms office 2007
    Posts
    16

    Re: Search two numbers at the same time

    No my friend. i have the word green in cell e2 and black e3 (order does matter becuse is one under the other every time) and i want to search green & black with some formula and take me in the cel e2 & e3 like multi-search but not one colour in e3 and other e8. they are pairs...one under the other.

    Sorry for my english

  6. #6
    Forum Expert GeneralDisarray's Avatar
    Join Date
    09-15-2011
    Location
    Pittsburgh, PA, USA
    MS-Off Ver
    Windows Excel 2016
    Posts
    1,416

    Re: Search two numbers at the same time

    Quote Originally Posted by sas1312 View Post
    i want to search green & black with some formula and take me in the cel e2 & e3
    Well, you can't be 'In' more than one cell at a time. But, if you want to SELECT the cells matching this paring, you will need VBA for sure.

    What do you mean by 'take me to the cell e2 & e3' ?

  7. #7
    Registered User
    Join Date
    08-03-2015
    Location
    volos
    MS-Off Ver
    ms office 2007
    Posts
    16

    Re: Search two numbers at the same time

    i mean to show me those cells like ctrl+f which ''take'' you to current cell. i emphasize the cells are one under the other every time. i write green in cell r3 and black in r4 and show me at the panel where are the green in e2 and black e3. SOMETHING LIKE THAT

  8. #8
    Forum Expert GeneralDisarray's Avatar
    Join Date
    09-15-2011
    Location
    Pittsburgh, PA, USA
    MS-Off Ver
    Windows Excel 2016
    Posts
    1,416

    Re: Search two numbers at the same time

    Press the button on the attachment.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    08-03-2015
    Location
    volos
    MS-Off Ver
    ms office 2007
    Posts
    16

    Re: Search two numbers at the same time

    very veryyyyyy good. YES that's the spirit

  10. #10
    Registered User
    Join Date
    08-03-2015
    Location
    volos
    MS-Off Ver
    ms office 2007
    Posts
    16

    Re: Search two numbers at the same time

    What i'M doING now i copy your vba to my book???
    It's ok for my big data??

  11. #11
    Forum Expert GeneralDisarray's Avatar
    Join Date
    09-15-2011
    Location
    Pittsburgh, PA, USA
    MS-Off Ver
    Windows Excel 2016
    Posts
    1,416

    Re: Search two numbers at the same time

    LOL - glad to help.

    να έχεις μια όμορφη μέρα


    ::

    If you need it, here's how to finish up:

    Place this code in a 'code module' in the workbooks VBA project (can you do that)?

    Place the button on the workbook (INSERT>SHAPES from the ribbon) - then right-click on the shape and 'assign macro' (pick buttonPress).

    Please Login or Register  to view this content.
    Last edited by GeneralDisarray; 08-04-2015 at 01:13 PM.

  12. #12
    Registered User
    Join Date
    08-03-2015
    Location
    volos
    MS-Off Ver
    ms office 2007
    Posts
    16

    Re: Search two numbers at the same time

    I have already a vba project sortnumsincell called and i have a little problem....could you help me how i put your vba project?

  13. #13
    Forum Expert GeneralDisarray's Avatar
    Join Date
    09-15-2011
    Location
    Pittsburgh, PA, USA
    MS-Off Ver
    Windows Excel 2016
    Posts
    1,416

    Re: Search two numbers at the same time

    sure, upload the workbook here please. I can add the project.

  14. #14
    Registered User
    Join Date
    08-03-2015
    Location
    volos
    MS-Off Ver
    ms office 2007
    Posts
    16

    Re: Search two numbers at the same time

    how upload the book. which is the icon???

  15. #15
    Forum Expert GeneralDisarray's Avatar
    Join Date
    09-15-2011
    Location
    Pittsburgh, PA, USA
    MS-Off Ver
    Windows Excel 2016
    Posts
    1,416

    Re: Search two numbers at the same time

    You attach a file to a Reply....

    *Instead of pressing "Post Quick Reply" press "Go Advanced"

    *On the next page, below the message box, you will find a button labeled 'Manage Attachments'. Clicking this button will open a new window for uploading attachments.

    *To upload a file from your computer, click the 'Browse' button and locate the file, then click 'Upload'.

    *Once the upload is completed the file name will appear below the input boxes in this window.

    *Press 'Submit Reply' to complete.

  16. #16
    Registered User
    Join Date
    08-03-2015
    Location
    volos
    MS-Off Ver
    ms office 2007
    Posts
    16

    Re: Search two numbers at the same time

    Here you ARE THE GOGIKTON SHEET IS WHERE I WANT TO DO
    Attached Files Attached Files

  17. #17
    Registered User
    Join Date
    08-03-2015
    Location
    volos
    MS-Off Ver
    ms office 2007
    Posts
    16

    Re: Search two numbers at the same time

    I THINK THAT YOU GONNA CRAZY WITH ALL THE FUNCTIONS AND FORMULAS,WHICH I PUT THERE.....I 'M novice in excel

  18. #18
    Forum Expert GeneralDisarray's Avatar
    Join Date
    09-15-2011
    Location
    Pittsburgh, PA, USA
    MS-Off Ver
    Windows Excel 2016
    Posts
    1,416

    Re: Search two numbers at the same time

    Try the attached file.
    Attached Files Attached Files

  19. #19
    Registered User
    Join Date
    08-03-2015
    Location
    volos
    MS-Off Ver
    ms office 2007
    Posts
    16

    Re: Search two numbers at the same time

    sas.jpg

    i have this problem when i turn on the order vba

  20. #20
    Forum Expert GeneralDisarray's Avatar
    Join Date
    09-15-2011
    Location
    Pittsburgh, PA, USA
    MS-Off Ver
    Windows Excel 2016
    Posts
    1,416

    Re: Search two numbers at the same time

    HELP IS ON THE WAY

  21. #21
    Registered User
    Join Date
    08-03-2015
    Location
    volos
    MS-Off Ver
    ms office 2007
    Posts
    16

    Re: Search two numbers at the same time

    what is going wrong with help????

  22. #22
    Forum Expert GeneralDisarray's Avatar
    Join Date
    09-15-2011
    Location
    Pittsburgh, PA, USA
    MS-Off Ver
    Windows Excel 2016
    Posts
    1,416

    Re: Search two numbers at the same time

    Sorry, I have no idea why you are getting that error - I posted a link to this in another thread, thought someone might be able to help.

  23. #23
    Registered User
    Join Date
    08-03-2015
    Location
    volos
    MS-Off Ver
    ms office 2007
    Posts
    16

    Re: Search two numbers at the same time

    ok my friend thanks a lot for your help

+ 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: 0
    Last Post: 02-18-2015, 10:06 AM
  2. Replies: 2
    Last Post: 07-22-2014, 09:20 AM
  3. [SOLVED] search for all unique numbers down a column and print a list of those numbers in another
    By JJGF in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-05-2014, 11:08 PM
  4. [SOLVED] Search Group of Numbers in Cel Rangel and Highligh matched numbers.
    By david gonzalez in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-24-2013, 01:07 AM
  5. Replies: 2
    Last Post: 02-27-2012, 12:24 PM
  6. VBA; loop; search for string, cut/paste then search second time
    By tw9901 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-06-2010, 12:52 AM
  7. List Search Time & Then List Next Search Results on Next Available Line
    By R_S_6 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-05-2009, 09:39 AM

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