Simple Formula For Lookup With Two Conditions And Duplicates

Sep 16, 2013

I have two spreadsheets of data, one column contains an employees name, the other is a value.

Employee Amount
Bob 10
Frank 12
Katie 14
Katie 55
Simon 5.2

I would like to do a lookup that states if name is Katie and value is 55 and is in sheet 1, return "Yes", else return "No"

The name and value conditions will read off the other spreadsheet.

View 4 Replies


ADVERTISEMENT

If Formula To Combine Two Lookup Conditions?

May 23, 2014

Combine two lookup/IF formulas:

[Code]......

So if formula 1 conditions aren't met then it by default would result in formula 2 conditions being met.

View 5 Replies View Related

How To Do Simple Table Lookup

Jun 23, 2013

How to do simple table lookup. I have a table showing #of colors being used for screen printing down one side and qty of shirts ordered going across the top. I would like a formula that when I enter the # of colors and the quantity of shirts it will return the correct price.

12-35
36-71
72-143

1
1.50
1.25
.90

2
2.00
1.50
1.10

3
2.75
1.75
1.30

View 2 Replies View Related

Flagging Duplicates Based On Multiple Conditions

Nov 8, 2008

Flagging Duplicates based on Multiple conditions..

I have attached the file for reference with Dummy Data as the actual data runs in thousands...

What I require is to flag Duplicates with some formula so that I can filter and then later delete those specific rows from the records...

The Duplications has to be considered on Multiple criterions:
1. If the FNAme and LName is appearing for one Company more than once.

2. Sometimes there would be inconsistency in Data Entry, so the FNAme would be typed in the Column for LName and vice-versa.The code needs to understand the same.

3. Alongwith the above, if the Designation is different then the record with the Lower Designation based on the Weightage should be Flagged as "Duplicate".
Ex: -

4. If there's a tie between the same designation then the record with the Maximum information across all the columns having Max info should be Unique.
Ex:- The amount of details mentioned in the following columns would determine the record to be termed as Duplicate or unique

5. If still the records are identical then the first occurence can be unique...

I have made this data to give an example as the actual data is very confidential.

Please allow room for adding New Designations as the Designation and their Weightage needs to be Dynamic.

Please refere the Word doc Duplication Criterion Explanation for the explanation.

View 14 Replies View Related

Lookup Using Two Conditions

Jun 7, 2006

I have a spreadsheet with data extracted from two systems. I need to compare the amounts to ensure they're the same. I'd like the "BIS" sheet to do a lookup of some sorts (either formula or macro) in the "Actual" sheet on box number (column E) and Category (column J) and return the total actual in (column I) next to the corresponding box number and category in the "BIS" sheet. I've attached an example of the spreadsheet.

View 6 Replies View Related

Reverse Two Way Lookup With Duplicates

Jan 8, 2010

I have an appointment schedule shaped like a table and I need to extract data from it into a sub table. The schedule has date column headers, time row headers, and the intersection of the date and time headers is a cell with a patient’s name. There are duplicate patient names in the schedule. The extract table should list the patient names vertically and next to each patient name should be a list of dates and times. The time and date for a single appointment should be contained in one cell.

For simplicity, I will not use dates and times in my example, but instead I will use letters.

Schedule looks like this:

Date Column headers are as follows: B1 = m, C1 = n, D1 = o, E1 = p
Time Row headers are as follows: A2 = q, A3 = r, A4 = s, A5 = t, A6 = u, A7 = v
The cells that contain patient names are: B2 = Jo, C3 = Sioux, C4 = Sioux, D2 = Sioux, E3 = Chin

The extract table looks like this:

Column headers are as follows: B20 = # App, C20 = App 1, D20 = App 2, E20 = App 3
Row headers (patient names) are as follows: A21 = Chin, A22 = Jo, A23 = Sioux
The cells that contain times and dates are: C21 = “r, p”, C22 = “q, m”, C23 = “r, n”, D23 = “s, n”, E23 = “q, o”, where the first letter is a time and the second letter is a date.

A while back I posted a question about this sort of reverse two way lookup:
[url]

