+ Reply to Thread
Results 1 to 11 of 11

find intersection and delimit the values

  1. #1
    Forum Contributor
    Join Date
    06-15-2012
    Location
    beirut
    MS-Off Ver
    Excel 2007
    Posts
    212

    find intersection and delimit the values

    dear, i have command button delimits the value of cells i choose and put the result in sheet "pure" from column "C3:E" ( see attached file ) .
    what i need is edit the code to be , example if i select range of cells as "C4:C5" i want to search to the word "Heading5" in row2 and get the intersections between cells i selected and column of "Heading5" "F4:F5" , then delimit them in sheet "pure" in column "C3" and "D3" and "G3" and in column "B3" paste the cells i select it i.e " B , C ".
    note : the word "Heading5" not always exist in same column , so i need to search it in all row2 .

    see attache file

    Best Regards

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,799

    Re: find intersection and delimit the values

    You have not attached the file.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: find intersection and delimit the values

    It's in each of the other two threads that he started. Look there.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,799

    Re: find intersection and delimit the values

    Ah, OK - I wasn't aware of the duplication. Thanks.

  5. #5
    Forum Contributor
    Join Date
    06-15-2012
    Location
    beirut
    MS-Off Ver
    Excel 2007
    Posts
    212

    Re: find intersection and delimit the values

    sorry for duplication , there was an error to post the thread , how can i close this thread ?

  6. #6
    Forum Contributor
    Join Date
    06-15-2012
    Location
    beirut
    MS-Off Ver
    Excel 2007
    Posts
    212

    Re: find intersection and delimit the values

    see attached file

  7. #7
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: find intersection and delimit the values

    I think this will do what you want.
    Please Login or Register  to view this content.
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  8. #8
    Forum Contributor
    Join Date
    06-15-2012
    Location
    beirut
    MS-Off Ver
    Excel 2007
    Posts
    212

    Re: find intersection and delimit the values

    great code , thank you very much Mr. mikerickson , the code works well .

    Best Regards

  9. #9
    Forum Contributor
    Join Date
    06-15-2012
    Location
    beirut
    MS-Off Ver
    Excel 2007
    Posts
    212

    Re: find intersection and delimit the values

    dear Mikerickson, the code split the data just from the column "F:F" as fix , but what i want is to search in Row2 for word "heading5" it may be in column "F" and sometime in another column "H" or "L" or any column another and then split the data . so the intersection must be between the selection data and the column that have "headin5" , so if you please can you to edit the code ?, also if you can i need the code to give me a message "there is no data" if the intersection between selection and the column of "heading5" is not numbers to split it .


    Best Regards

  10. #10
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: find intersection and delimit the values

    Replace
    Please Login or Register  to view this content.
    with

    Please Login or Register  to view this content.

  11. #11
    Forum Contributor
    Join Date
    06-15-2012
    Location
    beirut
    MS-Off Ver
    Excel 2007
    Posts
    212

    Re: find intersection and delimit the values

    yessss this is what i want , i'm very thankful Mr. Mikerickson the code works very well .

    thank you

+ 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: 2
    Last Post: 04-13-2016, 09:53 AM
  2. Replies: 7
    Last Post: 04-10-2016, 11:24 AM
  3. Replies: 3
    Last Post: 11-19-2014, 02:45 PM
  4. VBA to find the range at the intersection of two values.
    By Benisato in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-31-2013, 06:10 PM
  5. How to find point of intersection of 2 graphs
    By hellmett in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-11-2012, 11:00 AM
  6. How do I find a value at the intersection of a column and a row?
    By brianalucas in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-01-2010, 08:02 PM
  7. find a value at an intersection?
    By Ellen G. in forum Excel General
    Replies: 4
    Last Post: 06-29-2006, 03:40 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