+ Reply to Thread
Results 1 to 8 of 8

Find data in same position in 2 cells.

  1. #1
    Forum Contributor
    Join Date
    08-29-2012
    Location
    Slough
    MS-Off Ver
    Excel 2007
    Posts
    469

    Find data in same position in 2 cells.

    Hi,

    I have a spreadsheet that shows skills of different people. What I would like to do is to search for the skill 'PST' and return the date that is in the same position. For example, in B2 PST is the second skill, so I would like to return the second date. Normally I would have a go myself but I don't even know where to start here.

    Thanks,

    Danny
    Attached Files Attached Files
    Last edited by DannyJ; 05-18-2017 at 08:32 AM.

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Find data in same position in 2 cells.

    Attach a sample spreadsheet with expected results, remove any sensitive data, create a mockup example if necessary.
    Use the Go Advanced option at the bottom of the page then scroll down to Manage Attachments as the "paperclip" method does not work on this forum.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,735

    Re: Find data in same position in 2 cells.

    It would help if you attached a sample Excel workbook, so we can see how your data is laid out and what you want to achieve might be a bit clearer.

    To do this, click on Go Advanced (below the Edit Window) while you are composing a reply, then scroll down to and click on Manage Attachments and the Upload window will open. Click on Browse and navigate to (and double-click) the file icon that you want to attach, then click on Upload and then on Close this Window to return to the Edit window. When you have finished composing your post, click on Submit Post.

    Note that the Paperclip icon does not work.

    Pete

  4. #4
    Forum Contributor
    Join Date
    08-29-2012
    Location
    Slough
    MS-Off Ver
    Excel 2007
    Posts
    469

    Re: Find data in same position in 2 cells.

    Apologies. I did mean to attach. It has been added now.

  5. #5
    Forum Contributor
    Join Date
    08-29-2012
    Location
    Slough
    MS-Off Ver
    Excel 2007
    Posts
    469

    Re: Find data in same position in 2 cells.

    Can anyone help with this? Even if someone points me in the right direction I am happy to try the code myself. I feel like I need to count the amount of commas before I find the word PST and then use that to count commas to find the matching date. No idea how to do this.

  6. #6
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Find data in same position in 2 cells.

    Hi DannyJ,

    Give this a try.... I have added a check that makes sure that your data in column b has enough dates to match the position of PST in column B, just in case... this should avoid errors if the situation happens that there are 2 dates, but somehow PST is position 4.... It may not be needed if the data always lines up, but this way you avoid errors.

    Please Login or Register  to view this content.
    Please help by:

    Marking threads as closed once your issue is resolved. How? The Thread Tools at the top
    Any reputation (*) points appreciated. Not just by me, but by all those helping, so if you found someone's input useful, please take a second to click the * at the bottom left to let them know

    There are 10 kinds of people in this world... those who understand binary, and those who don't.

  7. #7
    Forum Contributor
    Join Date
    08-29-2012
    Location
    Slough
    MS-Off Ver
    Excel 2007
    Posts
    469

    Re: Find data in same position in 2 cells.

    Apologies for the delay in replying. This worked perfectly. Thank you !

  8. #8
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Find data in same position in 2 cells.

    Hi Danny,

    No worries on the delay, I'm glad the solution worked for you, and thanks for the rep and for marking the thread as solved!

+ 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. [SOLVED] Excel VBA to extract data from relative position cells with respect to data cells
    By mchilapur in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-14-2016, 12:36 AM
  2. Replies: 1
    Last Post: 07-27-2014, 10:57 AM
  3. Find all data base on their position
    By Adamlearnexcel in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-12-2012, 03:20 AM
  4. Replies: 1
    Last Post: 06-22-2012, 08:59 PM
  5. Replies: 8
    Last Post: 11-07-2009, 09:48 PM
  6. Replies: 3
    Last Post: 08-17-2005, 05:32 PM
  7. [SOLVED] How to find out merge cells from unknown position
    By K.boy in forum Excel General
    Replies: 3
    Last Post: 03-28-2005, 06:06 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