# Conditional Formating IF, Match, Index And Vlookup To Find Several Duplicated Value

Apr 11, 2009
This had been hunting me for weeks and I still could not come over it after weeks of study the conditional formating IF, match, index, Vlookup, etc to find several duplicated value, e.g Column B = Name 1 & Row B = Time and so on, where as Name will have data of Name 1 duplicated in different time, while row B, "Time"would change to a different Name and maybe it would go back to Name one.

My problem was dont know which formula I can use in a different sheet to bring back the data to Name 1 did Task A at Time A, while Name 1 did Task B at Time K, etc. If this is not Name 1, then Name B replace above.

View 4 Replies
ADVERTISEMENT
Feb 26, 2010

I have a table I use visually, and I put it in a spreadsheet. Instead of finding a table value based on row and column label decisions, I use it as follows. I decide the row by matching exactly the height, h = 8 ft. In that row, I match the next larger value of 10 kips, in this case the value is 12.72; I then pick the column header label, in this case the value is 4 x 8.

I don't know how to make"B8:L8" equivalent to "B"&3+row : "L"&3+row in the 2nd Match formula?

View 4 Replies
View Related
Nov 12, 2009

I am having many difficulties getting conditional formatting using the match function to work correctly in my excel document.

What I would like to accomplish is as follows in the 3Q09 tab. If a subdivision name is found in C-62 through C-70 and a match is found for the subdivision name in AB-24 to AB-66 I would like it so the AB-24 to AB-66 Subdivision name is bolded for every match. I removed the function formulas from the 3q09 tab I used to have since they didnt work and I do not want to confuse anyone.

This is correctly done on the "Working Correctly" Tab included in the same file, so please view this for clarification if you need it. Why it works on one tab and not the other simply baffles me.

View 6 Replies
View Related
Oct 8, 2009

I have this table

.......A.....B.....C....D

1.....I......a.....d.....g

2.....II.....b.....e.....h

3.....III....c.....f......i

As you can see, the number I has a,d,and g, II has b,e,and h, and III has c, f, and i

I want to make formula that if I make the input g it would return I, f would return III, and c would return III, and so on

I want to make four formulas by using VLOOKUP, INDEX, MATCH, INDEX&MATCH separately.

View 9 Replies
View Related
Mar 14, 2007

I am trying to create a macro that works with a range of cells and identify the five largest numbers in the range. The following are the steps.

1. I select a range of cells and run the marco.

2. The macro will identify the largest number in the selection and make the cell color red.

3. Then it will find the cell with next largest number and turn the cell orange...and so on till the 5th largest number.

View 9 Replies
View Related
Oct 8, 2009

I am trying to match data from 2 independent sets, formatted slightly differently so not sure which function would work best for me. From the attached file, I am trying to match the date and time stamp (in cell A1) with that from the other data (in this example in cell E1) and return the data (from cell F1) to cell C1. So basically any date and time stamp before 04/03/09 04:00 will return a value of 44 (this value should appear, therefore in cells C1 - C30)

View 2 Replies
View Related
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
Oct 22, 2009

I have a worksheet that has numerical data in A1:A22. In E1:E61 I have set values in numerical order and in F1:F61 I have a letter or letters that correspond to E1:61.

I am trying to write a formula in B1 that will look at the value in A1 and then match it up in E1:E61 and then return the corresponding letter in F1:F61.

e.g: in A1 i have an INDEX and MATCH formula

View 2 Replies
View Related
Apr 3, 2008

I have two worksheets that I am hoping to use to generate one report in excel. Sheet1 contains the following information for my entire work center:

Benefitor Account Dollar Value Document #

Sheet2 contains a list of Benefitors that are relevant to only me.

I want to pull the information from Sheet1 where the benefitors on Sheet1 match the benefitors listed on Sheet2 into Sheet3.

View 11 Replies
View Related
Dec 4, 2008

