Fill In Value If Two Cell Values Match

Jan 21, 2010

The first two columns in my document coincide with their respective values. Column A (File Number) is coded for Participant Description (Column B) and the values in each row are associated with one another...

However, I have a 3rd column (Article Number) whose values mean the same as the File Number column, but the the rows don't match up.

What I need is a fourth column. In this column I'd like the value from the Participant Description column to be imputed if the Article Number and File Number column are the same.

An example from the attached spread sheet.

A2 = 7, B2 = 6, C2 = 7 - I need D2 to equal B2
That is easy enough, but this is where I get lost...
A2 = 7, B2 = 6, C3 = 7 - I need D2 to equal B2

View 6 Replies


ADVERTISEMENT

Fill Cell W/ Value Present In Another Row, If Columns Match

Jun 30, 2009

I have a slight conundrum that goes as follows:

If in a given row, the cell in column A is empty, but the cells in columns B and C have values--would it be possible to automatically fill in the empty cell with the same value of another rows column A cell, if both rows share the same value (nb: not case sensitive) in the column B and C cells.

For example:

If one row, say Row 44, contained the following:

Column A Cell =
Column B Cell = sunday
Column C Cell = dog

and another row, say Row 10023, contained:

Column A Cell = Walk
Column B Cell = Sunday
Column C Cell = Dog

How would I go about automatically filling in Row 44's column A cell with the value "Walk", as both rows columns B and C cells match up.

I should mention that I am dealing with a sheet with over 30'000 rows, so it would be incredibly time consuming to find matches and input the missing value directly.

View 13 Replies View Related

Compare Two Cells If They Match Then Fill In The Cell From Another Sheet?

Oct 19, 2012

I am trying to compare two cells and if they match then I want to fill in a list on sheet one from sheet two.

I have the absolute working when I compare one cell to one cell, but I can't get it to compare one cell to a range of cells (two weeks of days)

Here is the absolute one I have working:

=IF(C1='Data Sorted'!A1,'Data Sorted'!A2,"")

Here is what I tried that doesn't work:

=IF(C1='Data Sorted'!A1:N1,'Data Sorted'!A2,"")

View 6 Replies View Related

VBA To Fill Cell Values Based On Adjacent Cell Values

Jun 5, 2014

I request you to write a code for me to fill the cell values as "Not Applicable" in Column "AZ", if the "B" Column cell values = "Justified", "Approved LSAR" & "Approved SDAR".

I have attached the work book of what I am trying to accomplish.

View 14 Replies View Related

Compare Cell Value With Range Of Values And Match Row Values With Header

Jun 5, 2012

I have .csv file from which the data is importing to master schedule. i have a column in .csv file which is spitted into multiple columns. and my need is i have to compare this each individual cell value with the range of header values in master schedule and if match found i have to place that cell in the row.

I am adding 2 attachments one is .csv and other is master schedule.

I couldn't able to find where i have to attach my files.

View 2 Replies View Related

Match 2 Cell Values And Extract Required Values

Jul 19, 2012

Column C5:C9999 & D5:D9999 contains alphanumerical values.

In E5:E9999 i want the result=Column C provided it matches Column D else null.

Ex:
C5=Peter ShowROOM D5=RooM E5=Peter ShowROOM
C6=Peter ShowROOM D6=r sh E6=Peter ShowROOM
C7=PeterShowROOM D7=r sh E7="" (null)
C8=PeterShowROOM D8=P E8=Peter ShowROOM

View 5 Replies View Related

Match Cell Value Then Copy And Paste Values Cell Values Into The Same Row?

Jun 27, 2014

write a script to match a cell value then copy and paste the matching row across two worksheets - "Master List" and "Demographics".

These two worksheets have the same cell values in Column A, the key difference is the Column A cell order in the second worksheet "Demographics". This Column A cell order is set arbitrarily by another system and will vary over time.

I would like to match the rows, then paste the three columns from the second worksheet into the first worksheet.

For example:

"Demographics" Worksheet Cell A2 = "Master List" Worksheet A45 - then copy cells A2, B2 and C2 and paste into A45, B45, C45 respectively.

