Solved

Updating a column in Excel based on the data in other columns and rows

Posted on 2012-03-28
1
177 Views
Last Modified: 2012-03-28
I have a file that is sorted by Column D which I am calling "Old_Id".  Column B which is called "Match Found" has a value  of "Y" set by another program.

Is there a way to update Column A "ID Match" with a "Y" if  there is a "Y" in column "B" in any row where Column "D" is the same.

(See attached file).  The results I would like a formula for are in Red Font.
Match-Found.xlsx
0
Comment
Question by:morinia
1 Comment
 
LVL 1

Accepted Solution

by:
Bob60618 earned 500 total points
ID: 37779092
1. Sort the file - OLD_ID Lowest to highest then Match_Found Z to A (get Ys on top for each ID)
2. The formula for cell A2 is "=IF(B2="Y","Y",IF(D2=D1,IF(A1="Y","Y",""),""))"
3. Copy cell A2 down
4. Use conditional formatting to turn "Y" to red.
5. See attached
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question