I have a tab that has Employee Name in one column and the benefit they chose in another column. The employee name is repeated a number of times since they have chosen more than one benefit.

I am trying to create a new tab where the employee name in is the first column (only once) and each benefit is listed in separate columns along the top. I want to put an "x" in the column for the benefit the employee has chosen.

Is there a way to say "look for this employee, see if this benefit is what they chose, and if it is, put an "x", if not, leave blank"?

View 9 Replies
View Related
Jun 5, 2009

I am trying to get the info shown on table 1 into table 2. I suspect index and match is the answer, but I am not sure.

Table 1 Employee # Deduction Amount 101 AD&D 7.00 101 LIFE 4.00 101 LTD 12.00 101 STD 6.00 101 HEALTH 300.00 101 DENTAL 25.00 105 AD&D 8.00 105 LIFE 6.00 105 LTD 6.00 105 STD 300.00 105 HEALTH 25.00 105 DENTAL 8.00 112 AD&D 7.00 112 LIFE 5.00 112 LTD 13.00 112 STD 5.00 112 HEALTH 450.00 112 DENTAL 37.00 Table 2 AD&D LIFE LTD STD HEALTH DENTAL 101 105 112

View 9 Replies
View Related
May 1, 2014

If I have a column of data with a bunch of values (which can't be sorted & which is constantly changing so cant be broken into another column and then sorted) what formula do I need to output the second occurrence of a value in that column?

View 3 Replies
View Related
Mar 3, 2014

Attached example file has data with which I need to do the following;

On the tab "part list" I put in the part number in column F. Column C should then be populated automatically by looking up column F in the tab "Lookup" and showing the value found in column B of that tab.

The difficulty with this is, is that when the part number in column F starts with "DN", the lookup value should end with "FD/A" and when the part number in column F starts with "Z", the lookup value should end with "TY/A".

This last part I can't get it to work. I've tried vlookup with a index/match function inside, but it won't work somehow...

View 3 Replies
View Related
Dec 25, 2007

I have used in Index & Match formula in column G as follows :

=IF(ISNA(INDEX(R:R,MATCH(E13,S:S,0))),"",(INDEX(R:R,MATCH(E13,S:S,0))))

The codes in columns R & S are as follows:

******** ******************** ************************************************************************>Microsoft Excel - M_NECPE.Man Accts.xls___Running: 12.0 : OS = Windows XP (F)ile (E)dit (V)iew (I)nsert (O)ptions (T)ools (D)ata (W)indow (H)elp (A)boutR1=RSTU1New CodesOld Codes 2 310100199999V 4101002NEW 51010032270A 61010061100 7101009NEW 81010101104 91010111101P 101010121101S 111010141102 121010151102L 131010181130 141010222203 151010231106I Sheet1 [HtmlMaker 2.42] To see the formula in the cells just click on the cells hyperlink or click the Name boxPLEASE DO NOT QUOTE THIS TABLE IMAGE ON SAME PAGE! OTHEWISE, ERROR OF JavaScript OCCUR.

The code in column E & G is as follows:

******** ******************** ************************************************************************>Microsoft Excel - M_NECPE.Man Accts.xls___Running: 12.0 : OS = Windows XP (F)ile (E)dit (V)iew (I)nsert (O)ptions (T)ools (D)ata (W)indow (H)elp (A)boutG62H62G63H63G64H64G65H65G66H66G67H67G68H68G69H69G70H70G71H71G72H72G73H73G74H74=EFGH621106B| 631100|101006 641101D| 651101K| 661101P|101011 671101S|101012 681102|101014 691105R| 701103|101037 711104|101010 721105| 731106|101031 741106I|101023 Sheet1 [HtmlMaker 2.42] To see the formula in the cells just click on the cells hyperlink or click the Name boxPLEASE DO NOT QUOTE THIS TABLE IMAGE ON SAME PAGE! OTHEWISE, ERROR OF JavaScript OCCUR.

I have used a lookup table to calculate the value in column H as follows, but cannot get it to work

=IF(ISERR(VLOOKUP($E62,$M$3:$O$850,3))=1," ",VLOOKUP($E62,$M$3:$O$850,3))

View 9 Replies
View Related
May 7, 2009

I want to create a formula that will use a database table as a lookup for index/match and vlookup type functions.

I have my ODBC connection connecting to a mysql database and am successfully able to run sql queries through excel.

Is there a way to get index/match/vlookup formulas to use the database table as the lookup range?

View 9 Replies
View Related
Feb 14, 2010

I don't want VB code but a worksheet formula.

I have a table full of names and cars sold. The table tracks the person's progress. It is like a diary. It's a simplied version of the DB I am currently working with.

Is it possible to do the following things? I have basically 2 types of questions.

1)When was the last red car sold?