"Demographics" Worksheet Cell A49 = "Master List" Worksheet A12 - then copy cells A49, B49 and C49 and paste into A12, B12, C12 respectively.

I have created a sample spreadsheet here; - List Schema.xlsx

View 2 Replies View Related

Fill In Cells Based On Other Cell Values

Dec 21, 2009

I am looking for a way for Excel to fill in cells in a column that has data sporadically in it. I am importing a text file into excel and saving it as an Excel file.

In the example attached, I need the numbers filled in all the way down to the next number. I don't care about the text, just the numbers. I realize I can copy and paste, but these files can be several hundred rows long and it seems there should be a better way.

View 4 Replies View Related

Fill Cell With Values From Multiple Combobox

Dec 17, 2011

I am looking for the most efficient was to update cells in the active row from the values of the selected item in a combo box(4 columns).

View 1 Replies View Related

Formatting Cell To Fill Color Based On 2 Of 3 Values?

Jul 23, 2013

I'm trying to discover the best way to accomplish formatting a cell by filling it a certain color based on 2 of 3 criteria of other cells.

Column A has the title of the field. Cells B1:D1 have one of 3 values: Nothing/blank, Complete, or x. If all of the x's are gone within the range of B1:D1, I'd like to automatically format cell A1 to fill in Blue (or any color).

A1__________________B1_________________C1_____________D1
Generic Name______Complete_______________x_____________

If the 'x' in C1 is changed to the value of 'Complete', I'd like A1/Generic Name to be filled in with a color.

View 8 Replies View Related

Find The Data In Some Rows That Match With One Cell And Automatically Fill The Data

Aug 17, 2009

I want find the data in some rows that same with one or more cell and automatically fill the data. And for more details, I have attached the examp file (Examp.xls).Antoni

View 3 Replies View Related

Finding Cells With Certain Values And Adding Fill Colour To The Cell

Feb 1, 2007

i have an excel file which contains data, I want to be able to search this file and to fill the cell and its next 3 cells to the right with a certain colour. Is this possible as I have wrote some vba to do this but, Im only able to search and not fill the cells with the correct colour.

View 13 Replies View Related

Fill Table Based On Matching Cell Values & Export

Dec 21, 2007

(refer to attached workbook)

For what I'd like to do, the attached workbook actually represents 2 or more workbooks. The 'Project-PO Report' tab is a sample of what will be several workbooks/reports that will be generated from the data in 'POTASK'.

