+ Reply to Thread
Results 1 to 3 of 3

Help with formula for referencing cells in another worksheet

  1. #1
    Registered User
    Join Date
    08-14-2021
    Location
    usa
    MS-Off Ver
    2010
    Posts
    3

    Thumbs up Help with formula for referencing cells in another worksheet

    Hello all! First time poster!

    This seems like a very active and helpful community so I figured I'd come to yall for some help!



    I have two worksheets.

    This is SHEET1:

    sheet1.JPG


    And this is SHEET2:

    sheet2.JPG


    Column B of Sheet1 (titled NEW COLUMN) was manually filled with values for the purpose of showing what it should look like after a successful formula is in place. I need help writing this Formula for NEW COLUMN (Column B).

    Basically I want each value of Sheet1, Column A to be checked against each value of Sheet 2, Column A. If there is a matching value in Sheet 2, Column A, then I want the value from the corresponding value from Sheet 2, Column B to be inserted into the matching Sheet 1, Column B (titled NEW COLUMN) cell. If there is no matching value in Sheet 2, Column A, I want to return a value of '0' to the cell in the Sheet1, Column B (titled NEW COLUMN).

    Hopefully the screenshots I've included explain what I am trying to do. If you reference the screenshot for Sheet 1 and Sheet2, you will see the the Sheet1.A4 is the only value that matches any of the values in Sheet 2, Column A.

    In this case, Sheet1.A4 matches Sheet2.A2 so the value of Sheet2.B2 is populated in Sheet1.B4. All other values in Sheet1, Column A do not match up with any values of Sheet2, Column A, so a value of 0 is populated in the corresponding cells in Sheet1, Column B.

    How would I achieve this result for Sheet 1, Column B with the help of a formula?

    Thank you in advanced for your help... I hope I explained it okay and it isn't too confusing!
    Last edited by lolwaut; 08-14-2021 at 05:59 PM.

  2. #2
    Registered User
    Join Date
    08-14-2021
    Location
    usa
    MS-Off Ver
    2010
    Posts
    3

    Re: Help with formula for referencing cells in another worksheet

    I just realized I posted this in the wrong section. Can a mod please move this over to the Formulas subforum? Thank you.

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,158

    Re: Help with formula for referencing cells in another worksheet

    Try
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ 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. Referencing Cells in another Worksheet
    By alanos206 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-21-2018, 03:12 PM
  2. Referencing Cells from another Worksheet
    By Matt_jay50 in forum Excel General
    Replies: 1
    Last Post: 08-07-2009, 03:17 PM
  3. Referencing Worksheet Cells
    By Mike1w in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-30-2008, 01:13 PM
  4. CountIF() in Worksheet B while referencing cells in Worksheet A
    By jfj3rd in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-14-2006, 06:30 PM
  5. CountIF() in Worksheet B while referencing cells in Worksheet A
    By jfj3rd in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-14-2006, 02:40 PM
  6. [SOLVED] Same formula referencing same cells returns incorrect results, randomly, when pasted into new worksheet
    By michelleelaine@hotmail.com in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-09-2006, 04:00 PM
  7. Replies: 0
    Last Post: 03-15-2005, 07: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