+ Reply to Thread
Results 1 to 2 of 2

Conditionals Macros

  1. #1
    Registered User
    Join Date
    05-13-2022
    Location
    London, England
    MS-Off Ver
    2021
    Posts
    1

    Conditionals Macros

    Hi guys,
    First post in here, thank you in advance for your help.

    I am facing an issue where I'd need some help.

    I have a table which I already consolidated mixing a few sheets and basically telling excel to highlight the whole row in red if Column A name from Sheet 1 and 2 do not match.

    This is highlighted in Sheet 2 (which is like my matrix)
    So to better understand:
    - if name matches in sheet 1 and 2, then no color in Sheet 2.
    - if name in sheet 1 and not in sheet 2, highlight row in red in sheet 1.
    - if name in sheet 2 and not in sheet 1, highlight row in red in sheet 2.

    I want to do 2 things tho:

    1. I would like to tell excel to copy the rows from Sheet 1 that do not appear in Sheet 2 (comparing Column A names, these should be now in red already) and if so, copy and paste the whole row to the end of Sheet 2.

    2. I would like to make some conditional statements in my Sheet 2. I would like to tell excel that to fill in row with no color if Origin (Column D) = "Argentina", and Destination (Column E) = Mexico (also Venezuela, Colombia, Australia).

    My tables look like this:
    SHEET 1 SHEET 2
    PRODUCT SALES MONTH ORIGIN DESTINATION PRODUCT SALES MONTH ORIGIN DESTINATION
    AAAA 1,000 APR ARG USA FFFF 50 APR USA MEXICO
    BBBB 1,000 APR ARG MEXICO GGGG 50 APR USA MEXICO
    CCCC 1,000 APR ARG VENEZUELA CCCC 2,000 APR USA MEXICO

    Thank you so much.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Conditionals Macros

    Please attach a file with sample data to illustrate your question and allow us to test solutions. See yellow banner at the top of the page.
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ 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. How can I add conditionals to this query?
    By Strikeb4ckxx in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 3
    Last Post: 12-10-2020, 07:22 AM
  2. Need help with Conditionals
    By JennyDD in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-16-2014, 12:33 PM
  3. Chained Conditionals
    By zax11029 in forum Excel General
    Replies: 2
    Last Post: 06-13-2011, 11:05 AM
  4. Help with counting two conditionals?
    By theliuman in forum Excel General
    Replies: 7
    Last Post: 01-31-2011, 07:14 AM
  5. Only list some conditionals
    By JonasGrumby in forum Excel General
    Replies: 1
    Last Post: 05-23-2007, 05:54 AM
  6. [SOLVED] Conditionals
    By Salvador Enríquez M in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-18-2006, 05: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