Solved

excel scrpiting

Posted on 2013-11-15
2
387 Views
Last Modified: 2013-11-15
Hi, i have an excel question to ask, might need scripting, not sure yet.

in same excel 2010 file.
sheet1 has name and installed as two columns
sheet2 has computername as a column

there are about 600 records in sheet1
there are about 300 records in sheet2

if a record in sheet1 matches any records in sheet2, then i would like to input a Yes as text in sheet1 installed column.

does any one know how to deal this faster?

thanks a lot.

S
0
Comment
Question by:BLarry9
2 Comments
 
LVL 14

Accepted Solution

by:
sentner earned 500 total points
ID: 39652444
Sounds like a simple VLOOKUP command.  

In Sheet one, on the first cell for installed (I'll assume B2 and assume that sheet 2 computername is in column A), put:  

=IF(ISERROR(VLOOKUP(A2,Sheet2!A:A,1,FALSE)),"No","Yes")

Then, copy that formula down to the other rows in that column.
0
 

Author Comment

by:BLarry9
ID: 39652497
thanks a lot.

works great!
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

806 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