The 'CMD_BUTTON' tab represents how I plan to use a command button " IMPORT DATA" to import the data into this workbook, then use "RUN PROJECT-PO-REPORT" to call the MACRO to achieve my objective,as stated below. (Originally,this workbook was about 8mb, so to get this under the size for attachment, I just copied the bare minimum of what I believe would be needed to assist me, and so there's no buttons or macros or dynamic name ranges, as there will be...)

Here's what I want to do: ...

View 3 Replies View Related

Fill Conditional Cell Values Based On Unknown Number Of Rows

Dec 15, 2009

I have a set of data in column R, with an unknown number of rows that looks like this

Days Late
-28
150
3
16
41
.
.
.

and I have written a script to add an adjacent column "S". I want to fill column S with conditional values based on the value of column R, sorted into categories such as "On Time", "Less than One Month Late", etc. Here is what I have so far, it doesn't work:

View 4 Replies View Related

Changing Fill Color Of Autoshapes Based On Cell Numeric Values

Jun 10, 2006

how I can change the color of an autoshape based on a value in a cell?

View 4 Replies View Related

Fill ListBox With Found Values Sheet Names & Cell Addresses

Feb 22, 2008

I have a spreadsheet containing a list of key fob numbers, key numbers, etc. I have 3 userforms with different for different options, i.e. Key fob no. search, key number search, room number search. I have set up the code for each of the userforms to search for the information entered in the textbox and then lists the info in the listbox which I can then click on the one of the listed items to take me directly to the place in the spreadsheet.

However since there are a range of different key numbers per key fob, I would like to know what code I can use to allow a range of information such as the key number and room number, etc to be displayed in the same listbox as the Key fob number i searched for.

Here is my code for one of the Userforms:

Option Explicit

Sub Locate(Name As String, Data As Range)

Dim rngFind As Range
Dim strFirstFind As String

With Sheet1.UsedRange
Set rngFind = .Find(Name, LookIn:=xlValues, lookat:=xlPart)
If Not rngFind Is Nothing Then
strFirstFind = rngFind.Address
Do

I cannot attach a example of my form since the site seems to have a limit on the size of the upload and my part of the file compressed in zip format is still at 168kb.

View 5 Replies View Related

Find All Row Values Selected In Multi Column ListBox & Fill Adjacent Cell

Apr 27, 2009

I have a listbox that has row and columns. The rows are combinations of options and the columns are Additives.

After selecting a row in Listbox1, (first column are names) i would like the value of the second column to goto a specific area.... find that value and in the cell to the right of it place a "Y". The "Y" would indicate that "yes" it was part of the selection row of the listbox. Same for third column, forth, fifth and sixth. The result from the listbox is a number of Y's and N's in the result page. Then making all that were not part of selected line and equal to "N" to hide row (height = to zero).

Listbox and expected result are in attached example worksheet.

The attached does show the need much better then I can explain it.

View 9 Replies View Related

Match Cell Values From 2 Different Spreadsheet And Return The Value?

Oct 9, 2013

I have a spreadsheet with 2 different sheets (DB and Workings). What i am trying to do is using VBA code is, need to match the state name CT from workings sheets (cell C3) with DB sheet of column B4 to B9 and return the Team values from column A4 to A9 in the row 4 (C4 to E4) of the Workings tabs (highlighted in Red) and similarly for the state name LA i want this process to get repeated.

View 4 Replies View Related

Match Cell Values And Transfer To Different Sheets

May 23, 2014

I have Information found on Sheet 1. I need the program to take the value found in Column B and try to find matches found on Sheet 2 in Column B. Here's the thing it is only going to take the first 3 characters found in the Cell on Sheet 1. But in sheet 2 it will need to pull all information that matches those 3 characters. I included a sheet on what the finished product should look like for two of the sheets. If the program finds a match it will transfer the original and the copied match to a sheet Named "Name". The correct format can be found on "Finished Sheet Name". If no matches are found it will place the original information from Sheet 1 onto a sheet called "New".

Test2.xlsm

View 5 Replies View Related

Format Color Of Certain Cell If Two Values Match?

Nov 18, 2013

I'm trying to format the color of a certain cell, if two values match.

A1=100
B1="Choose"

I want to format B1 to color RED, if A1=any number, and B1="Choose".

B1 contains list-data where you can chose from different values.

So if A1 contains a value, and B1 has not been set a different value than "Choose", format B1 to RED. Which would indicate that you have to set a value for the rest of the worksheet to work.

View 5 Replies View Related

Highlight Rows Where Only Specific Cell Values Match?

Jul 22, 2014

I'm finding it hard to explain what I am trying to do (which may be why I can't find a solution through Google), so I have an example. I am using a much larger spreadsheet than this sample(18,000 rows)

ID
First_Name
Last_Name
Company

[Code]....

I want to highlight rows if there are multiple instances of ID and # values - I included a column at the end showing which rows in this data set would be highlighted.

View 2 Replies View Related

Find & Return One Of Many Values In Cell & Lookup Corresponding Match

Dec 10, 2007

Working on an export from an e-commerce application that lists the item purchased, unfortunately not by item #, but rather a lengthy description. I'm trying to construct an item number based on that description which contains several constants.

Each item ordered appears in a single row, comprised of ORDERID, QTY, PRODUCT DESCRIPTION

I have several tables to pick out PRODUCT TYPE, COLOR, SIZE, etc. I need a formula to search to see which of the unique values appears in each in the cell and return the shortcut of that value.

PRODUCT DESCRIPTION example "Sweater - Blue - Large - Wool"

TYPE TABLE:
Sweater SWTR
T-Shirt TSHT
Jeans JEANS

COLOR TABLE:
Blue BL
Green GN
Purple PL
Black BK

I would have separate tables for each part of the description.

The formula I'm seeking would search the PRODUCT DESCRIPTION cell for the range of values for each 'part'. So it would search to see which of Sweater, T-Shirt, or Jeans was in the cell and then return the one that was - SWTR in this example. I would modify this formula for each 'part', in its own cell, and then use an =cell#&"-"&cell#&etc... to combine these returned values.

