+ Reply to Thread
Results 1 to 2 of 2

Need to populate 'Y' or 'N' in a cell based on the multiple columns

  1. #1
    Registered User
    Join Date
    03-20-2018
    Location
    Banaglore
    MS-Off Ver
    2016
    Posts
    0

    Need to populate 'Y' or 'N' in a cell based on the multiple columns

    I am new to this Excel Macro, but now I need to write a code for below scenario. Appreciate your help.


    I need to populate 'Y' or 'N' in a cell (Ex: A2) with color if 'Y' Green or 'N' Red, based on a check with multiple column values.

    I need to check on columns G, M, S, V. If any of these column values has 'N' then I need to populate cell A2 with 'N'( with Red color in Cell) Else 'Y' with Green in Cell.
    Similarly for W2, if column AD has 'N' then populate cell W2 with 'N' color Red Else 'Y' with Green
    Similarly for AE2, if columns AJ and AP has N then populate cell AE2 with 'N' color Red Else 'Y' with Green
    Similarly for AQ, if column AT has 'N' then populate cell AQ with 'N' color Red Else 'Y' with Green

    Note: All the cell Column values need to be validated from row 6

    Attached the file, please help me on that.

    Thanks,
    Raj

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166
    Hello Rajasekhar.Bora,

    Welcome to Excelforum. Be a part of large Excel community. Enjoy Learning.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/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. [SOLVED] Formula to populate cell based on multiple criteria
    By Issy.87 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-17-2017, 09:59 PM
  2. [SOLVED] Auto populate columns based on selected values in a cell
    By abdulji in forum Excel General
    Replies: 7
    Last Post: 07-23-2015, 02:23 AM
  3. Populate Multiple Cells Based On Response In Another Cell
    By rnvball in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-09-2015, 11:51 PM
  4. Populate 2-column data to multiple columns based on one condition
    By hcyeap in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 12-26-2013, 10:42 AM
  5. Auto populate a third cell, based on data from two columns
    By 12ogboy78 in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 03-25-2013, 02:21 AM
  6. Populate 2 columns with data from a different two columns based on one cell's value
    By ChrisHowk in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-19-2012, 06:01 PM
  7. [SOLVED] HELP| populate cell with particular value based on multiple condit
    By doon in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-13-2006, 07:30 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