Since then I have encountered the problem of the patients showing up in more than one time slot on a single day and also showing up in the schedule on more than one day. The formulas I am using are not working. So in my example, the trouble I am having comes from the fact that Sioux’s name shows up in more than one time slot for one day and also he shows up on more than one day.

If it is easier to see the table with dates and times, the data is here:

Schedule looks like this:
Date Column headers are as follows: B1 = 1/8/2010, C1 = 1/9/2010, D1 = 1/10/2010, E1 = 1/11/2010
Time Row headers are as follows: A2 = 8:00 AM, A3 = 9:00 AM, A4 = 10:00 AM, A5 = 11:00 AM, A6 = 12:00 PM, A7 = 1:00 PM
The cells that contain patient names are: B2 = Jo, C3 = Sioux, C4 = Sioux, D2 = Sioux, E3 = Chin

The extract table looks like this:
Column headers are as follows: B20 = # App, C20 = App 1, D20 = App 2, E20 = App 3
Row headers (patient names) are as follows: A21 = Chin, A22 = Jo, A23 = Sioux
The cells that contain patient names are: C21 = 9:00 AM, 1/11/10, C22 = 8:00 AM, 1/8/10, C23 = 9:00 AM, 1/9/10, D23 = 10:00 AM, 1/9/10, E23 = 8:00 AM, 1/10/10

View 9 Replies View Related

Lookup In Table With Duplicates

Dec 21, 2006

In my enclosed attachment, you will see my dilemma. I have a list sort based on the cell value, but when two values are the same, it shows the first alphabetical listing twice when I INDEX. I can go into the individual cell and correct it, but how can I apply the formula to all the cells so no matter the matching values, I always get name A and B, rather than two A's, for example?

View 3 Replies View Related

Lookup Latest Value Given Conditions?

May 30, 2014

see attached for the sample data. I'm looking for: Sat Score (from column F), that is from the latest/max Report Date (column A), for a Project (column B), THAT IS NOT BLANK

In other words: For each project, we want to know the score from the latest report. But sometimes the latest report doesn't have a score, so we want the score from the latest week that actually has a score. If none of the weeks have a score, return blank.

View 4 Replies View Related

Lookup Based On A Few Conditions

Mar 13, 2008

I am wondering if I can do a formula that would tell me if the name that appears in column J or K appears more than once at the time/date slotted in columns A and B. Basically, I want to make sure that the name(s) in column J and K aren't assigned 2 different places at the same time slot (column B) on the same say (column A).

View 9 Replies View Related

Lookup With Multiple Conditions

Dec 3, 2005

way to return a value from a data table by specifying 3 conditions to be met.

Eg. My data table is in cells W1:Z100
(Column names = Track, Distance, Class, Time)

I want to be able to return the time value, based on track, distance and class values.

View 9 Replies View Related

Lookup Based On Two Conditions ...

Jul 13, 2009

I know that there are bunches of threads concerning lookups with multiple criteria, but I just can't figure out how to translate one to my situation. I want to return a value based on an item name which is in column A, and an operation which is in row 1.

The array from which I need to look up the value contains part number in column B, operation in column G, and the actual value I need returned in column H.

So I need to return something like this: ...

View 14 Replies View Related

Lookup Maximum With Conditions

Nov 21, 2006

i have a list of price list, and it is updated once a while, which means there is a change in version number.

The table is a direct extraction and it has to be like that...

I have tried to vlookup but only return 1 line, same as match and index... or maybe im not using the forumla correct.

Attached is the excel example hope this help. as you can see there is alot of dupe reference but different version and prices

I cannot concatenate the reference and version number as my lookup reference doesnt know what one is the latest version...

but one thing is constant, that is the version number is always needs to be the highest.

View 3 Replies View Related

Lookup Based On 2 Conditions

Dec 22, 2006

In the sample that I have attached. I am trying to compare Control ID and Business Date in Sheet[Test] and Sheet[Perform], If they are the same, then populate in Sheet[Perform] Column Test Status with the corresponding row in Sheet[Test]. note that Control ID and Business Dates are not constants.

View 4 Replies View Related

Add Condition To Simple Formula

Mar 26, 2009

Using Excel 2003. I have a very basic SUM formula I am using to show how many forms are still in-house. Pretty simple.

Column D is how many came in.
Column F is how many were completed.
Column E is what is left.

