Return A Result IF A Certain Value Is Found In Another Cell

Jul 2, 2009

I want to return a result IF a certain value is found in another cell. I've attached a sample workbook, but here's a description:

On the "Inventory" worksheet, in column H, I want to lookup the quantity in column B from the "Warehouse Response" worksheet. If the Part # in column E of the response sheet is NI1088106, I want THAT value to show under the NI1088106 part number, and I want the quantities for the NI1089106 to show under that part number. Ideally, the result of the formula would show a "0" if no data is found.

Here's the formula I tried beside the NI1088106 data, but it's not giving the desired results: =IF('Warehouse Response'!E:E="NI1088106", VLOOKUP(LEFT(A3,3),data,2,0))

View 3 Replies


ADVERTISEMENT

Return Yes If Text Is Found Within A Cell

Dec 24, 2013

I currently have the below formula to search for text of interest (A1) within each cell of a column (B6:B30).

=IF(ISERROR(MATCH(A1,$B$6:$B$30,0)),"NO","YES")

The formula works perfectly if there is only a single value in the cells. But not so well when the cell has multiple values separated by a comma.

For example:

Column B

X
Y
Z
T, X, Y, Z

It would return a "Yes" for X, Y, and Z because those are found individually. However, T will appear as a "No", because it is found within a cell that is separated by commas.

View 4 Replies View Related

Getting Cell Match To Return FOUND?

Apr 14, 2013

I know I can do this by nesting a load of if statements but I was wondering if there is an easier way.

If in cell A2 I have the value 12 and I want cell A1 to return a value FOUND if any cell from A6 to A24 has the value 12 in it.

View 3 Replies View Related

Return Cell Value If Match Found

Oct 26, 2006

I need to pull data from Column C by looking at Column A. However it's not as simple as that. Under Column A, there are various fields, the first number represents a type of product and under what year it is currently in. So "300100" would represent a 3 yr product that is in it's third year, "210000" would be a 2 yr product in it's first year and so on. The problem is that when I pull data from the DB, some 3 yr products are flagged as products that are in their 4th or 5th years, which isn't possible. So I created an IF statement that takes this into account and ignores illogical combinations.

=If(A2="300100",C2,If(A2="301000",C2,If(A2="310000",C2,If(A2="210000",C2,If(A2="201000",C2,If(A2="510000",C2,If(A2="501000",C2,If(A2="500100",C2,))))))))

As you can see, I don't have the conditions "500010" and "500001" because it won't fit into the IF statement. Is there another way to go about doing this task? I've searched up the forums and someone recommended using the IF statement with VLOOKUP but I don't think it works in this particular case since I have 10 conditions.

View 2 Replies View Related

Return True If Any Values In List Is Found Within Cell

Jan 8, 2012

I have long text values that include names in cells A1:A100.

In cell D1:D10, I have a list of names that I would like to check if any of them is found in each of the cells in A1:A100 and if yes, return TRUE in column B.

So in a way, what I need is a a bit like the SEARCH function, only that I need to find multiple FIND_TEXT values. If just one of the names in D1:D10 is found, the formula should return TRUE.

View 4 Replies View Related

Return TRUE If Part Text Found In Cell Range

Feb 27, 2012

The formula has to include a range across each row (for each student). The formula has to search for specific text contained in the classnames, and then return the result along the same row.

Below is an example, which I hope saves OK in the thread. If not I'll upload an Excel file:

A B C D Results:-
1 class1 class2 class3 class4 Gg Hi Fr Sp
2 10m/Gg1 10m/Hi2 10m/Fr1 10m/En1 TRUE TRUE TRUE FALSE
3 10n/Hi1 10n/En2 10n/Sp1 10n/Ma1 FALSE TRUE FALSE TRUE

View 14 Replies View Related

Looking To Find 1 Of 2 Words In A Cell In Column B And Return Word Found In The Same

May 27, 2014

Looking to find 1 of 2 words in a cell in column B and return the word found in the same row in column E. This seemed easy but I am not having any luck.

the cells in column B have several words in them but I am looking for 2 specific words "PLAT" and "ORIG". If the word is not in the cell, it should show a blank cell in column E in the same row, otherwise one of the 2 words should be in that row in column E. A VBA loop would be ideal but a formula that can do it might work as well.

View 3 Replies View Related

Return Third Value If Cell Is Found Within Another Cell Range

May 15, 2012

So I'm trying to merge some of the information found within two separate worksheets. I'm working with a list of ID#s that may or may not be found on both worksheets, and in a column on Worksheet1 I want to put some of the information found for the corresponding ID# on Worksheet2.

Now I've figured out how to check if an ID# on Worksheet1 exists within a column in Worksheet2 using the formula:

IF(COUNTIF('WORKSHEET2'!$A:$A,A2)0,"MATCH","NO MATCH")