2)When was a car sold irrespective of color?

The answer to each question will be put in separate columns.

I have only included January but I will do this for the entire year of 2010 and also I will do this for all of the names in my database. I think there are about 300.

When was the last time ANDY sold a RED car?

The answer should be 1/12/2010

The answer will be put in ROW A COLUMN I

When was the last time ANDY sold a car irrespective of color?

The answer should be 1/12/2010

The answer will be put in ROW A COLUMN J

When was the last time BILL sold a RED car?

The answer should be 1/10/2010.

The answer will be put in ROW B COLUMN I

When was the last time BILL sold a car irrespective of color

The answer should be 1/11/2010

The answer will be put in ROW B COLUMN J

I have attached a thumbnail of a sample Database

View 9 Replies
View Related
Feb 28, 2010

I have the following arrangement

PVCu_Woodgrain_DoorF190210300#REF!

PVCu _woodgrain_Door is a drop down list that selects from a number of named ranges.

The Cell that shows (F1) and is called DOORSTYLE with 6 choices F1, F2 ... F6 (I cannot change these to numeric only values)

300 is the 2 previous cells added together. It is called DRSZ1 and will match a numeric value in the named array.

My formula cell with the issue has this formula;

=INDEX(INDIRECT(ARRAYDR1),MATCH(DOORSTYLE,INDEX(INDIRECT(ARRAYDR1),0,1)),MATCH(DRSZ1,INDEX(INDIRECT(ARRAYDR1),1,0)))