To get the daily count I take the previous day's Column E, add to today's Column D and subtract today's Column F.

=(E2+D3-F3)
Puts the results in E3.

This formula is copied on down the worksheet which results in:
=(E3+D4-F4), with the results in E4. And so on down Column E.

The problem is that if there is no data entered in Column D or F, the results from E are carried (copied?) as far down as the forumla. i.e., if today's column E results in 4, then that is displayed for as far down as I have copied the formula. What I'd like to do is set the formula so that if there is no data in columns E or F, then there is nothing displayed in Column E.

View 3 Replies View Related

Simple If Array Formula

Mar 10, 2013

Trying to work out array formula.

basically if B2 = list of figures in range(F1:f22) then "G14" otherwise "".

{=if(b2=(F1:F22),"G14","")}

doesn't work.

View 5 Replies View Related

Multiple Occurrence Lookup Without Duplicates

Jul 19, 2007

Is there anyway that the UDF can remove duplicates? It's not a huge problem, but would make things a bit easier.

View 2 Replies View Related

Lookup With 2 Criteria & Duplicates Exist

Aug 16, 2007

The yellow highlight is where you input the data needed. The problem is it doesn't show the result when the letter has a duplicate. For example, when I enter "a" in the first input cell(input letter) and "1" in the next(input number), I get the result("a1"). However when I input "a" in the first and "2" in the second, the result just shows a blank cell, and so forth.

View 9 Replies View Related

Lookup With THREE Conditions - One Vertical / Two Horizontal

May 23, 2012

I have a table where I need to return a value according to THREE conditions:

1. Vertical, which is a shop code for instance

2. And 2 horizontal:
- One: segment (heading level 1)
- Two: product (heading level 2)

E.g. for "Shop1", what's the value for segment "PI" and product "Credit", etc.

An example file attached : fz73m5zEmZS6Y14-C.xlsx‎

The key thing for me is to do this WITHOUT changing data structure, because that really would be a huge pain. I mean, if it's no possible to do without changes (e.g. adding an extra column, etc.), I'll have to live with that I guess. But ideally I would really like to avoid changing data structure.

View 8 Replies View Related

Conditions LOOKUP Two Files (ISNA)

Dec 21, 2006

Let me first explain what I tried to do, before getting to the mess I created. Maybe I should use another formula?

I wanted to compare the amounts in two files on the basis of the same product number. Thus search for a sheet and a column in another file for the same value of A6 (current file) and show the value of the same row in another column (of the other file). However, if there is no value I wanted it to display zero (0) or a text such as "False".

First I did a basic LOOKUP which should work?. However it still showed #N/A for cells without a reference value (A6 is THA) or target cells without a target value (€100.00). I tried to avoid this by combining the ISNA function. However, although the last value shown is correct, the ones before change and seem to add up, or refer to another cell?

Another issue I did not come to yet is the fact that I would like it to search for the correct sheet based on the first three letters of the reference (A6), preferably not case sensitive. A6 is Tha13, first three letters indicate sheet name Tha. Any suggestions on this? ...

View 9 Replies View Related

Lookup Value Basd On Multiple Conditions

Sep 25, 2008

I could use some help with a look up formula with mutliple conditions. In my worksheet I have a column for an order number, date, activity, machine, job status code, unit of measuer and cost. I need to find the quantity reported by a specific actiivty and unit of mesaure for a speciific order number.

Here is an example:

I need to find the quantity reported in the 7th column for order #1 based on Actiivty "2" and U/M "m".

Order No.DateActivityMachineStatusU/MQuantityCost19/1/200811Cm101 $ 3.23 19/1/200821Cm317 $ 10.17 19/2/200812Az5 $ 43.25 29/1/200811Pm23 $ 2.50 29/3/200821Pm57 $ 27.50 29/3/200812Pz2 $135.00

View 10 Replies View Related

Vlookup- Multiple Conditions For Lookup Value

Jan 8, 2009

ABB
MetricsCategoryJan 2008VisitsTravel50view_offerTravel10


Above is the data I want to lookup on. I need to be able to do a lookup for travel visits and a seperate lookup for travel view_offers.

Is there someway to do this with a vlookup or maybe match index?

