+ Reply to Thread
Results 1 to 2 of 2

VBA Code to pull data from two colums and return Yes value

  1. #1
    Registered User
    Join Date
    12-19-2018
    Location
    Wagga Wagga, Australia
    MS-Off Ver
    2016
    Posts
    1

    VBA Code to pull data from two colums and return Yes value

    Hi there,

    I am currently doing some spreadsheets at work and I need either a VBA code or formula to assist in data gathering.
    I have my excel spreadsheet and the data is being put into the "Summary Sheet" worksheet - this is done by selecting the appropriate information from the drop down box (attachment - screengrab 1). I would like excel to auto-populate if a location has received a certain activity into the "Activity & Location" then return a value of Yes. If it hasn't to return a blank value.

    Screen grab 2 (attachement) is how i have the worksheet set up so that the manager can come in, open that worksheet and see what location has received what activity.

    The formula needs to pick up if the Location (Colum A in both sheets) is the same and the activity (columns B-F in sheet2, column F in sheet1) is the same to say Yes.
    It doesn't have to be VBA, it can be a formula.

    Thank you
    Attached Images Attached Images

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

    Re: VBA Code to pull data from two colums and return Yes value

    Hello AleyHarvey and Welcome to Excel Forum.
    I suggest that you upload the workbook from which the screen grab was made. It looks as if you have some confidential information (names) which could easily be changed to Name1, Name2 etc. before uploading.
    To upload a sample workbook click on the GO ADVANCED button below the Quick Reply window and then scroll down to Manage Attachments to open the upload window.
    Note that this does not guarantee that we will be able to resolve the issue, but it will make it easier to make an attempt.
    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.

+ 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] VAT return form pull from accounts data
    By makinmomb in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-29-2017, 01:19 PM
  2. [SOLVED] Use INDEX MATCH to return data between dates and get AVERAGE of values in two colums
    By Jay S. in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-01-2015, 08:59 PM
  3. search sheet colums and return data
    By MrGuard2015 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-30-2015, 09:56 AM
  4. Replies: 9
    Last Post: 10-16-2013, 04:34 PM
  5. Replies: 3
    Last Post: 01-30-2013, 07:59 PM
  6. match two colums and return data
    By btolson in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-18-2012, 04:09 PM
  7. how to code a macro for creating a table in word and fill the colums with data ?
    By giriprasad in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-29-2012, 11:45 PM

Tags for this Thread

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