(Excuse the syntax errors if they exist, I'm doing this off the top of my head for expediency)

However, instead of returning the word "Match" if it does indeed exist on Worksheet2, I would like to return the value found in Column E, on the row of the matched ID#, in Worksheet2.

View 6 Replies View Related

Return Cell Below VLOOKUP Result

May 30, 2006

After using a vlookup to find a value in a cell I want it to return the cell belows information.

View 2 Replies View Related

Return Result Of WorksheetFunction To Cell

Sep 14, 2007

I am editing macro formula... is it possible VB does calculation during code execution & return only the value to Cell. this way the formula calculation remain hidden & code will probably run faster..eg.

Range("D3").Select
ActiveCell.FormulaR1C1 = "= COUNTA(Data!C[-3])-1"
Range("D3").Select
Selection.Copy
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False

I need to calculate & keep only value not formula in excel sheet each time the macro runs. I am getting error

Worksheets("data").Range("D3").Value = Application.CountA(Data![C:C]) - 1

View 3 Replies View Related

Return Result Based On Time In Cell

Oct 2, 2007

I have a table of repair jobs done over a period of time. I just need to determine during which shift was the repair job done. The time during which the job was initiated is called Notification Time.

If the job was done at, say, 0100 hrs, then it was done during Shift 1 (0000hrs to 0800 hrs)
If done at 0830 hrs, Shift 2 (0801 to 1600hrs)
If done at 2030 hrs, Shift 3 (1601 to 2359 hrs)

I need a formula to allow me to determine the Shift no. by just checking against the Notification Time column.

View 9 Replies View Related

Return Result Based On Text In Cell

Oct 26, 2007

I have a spreadsheet where in cell E2 there is a drop down box with the following options to select: Warranty Replacement, Insurance Claim, Billing Issues, Retention Opportunities.

In cell F2 is where wait time minutes are generated depending on what is selected from the drop down box in E2. I am trying to create a nested IF formula for the following scenario:

Warranty Replacement = 20
Insurance Claim = 20
Billing Issues = 15
Retention Opportunities = 20

View 5 Replies View Related

Show Different Result If Match Is Found

Nov 21, 2006

I'm having problems with a formula. Here is what I would like to do:

I have a named range named "J46DATA".

If B5 returns "N/A" when matching to "J46DATA" and S5<>0 then return "DELETE" or IF B5 returns "N/A when matching to "J46DATA" and S5 = 0 then return " ALERT". anthing else can return false.

I started of with
=IF(AND(ISNA(MATCH(B5,J46DATA,0))

But it wouldn't let me put the S5<>0 after that lat parantheses.

View 6 Replies View Related

Formula: Return Result Based On Other Cell Values

Sep 27, 2006

I have a spreadsheet that give me the percentage difference of two cell say a1 and a2 (=a2/a1)[format as % two decimal places]. The result is on say b5 as a %[format as % two decimal places]. Now on B6 I want to do this:

if B5 is >3.01% then b6 =" Market Test Required"
if B5 is +3% then b6 =110
if B5 is +2% then b6 =106
if B5 is +1% then b6 =103
if B5 is 0% then b6 =100
if B5 is -1% then b6 =96
if B5 is -2% then b6 =93
if B5 is -3% then b6 =90
if B5 is >-3.01% then b6 ="Market Test Required"

So on and so on.... I would really appreciate your help on this issue.

I have used excel for some time now but not with complex formulas or any vb.

View 9 Replies View Related

Return 1 Result From Many Based On Multiple Condition Check Of Cell Value

May 21, 2008

I am trying to write a formula to figure out Body Mass Indexes for certain age groups and whether or not they fall into a High or Low risk category. So, I am trying to write a formula that does the following. I have 3 columns, Gender, Age and BMI. I need the formula to do the following.

IF Gender = M AND Age >18, <39 AND BMI >7%, <19%, Then return an "L" into 4th column
IF Gender = M AND Age >18, <39 AND BMI >19%, Then return an "H" into 4th column
IF Gender = M AND Age >40, <59 AND BMI >14%, <23%, Then return an "L" into 4th column..............................

View 2 Replies View Related

Excel 2010 :: Return Result For Appearance Of Text String In Any Cell In Row?

Jan 30, 2014

I deal with a rather large excel database (the range is A1:AV168266) that contains customer information. Some of these various customers are affiliated with a group called "ascend" and I need to be able to filter all my list by every customer affilliated with Ascend. The trouble is that the word "ascend" can appear in 8 different columns and usually when it appears in one column it doesn't appear in the others and their can also be more text in the cell beyond the word "ascend". I want to create a formula that will simply look for the word "ascend" in any cell of a row and return a result I can filter by. I will be putting the formula in column AW and put it in all 170,000 rows of that column, that way I can just filter by a single column.

I've played around with combining COUNTIF with SEARCH and MATCH with SEARCH but nothing seems to work.

View 7 Replies View Related

Get VLOOKUP To Return Zero Is Not Found?

Mar 25, 2009

I'm using VLOOKUP to search for results in another worksheet. What I need is 0 returned if the search fails. Currently I'm getting #N/A and that's causing my other formulas to fail.

View 8 Replies View Related

Return Value If Match Found

Aug 25, 2007

I am trying to compare a single cell's Value in 1 worksheet to try to find a match in another column (or a range of cells). If I find a match I want the result to be a 1 and if it is not found then a 0.

Is this the Lookup function?

View 8 Replies View Related

Lookup Two Different Columns And Return If Both Found

Dec 3, 2012

I am trying to look in B1:B100 for the Cell that matches A1 and C1:C100 for the cell that matches A2 then return the value from D1:D100 that meets the 2 criteria.

View 6 Replies View Related

Return Range Where Data Is Found

Aug 8, 2006

I am looking for a function that will search a range like 101-199, 200-249, 250-299 and so on.... Say I have a list of numbers like 155, 179, and 210. How can I find out what range they belong to? I am kind of looking at SumIf's but I cant seem to get that to work.

View 3 Replies View Related

Lookup Value & Return Text If Found

Sep 15, 2006

Im trying to create a formula that check to see if the value in H4 equal any value in the vlookup table m4:m48, if so, then Y, if not then N. the following does not work: =IF(ISNA(MATCH(H4,M$4:M$48)),"N","Y")

View 2 Replies View Related

Return Corresponding Value Of Found Match In Matrix

Mar 15, 2008

A have a table like this:

X 1 2
A 9 5
B 8 4

I would like to have a condition that when is equal to B and 2, return the corresponding paragraph in the matrix (in this case 4)

View 5 Replies View Related

Formula To Lookup Two Values In A Row And Return Value If Both Are Found

Apr 1, 2014

I am trying to use a formula similar to VLOOKUP() to look in a table for two values and if both values are found, return another value.

Sheet2 is an example of my output file, sheet one is a generated file. i would like the vlookup formula in sheet 2 cell D2 and down to be something like this,

=VLOOKUP(A2,Sheet1!A:K,10)

But I would like to lookup A2 and B2, and the row that contains both values, return the value in the J column

View 3 Replies View Related

Lookup Return Error If No Match Found

Jan 11, 2006

If lookup doesn't find a match in the first column, can I get it to return an
"ERR" or "0", something that would let me know there was no match? Right now
it returns the value in the second column of the closest value.

View 13 Replies View Related

Return Maximum Value For A Range If Word Is Found

Mar 13, 2014

I have an Excel Worksheet with 80,000 lines on it. The Columns are arranged thus:

Col A
Col B
Col C
Col D
Col E
Col F

Code
Description
Cost
Rate
Mobile

0.13

1234
Australia Mobile
0.12
Not Mobile

[Code] ........

I am looking for an Excel Formula that will look up Australia & Mobile and then return the highest value of the range of cells it finds that meets that criteria and enters that value in the Rate column next to mobile (F3).

Then I just want a variant of the same formula that will look up Australia but exclude Mobile and then return the highest value of the range of cells it finds that meets that criteria and enters that value in the Rate column next to Not mobile (F4).

View 1 Replies View Related

Nested If Vlookups; Return A Blank If Not Found

Feb 1, 2007

I have three named ranges that I need to do lookups for First I need the formula to do a look up at the HUMANALOOKUP range and then if a value is not found go to LABLOOKUP and then if not found go to CHCSLOOKUP and if not found return a blank. the column layout of each worksheet is the same so the column index number same throughout the formula.

View 2 Replies View Related

Search Table & Return Heading Of Found Value

Sep 8, 2007

In a large spreadsheet that receives external data, I have codes (U, N or V) allocated at various times to different rows as shown in sample worksheet attached. Elsewhere in the spreadsheet, I need to display (for later export) these codes along with their respective number in a sorted list. Please review the attached:

In the spreadsheet you'll see a column of codes, the next column is the data reference number, then to the right is three columns, one for each code. As displayed in the sample book attached, each Code column is to display the data reference number (from column 2)that matches that column's code.

What formula can I use to list these numbers in the appropriate columns?

View 5 Replies View Related

Return Data Adjacent To Found Values

Jul 30, 2008

Is it possible to write some VBA code that will copy IDs from Sheet1 and then find these IDs in Sheet2 and return the values these IDs have?

View 4 Replies View Related

A Forumla To Look At A Year And Month And Return A 1 If Match Found?

Apr 3, 2014

In cell b2 I have a formula =text(today(),"yyyy") which daisplays todays date as a year, in cell b3 I have =text(today(),"mmmm") which displays todays date current month.

I have a column of Months and Years

January 2014
February 2014 etc

I need todays (current) month and year to indicate in a helper column next to the relevent month and year as a number 1 to use as a reference to return date from the row where the 1 is displayed, I have tried =if(and(b2=a10,b3=b10),1,"")) and it dosent like the fact that the year in the colmuns is entered as standard text, is there any whay to do this?

View 8 Replies View Related

Return Column Number When Specific Text Is Found

Apr 29, 2014

I am looking for a formula to return the column number of the array when a specific text is found, in this case the text is "Yes"

The Array will only ever be 5 cells beside each other in a row

for example, M4:Q4, will be as follows - No No No Yes No

I want a formula to look at these 5 cells and return the number 4 as that is where the "Yes" value is

View 5 Replies View Related







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