+ Reply to Thread
Results 1 to 2 of 2

Macro that compares certain values in a list

  1. #1
    Forum Contributor
    Join Date
    01-17-2011
    Location
    amsterdam, Netherlands
    MS-Off Ver
    Excel 2007
    Posts
    189

    Macro that compares certain values in a list

    Hi,


    I tried to make a macro that compares values in a list.

    There is a list in sheet 1 and in sheet 2.

    If there is a value in sheet 1 and not in sheet 2 add this value in sheet 2


    More concrete I made an example:

    If there is an "no" in column E the value of column B needs to be in column B in sheet 2*,


    *(so if there is a "no" in E2 then value of B2 needs to be in column B in sheet 2, if there is a "no" in E3 then then value of B3 needs to be in column B in sheet 2)
    Attached Files Attached Files

  2. #2
    Forum Contributor wallyeye's Avatar
    Join Date
    05-06-2011
    Location
    Arizona
    MS-Off Ver
    Office 2010, 2007
    Posts
    308

    Re: Macro that compares certain values in a list

    You can't just use a formula?

    Sheet2!B2:

    =if(Sheet1!E2="no", Sheet1!B2,"")

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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