View 9 Replies View Related

Simple IF Formula And Linking 2 Sheets

Feb 9, 2009

So I have a list of names, and I need to keep track of whose paperwork I have. There's a column that says Yes/No.

I would like to link everything to another sheet in the file. So for every name that says "No," I would like that name to appear in the next sheet. And when someone updates the first page to put in a "yes," I want it automatically taken off the second sheet.

So.

I have Sheet 1:....

View 14 Replies View Related

Simple Formula Returning Odd Result

Jun 10, 2009

I have a reasonable grasp of Excel and this has me completely stumped. Three cells hold numeric values (format General though the format seems not to change the result)

C4 = 4082322.25
D4 = 4046689.05
E4 = 35633.2

Another cell contains the simplest of formulae ...
F4 = "=C4-D4-E4"

Clearly the result should be zero.
In fact the result is (to 15 decimals) ...

0.000000000189175

HOWEVER
If I change F4 formula to "=C4-E4-D4" the result is zero.

View 3 Replies View Related

Simple Array Formula Between Two Different Sheets

Sep 25, 2013

I'm working on simple array formula between two different sheets.

I'm working on Sheet 1 and sheet 2

Right now I want the result on sheet 2 C9

Sheet 2 C6 has MTR
Sheet 1
c6 MTR
c7 MAR
c8 MTR

E6 2
E7 4
E8 6

Now on Sheet 2 C7 has 10

Now the result Sheet C9 has to get 8

=ARRAYFORMULA(SUM(IF(C6="+Sheet1!$C$6:$C$8",Sheet1!$E$6:$E$8,Sheet2!C7)))

I want this formula to work on both excel and Google Drive but now this formula doesn't work on any one.

View 4 Replies View Related

Inserting Simple Formula In Range

Jan 1, 2010

I would like to insert a formula in a column, the formula is in column D and must be something like "=C1-B1" for row 1, "=C2-B2" for row 2,...etc. I would like to do it without using a loop cycle in VBA...I have attached an example of the data I'm using..

View 3 Replies View Related

Type Mismatch With Simple Formula?

May 26, 2013

Code:

fma_rng = .Range("C" & fma_top & ":C" & fma_btm)
rows_blnk = Application.CountBlank(fma_rng)

why I would be getting a 'type mismatch' error with the line in red?

View 6 Replies View Related

Simple Subtraction Formula Not Calculating

Nov 21, 2007

I've got a list of marks (col T), and I want to create a new column subtracting 5 from each value.

Obviously, the formula in this new column is
=T1-5
=T2-5
etc...

But I enter that formula and excel doesn't do any calculating, it just displays "T1-5"
It even seems to recognize that it's a formula, highlighting T1 in the formula and the T1 cell itself, but no resulting value...

I've tried changing the format of the cells (in both columns) to Number and back to General again, but without success.

I've also tried copying and pasting (values only) the whole T column to another column, and tried there, also without any success.

View 9 Replies View Related

Adjust Simple Formula To Find Last Row

May 8, 2009

I am using this formula in Cell J12: =AVERAGE($G$12:$G$85)

It will always be $G$12 but $G$85 needs to be done so that it goes until the last empty row on the worksheet.

View 9 Replies View Related

LOOKUP Multiple Results But Ignore Duplicates

May 30, 2006

I have this formula below it will return multiple results is it possilbe to modified it that it will return multiple results but ignore duplicates. I would like it to be a stand alone formula no helper cells or helper columns.

=INDEX(B$2:B$15,SMALL(IF(A$2:A$15=E$2,ROW(A$2:A$15)-ROW($A$2)+1),ROW(A1)))

View 10 Replies View Related

Lookup Multiple Conditions To Return One Result

Sep 28, 2009

I am preparing an "automated" order form. I have a list of products (ten) in a pull down list, a list of options (3) in a pull down list and a list of the pricing.

So, If PRODUCT_A with OPTION_A, then PRICE = $X.
If PRODUCT_A with OPTION_B, then PRICE = $Y.
If PRODUCT_B with OPTION_C, then PRICE = $Z.

etc.

I want the user to select the product, then the option, and have the correct price "pre-fill" the cell.

View 3 Replies View Related







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