I know MATCH(DOORSTYLE,INDEX etc. should be a VLOOKUP to find F1 in the named array, but I just cannot get it right.

View 9 Replies
View Related
Jul 9, 2007

1. Pupils have a target grade

2. Pupils can either do a higher or foundation Tier exam depending on their ability

3. Pupils do 9 modules and the grade bounderies are different for each module.

3. I use bar charts to report the results back to pupils and parents. Instead of just telling them you got 50% D your Target is C. I also want the target grade to be converted to a mark.

I do not want to create another woorksheet inorder to use Vlookup.

4. I now know that Index and Match can do the trick of reading the left columns. But I cannot get them to first consider the Tier for each student.

I was thinking of usind IF

IF Tier is Higher then Index the Higher Table and Match else Index Foundation Table and Match to get the mark. But I do not know how to express this in a way that's readable by Excel

View 10 Replies
View Related
Jun 9, 2014

Getting a formula that will generate the corresponding rating attached to a row value and columns header as per below example:

EnglishSS1 EnglishSS2 EnglishSS3 Rating

10 20 30 3

20 30 40 2

30 40 50 1

Where my variables would be based on whether a person is under EnglishSS1 and getting a score of <=10, the resulting rating would be 3. I know this is doable by doing a vlookup with a range lookup value of false. However I have roughly 70 column headers and it will be a bit taxing to combine an If and Vlookup statement to address it.

I have attached a sample sheet for reference : Book1.xlsxâ€Ž

View 2 Replies
View Related
Aug 14, 2014

What I want to do is the following, I have two sheets, one where the data needs to be filled and the second where the date needs to be looked up. In Sheet1 I need to find a date for each of the NR2 and NR1 combination. But in the second sheet there are multiple NR1 occurences and also single occurences. So if there is only one, I need that date, if there are several I need the average of all the occurences for NR1, not taking into account the N/A ones.

(some examples from the file)

NR2 NR DATE

100707987121951

100702347121960

100707750121960

100707721121960

100702422121960

[code]....

So for example, NR1 121965 has two dates, 03/09/2002 and 27/01/2004, so here it should calculate the average of these two and put that average in the first sheet.

I was thinking of something like IF(MATCH(?) gives one result,put that with vlookup, else AVERAGE of all MATCH that are not N/A)

View 3 Replies
View Related
Sep 22, 2009

I have attached an example s/sheet. Basically this is an excerpt of the data that sits in a pivot table. What I want to do is from another sheet query this data. I don't want to use another pivot table as they are quite hungry in terms of memory and the data source we have is quite large. In essence what I want to achieve is in cell G2 the user enters a code. A function (vlookup?) will then scan column A to find that code.

The function then needs to look across and sum the total of Requests and Responses for all the dates. Whilst the dates may change, the number of dates will remain the same. Once it has summed them it needs to return the totals to cells G4 and G5. Additionally it needs to fill in the relevant total (offset?) for the corresponding week as detailed in columns H-AH. It seems quite a simple lookup issue but I am not very versed in nested lookups. I have looked around and it seems INDEX woudl do the job but I am at a loss on how to construct this type of function.

View 3 Replies
View Related
Mar 1, 2014

making a forumla that will return the second, third ewtc values using VLOOKUP or INDEX/MATCH. Attached is a dummy file almost identical to the one I'm working in. In the first sheet there's a dependent drop-down list with the values Sub1, Sub2 and Sub3. This corresponds with data in sheet two listed next to these names. The problem is when I try to populate the table below using VLOOKUP etc it just repeats the first row over and over rather than defaulting to the second and third row results

View 6 Replies
View Related
Jan 24, 2014

I have some data which I update every now and again. Then I extract and clean up and currently have it output to 4 columns.

The four columns currently looks like this:

A | B | C | D

1 name name2 stats stats2

2 ....

3 ....

Each column is then populated with a decent amount of names and stats, and the same name occurs multiple times. I'm looking up a specific name in the A column, and can extract the stats in C fine using INDEX/MATCH, but it only returns the data from the first instance the name occurs. I've googled it a bit and believe I could possibly wrap my head around returning multiple instances.

However, there are a couple of other criteria for my extraction of the stats which makes me believe I'm in way over my head. The data is in chronological order, with the newest on the bottom. I'm wanting to extract the stats in inversed order so starting from bottom going upwards, if that makes sense. Further, preferably I'd want to limit the amount of extraction to X amounts. And lastly to make it really complicated, for the newest entries stats are not yet available so only the names (column A and B) are populated, I need it to skip those entries, since, obviously, there are no stats there to extract, and I wouldnt want to end up with a lot of blank cells in my summary.

View 2 Replies
View Related
Apr 28, 2014

I have a question in regards to excel. I have a set of data arranged as follows:

Date System Desc

3/7/14 IPE Alphamo

3/7/14 IPE Beta

3/7/14 i3 Gammana

7/7/14 ews Pisqrt

7/7/14 IPE Jaque

8/7/14 saa Mistiqe

And I need to put them into a calendar with the following format:

3/7/14 7/7/14 8/7/14

IPE Alphamo Jaque

IPE Beta

I3 Gammana

ews Pisqrt

saa Mistiqe

I have tried index and match, vlookup and etc but it didn't work.

View 4 Replies
View Related
Feb 7, 2007

I have a list of people and the dates they completed activities on. I would like to do a vlookup (or index/match) that returns the most recent event. For example, if I was after the most recent date that 'rogers' went 'fishing' it would be 03 Feb 07....

View 9 Replies
View Related
Apr 10, 2014

I attached a file containing two sheets. The first sheet is called Input on this sheet there are several categories of which I displayed the first three on. My ultimate goal is to get the Input per category broken down horizontally over the line-items on the Output sheet. Every category contains several line items to which costs are attached (f.e. in category 10, line item 4000, the costs are 33,000$ and so on).

The problem is that every month the costs are changing per line-item, but also the number of line items per category will change due to the fact that the line-items are only displayed if there are in a specific month costs booked to the line-item. In other words sometimes line-items are added due to costs booked at the line-item, but if in one month there are no costs booked at the line-item it disappears from the overview. A formula containing: '=if(category=10,vlookup(... is to static due to the changing line-items.

View 8 Replies
View Related
Aug 22, 2014

From the highlighted cells at B17 to B19, while using some kind of lookup or indexing method, I want to count the number of cells in that specific range that's great than zero. This list is just a sample, the list will be much bigger and order may not be the same--that's why I need to lookup the project name.

View 7 Replies
View Related
Mar 11, 2014

I am having some trouble getting a formula to work. I am building a report that pulls figures from a pivot table in another workbook. I am using a vlookup with match function to get the column index to find the relevant data I want. Where I need to add two columns together I am using sum, with the vlookup & match formulas nested in them e.g.:

=SUM(VLOOKUP(F13,'[PIVOT 156.xlsx]PIVOT'!$C:$AQ,MATCH("FAID",'[PIVOT 156.xlsx]PIVOT'!$C$6:$AQ$6,0),FALSE),VLOOKUP(F13,'[PIVOT 156.xlsx]PIVOT'!$C:$AQ,MATCH("COMM",'[PIVOT 156.xlsx]PIVOT'!$C$6:$AQ$6,0),FALSE),VLOOKUP(F13,'[PIVOT 156.xlsx]PIVOT'!$C:$AQ,MATCH("BPCM",'[PIVOT 156.xlsx]PIVOT'!$C$6:$AQ$6,0),FALSE),VLOOKUP(F13,'[PIVOT 156.xlsx]PIVOT'!$C:$AQ,MATCH("COMD",'[PIVOT 156.xlsx]PIVOT'!$C$6:$AQ$6,0),FALSE))

Where:

F13 = Employee number

Column C on the pivot 156 workbook is where the employee number is based.

The Match formula is then getting the column index from the column headings of the pivot table ie. "FAID"

This in itself works fine, as long as it finds a match in the column headings. This is where i get the error as in the above function "COMD" is not in the pivot table. However I need to keep it included as it may appear on a future pivot table. Is there a way of getting the sum function to complete even though later in the formula it can't complete the vlookup? So it will ignore it, or assume the value is zero if it can't find it? The formula probably needs to do this for all the vlookups as some headings may drop off in future pivot tables.

View 2 Replies
View Related
Nov 3, 2008

i am trying to find all the 0 in column P and return col M from the same rows, this finds the 1st, how do i find the rest?

=INDEX(M$3:M$100,MATCH("0",P$3:P$100,0))

View 9 Replies
View Related
May 22, 2014

I have two data sets across two worksheets. The first worksheet contains sales order numbers (Sheet1:column A) and other data . The second worksheet contains sales order numbers (Sheet2:column A) and the product details.

On sheet1, I had to manually duplicate a sales order number (inserting another row) if the number of units of the order is greater than 1. I then need to fetch the product details from sheet2 for each unit for that specific order number. However in sheet2, there are multiple products for one sales order number.

How do i create a lookup/match to fetch the product details for each sales order number without duplicating the product details if there are multiple products for one sales order number?

I know a simple vlookup function will return the values that it matches first and that is not what i want.

Example: Sheet1

Column A (Sales Order#) | Column B (Quantity)

0417436GPCP | 1

0417436GPCP | 1

0413412FACY | 1

0413412FACY | 1

[code].....

View 6 Replies
View Related