+ Reply to Thread
Results 1 to 4 of 4

Compare 2 sets of cells over different worksheets and return a value in a different cell

  1. #1
    Registered User
    Join Date
    09-13-2017
    Location
    Birmingham, England
    MS-Off Ver
    2010
    Posts
    4

    Compare 2 sets of cells over different worksheets and return a value in a different cell

    Hello,

    Trying to get a value into sheet A from a cell in either sheet B or C where a cell on either sheet B or C equals a certain cell on sheet A.

    I have attached the workbook to understand better. Comments are in the summary sheet in cells C13 & E13.

    Would be so grateful if anyone could help me with a forumla to sort this out.

    Thanks,

    Daniel
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,570

    Re: Compare 2 sets of cells over different worksheets and return a value in a different ce

    I don't believe that what you want is possible using formulas, however it appears to me that the text in B13:B48 on the summary sheet closely matches the sheet names. If you want to get the contractor name from a particular sheet name I feel that the INDIRECT function would work, providing the sheet names and text values match.
    I.E. if there was a contractor name in cell D5 of the GWKS sheet and if Summary B13 read GWKS then you could use: =INDIRECT("'"&B13&"'!D5")
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  3. #3
    Registered User
    Join Date
    09-13-2017
    Location
    Birmingham, England
    MS-Off Ver
    2010
    Posts
    4

    Re: Compare 2 sets of cells over different worksheets and return a value in a different ce

    I can just change the sheet names to match the text in the summary sheet and that formula works, thank you!

    Most appreciated!

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,570

    Re: Compare 2 sets of cells over different worksheets and return a value in a different ce

    You're Welcome and thank you for the feedback. Please take a moment to mark the thread as 'Solved' using the thread tools menu above your first post. I hope that you have a blessed day.

+ 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] Compare two data sets from two worksheets and output into 3 different sheets
    By huyza_0100 in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 06-16-2018, 09:21 PM
  2. Replies: 3
    Last Post: 05-17-2017, 06:16 AM
  3. [SOLVED] I need to compare values in two sets of cells and return exceptions
    By parsenov in forum Excel General
    Replies: 3
    Last Post: 08-27-2015, 08:19 PM
  4. vba compare two sets of values in two worksheets
    By heartsafire1023 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-15-2014, 01:31 AM
  5. [SOLVED] Compare two cells and return a value to a 3rd cell
    By SIM26 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-29-2014, 01:18 PM
  6. [SOLVED] Compare 2 sets of columns and return
    By hoss88 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-18-2013, 07:45 AM
  7. Replies: 3
    Last Post: 07-25-2013, 03:20 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