+ Reply to Thread
Results 1 to 9 of 9

Formula to Locate Matching Data in Worksheets and return a value to a specified Cell

  1. #1
    Forum Contributor
    Join Date
    06-25-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2016
    Posts
    615

    Formula to Locate Matching Data in Worksheets and return a value to a specified Cell

    Hi Folks
    Yet another one of these.
    I have attached a workbook to explain my requirement.

    Cheers
    Hammer
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    02-05-2013
    Location
    Jakarta, Indonesia
    MS-Off Ver
    Excel 2013
    Posts
    571

    Re: Formula to Locate Matching Data in Worksheets and return a value to a specified Cell

    on cell bz3

    Please Login or Register  to view this content.
    Note: array formula, use CTRL+SHIFT+ENTER
    Click (*) if you received helpful response.

    Regards,
    David

  3. #3
    Forum Contributor
    Join Date
    06-25-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2016
    Posts
    615

    Re: Formula to Locate Matching Data in Worksheets and return a value to a specified Cell

    Hi David
    Many thanks for the response.
    Unfortunately the formula is not working correctly as it has returned the value 1 into the first 5 rows.

    I am just going to make a new example sheet with color coding for each step which should assist in understanding what I am trying to achieve.
    Back soon.
    Cheers
    Hammer

  4. #4
    Forum Contributor
    Join Date
    06-25-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2016
    Posts
    615

    Re: Formula to Locate Matching Data in Worksheets and return a value to a specified Cell

    Updated workbook
    Attached Files Attached Files

  5. #5
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Formula to Locate Matching Data in Worksheets and return a value to a specified Cell

    =IFERROR(IF(C2="","",MATCH(1,INDEX((OFFSET(HHCP!$A$1,2,MATCH(BZ$1,HHCP!$1:$1,0)-1,137,1)=$C2)*(OFFSET(HHCP!$A$1,2,MATCH(BZ$1,HHCP!$1:$1,0),137,1)=$H2)*(OFFSET(HHCP!$A$1,2,MATCH(BZ$1,HHCP!$1:$1,0)+1,137,1)=$G2)*(OFFSET(HHCP!$A$1,2,MATCH(BZ$1,HHCP!$1:$1,0)+2,137,1)=$D2)*(OFFSET(HHCP!$A$1,2,MATCH(BZ$1,HHCP!$1:$1,0)+3,137,1)=INDEX($A2:$BY2,MATCH(BZ$1,$A$1:$BY$1,0))),0),0)>0)*1,"")
    Try this in BZ2 and copy across

    see the attached file
    Attached Files Attached Files
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  6. #6
    Forum Contributor
    Join Date
    06-25-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2016
    Posts
    615

    Re: Formula to Locate Matching Data in Worksheets and return a value to a specified Cell

    I think you have nailed it Siva! (I suspect you knew that though )

    I'll just xfer to my actual Workbook before marking the thread as solved.

    Back soon

  7. #7
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Formula to Locate Matching Data in Worksheets and return a value to a specified Cell

    hi hammer, i never seen this before
    your booth sheets have some common headings, so i thought that you are looking for it. here my guess was correct, that's all

  8. #8
    Forum Contributor
    Join Date
    06-25-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2016
    Posts
    615

    Re: Formula to Locate Matching Data in Worksheets and return a value to a specified Cell

    Well I really liked your 'guess'

    Your time, effort, expertise and 'guess' are greatly appreciated!
    Cheers
    Hammer

  9. #9
    Forum Contributor
    Join Date
    06-25-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2016
    Posts
    615

    Re: Formula to Locate Matching Data in Worksheets and return a value to a specified Cell

    Hi Siva
    Just one further assist please. I need to extend the Cols in HHCP to and including Col KI so need to know what to change in the formula to make that work.
    Thanks 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. [SOLVED] Formula to Locate Matching Data in Worksheets and return a value to a specified Cell
    By hammer2 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-05-2014, 11:38 PM
  2. [SOLVED] Formula to Locate Matching Data in Worksheets and return a value to a specified Cell
    By hammer2 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-09-2014, 12:30 AM
  3. Replies: 5
    Last Post: 10-26-2014, 10:37 PM
  4. Search multiple worksheets for matching cell value and return cell location as a hyperlink
    By wickedsparrow in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-05-2013, 08:47 PM
  5. [SOLVED] how do I locate a cell that provides data to a formula ?
    By chrisatminara in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-06-2005, 11: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