I know I can write a large if- chain using ISERROR & FIND, though some of these lists will get lengthy.

View 9 Replies View Related

Find And Match To Fill Data

Feb 23, 2009

I humbly seek assistance and help to fine tune my "find and match" function that works between 2 files. I am using the following:-

=INDEX('[Jan 2009 Sales & Gross Profit Record.xls]PG'!$D$3:$D$12,MATCH(C4,'[Jan 2009 Sales & Gross Profit Record.xls]PG'!$F$3:$F$9,0))

My problem is I am only able to do it in D9 where customer and amount are matched correctly. But when customer appears more than one then it doesnt match corectly.

View 13 Replies View Related

Macro To Paste Values If Cell Value If Match Text String?

Jan 6, 2014

In Sheet1, column Y looks into Sheet2 and returns the status of that specific order - the result displayed in column Y will be either blank or a variety of text strings (eg. received, pending etc).

I need to make a macro that looks into all the cells of column Y in Sheet 1 and copy/pastes as value into that same cell only if the formula in that cell returns text string "Received". It should not affect the other cells where the formula is returning either blank or a different text string.

View 1 Replies View Related

Fill Values And Replace Told Values By Vba Code Depends Upon 2 Columns

Mar 26, 2014

I have set of data in multiple range ,need to fill the and replace the old values depends upon two column values (AH & AL)

IF Active Calls is "TATA" In AH:AH, and IF Action Onwer Col is "Blank",in AL:AL
Then Fill the Blank cells by Values "SVC" in the col Action Owner,Then Replace Old values by "Updates Awaited" in Status Col(AM:AM)

Find the attachment & basic code take this code for this task

[Code] ....

toggle-2.xlsb‎

View 5 Replies View Related

VLOOKUP / INDEX And MATCH To Return All Values That Match

Feb 4, 2014

I have two sheets of data , sheet A and Sheet B.

Sheet B contains a column called "Name" and for each name, and for each name there are corresponding numbers. In sheet A, I have a "list of interest" in column A. What i want to do look through the data in sheetB to find a match from the list of interest and return the corresponding letters, located in column A.

I have filled out the first two rows of results that should be returned as an example.

One idea i had was to put a vlookup formula in each column result 1 to result 6 so i can catch all 6 "Serves" columns from column B, but there may be duplicates in the serve columns and vlookup only reports the first match.

View 3 Replies View Related

Using Index / Match Function For Two Column Match Values

Aug 28, 2012

Basically where the columns say 2011 or 2012 AND 1, 2, 3. I want to be able to have it index the number below based on the GL number on the left and both the year and period on the top. I think that you can do with using the sumproduct function with the binary, but the computer is a little dated and it takes a while to run those calculations.

2011
2011
2011
2012
2012
2012

[code].....

View 5 Replies View Related

INDEX / MATCH Multiple Ocurence Match Values

Jul 11, 2008

INDEX/MATCH multiple ocurence match values needed

View 9 Replies View Related

Match Column Value And Fill Color In The Row For Matched Cells

Jul 26, 2014

I've an excel table containing the list of expenditures of employee. I've to sort the table and use different colors for different employee rows.

How can I do this task using formula? Is this possible?

Please see the attached excel sheet for the sample table and desired output.

View 1 Replies View Related

Fill Multi Cells In Row If Column Match Both Worksheets

Nov 6, 2009

I have an exported Excel worksheet1 from the parts database get every Friday. We get RFQ of parts list each week from multi customers about 3000+ parts as they send in MSword, MSoutlook or MSexcel to me I make into Excel worksheet2. I do not like to type in every part into the parts software I have my words for that software Cough Cough. The exported excel speadsheet tells the part numbers, Location, Qty, Price, ETC I would like to take the Excel RFQ list and have it populated from the other speadsheet

SAMPLE
A1 PART number that on both spreadsheet
A2 QTY on both there request and our stock
A3 Price
A4 Location

So want a compare worksheet1 with worksheet2
A1 = A* the populate A2-A4 with worksheet1 data

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved