Search Range Of Cells For Text And Return Value Below It - Sum If More

May 12, 2014

I want to search within cells A4:F25 for "B71 - Brown" and show the number that is in the cell below this text. If there is multiple cells with "B71 - Brown" I would like the cell to show the total.

So for example,If the formula was looking for "B71 - Brown" in the cell it would show 8136. (A13+A21+D25+E17). If i changed it to "Lavender" it would show 2380. (C5)

Also this data is linked from several other sheets and the values i search for will change and will need to update.

View 1 Replies


ADVERTISEMENT

Search Range, Return Adjacent Cells Of Matches

Jun 21, 2007

I can solve my problem with a pivot table, and with VBA easily...however, I'm interested in knowing if this can be done with formulas (array formulas using index/match I'm assuming).

Goal: On sheet1 I have one column with products, then the column next to it will have an "Y" in it if the product is to be selected (blank if not). On sheet2 I want to create a list of the products that were selected (having the "Y"). The only thing stumping me is that I do not want spaces between the product list on sheet2...just a nice continuous list. Example:

Sheet1
cup Y
bowl Y
spoon
fork
knife Y

Sheet2

cup
bowl
knife

..not..

cup
bowl
knife

View 4 Replies View Related

Search For First Instance Of Text & Return The Value

Jun 13, 2006

I have a list of product numbers in col. A. In col. O I have a list of file
names that contain the product numbers as well as additional characters. I
need a formula that will search col O for the first instance of the text in
cell A2 and return that value.

The next formula will return all instances that contain the text found in A2.

View 12 Replies View Related

Search For Text And Return Value In Another Column

Apr 7, 2009

Imagine the columns below are labelled A - D. Is there a way to search for the value 'SPLT' and return the value in column D?

Great Scot Dried Peas 3610.6366
GT SCT GRN SPLT PEAS480.151
GT SCT MRWFT PEAS1230.2158
GT SCT SPLT PEAS 1900.3157
Haven 370.10

View 9 Replies View Related

Search For Text Return Value In Next Column

Oct 17, 2006

I'm trying to create a spreadsheet using several others in several different formats. What i need to do is search for a text string eg "EVP" in one column and return the numerical value of the cell in the column next to it - then sum all the values and create a table in the new sheet eg.

EVP sheet1!(value)+sheet2!(value)...etc...

View 3 Replies View Related

Macro To Search Text & Return Values

Jan 9, 2009

I have a spreadsheet containing several names. I want a formula or macro that will search a string of text within the cell. If the text exists within the cell, I need a code to populate. For example,

In cell E2, search for a phrase anywhere in the cell that contains "COM". In cell H2 look for the exact phrase "ASB". When "COM" is found in E2 and "ASB" is found in H2, in cell U2 return the value "COM ASBTVL".

In my case, E2 may not contain "COM", it may contain "DEN" instead. In that case, if E2 contains "COM", and if "H2" contains "SVC", then in U2 populate "COM APPSVC"

I'm guessing in my code I will need to list a set of criteria that will search row by row and return certain values when finding the text I specify.

Would a macro be best for this? Does anyone know how I would put that together?

View 11 Replies View Related

Search For Text :: Return The Last (latest) Date

Nov 11, 2009

I have text in column X and dates in column A...

How can I return the last (latest) date (column A) that "hold" was used (in column X)?

View 9 Replies View Related

Search Multiple Sheets For Text And Return Sheet Name

May 7, 2013

I have a workbook containing multiple sheets for documents issued to manufacturers. I have a summary sheet which contains all of the documents and I would like to be able to look up a document number against all the sheets, and return the name (or names if multiple finds) of the sheets containing this document.

I have got close to solving this by finding another post[URL] .... but I believe this doesn't work because it searches on values rather than matching text.

I have attached a simplified example file with the sheets to search being Fab 1, Fab 2 and Fab 3, and the formula need to go into column B of the Main Sheet.

Example for Ozgrid Forum.xlsm

View 6 Replies View Related

Search For Text Within A String, Lookup And Then Return Item

Sep 30, 2009

I have a spreadsheet!

I have two sheets, one of which contains film names and the other contains our tag structure for our website (which is a list of tags, their keywords and the primary parent channel they live under).

What I am trying to do is search the film titles and if any of the words match either the tag name or keywords then return the relevant channel.

Example:

Sheet 1 - Films
How To Apply Bridal Makeup
How To Fight A Donkey
How To Write Excel Formulae

Sheet 2 - Tags
Channel / Tag / Keywords
Tech - Microsoft - windows vista xp word excel
Tech - Computers - internet pc
Tech - MP3 Players - iPod Zune

So, for film 3 on Sheet 1 it would recognise the word Excel in the keyword list and return the channel Tech.

View 12 Replies View Related

Search Row For Text And Return Column Letter Of First Occurrence?

Dec 14, 2011

Is there a way to have a formula search an entire row containing certian text, for example "x" and have the formula return the letter of the first column that text is found?

View 8 Replies View Related

Search Symbol And Return Text Formula Not Working

Jun 13, 2013

I have a formula to find if the Symbol "!" is contained in the a cell. And i want it to input "Undercut Due to Trim Edge" if there is a "!" symbol and blank if there is not. What did I do wrong?

=IF(ISNUMBER(SEARCH("~!",AL57:AV57)),"UNDERCUT DUE TO TRIM Edge","")

View 3 Replies View Related

Complex List - Search For Text And Return Value In Table

Jan 20, 2014

I have a complex list of text (a chart of accounts) with various roll ups for subtotals on one worksheet, and monthly download on another worksheet showing the name of the account and the value. I wish to use match the text to return the value in the front sheet and avoid taking the simple route of linking the cells in case additions are added during the year.

I've tried using IF and VLOOKUP formulas without success - i guess becasue I cannot sort the table in descending order?

What would be the best sort of formula to search using the text, and return a value on the same row?

View 1 Replies View Related

Search And Return Values In A Range Group

Feb 15, 2008

I have a workbook that has rows of data starting at A5:G5 seperated in groups of 25 rows.
Example: A5 is numbered 1 and A6 is 2 A7 is 3 and so on to 25 then skip a row and start numbering again to 25.

What this is for is employees are placed in groups of 25 to be eligible for an award for safety.

What I want to do is Range G5:G650 is to be a place where an "X" is placed beside an employee who has had an accident then Range H5:H650 would return "Employee had an accident" I already have this part working.

Then I want to code a subroutine that would search for the "X's" and return the entire row data for each name in that group of 25 on a seperate worksheet.
This would then be printed so we would know which group's to exclude.

I know how to make it return the row of data containing the "X" but how can I make it grab the entire group?

There will be multiple groups of 25 each and each time an "X" is found within a group create a new worksheet for that group.

650 employees / 25 = 26 groups

View 14 Replies View Related

Search Range Of Data To Return A Value (IF Statement)

Oct 11, 2011

I have data that has months in it that are spelled wrong and in different formats etc. I need to be able to search the range of data I have created in a separate table in order to return the correct abbreviation into my spreadsheet. See below:

Need to be able to search this range (A1:E12) and return the corresponding horizontal value in the last column (Jan, Feb, Mar)

JanuaryJanuraryJan-11JanJan
FebruaryFebruraryFeb-11FebFeb
MarchMarchMar-11MarMar
AprilAprilApr-11AprApr
MayMayMay-11MayMay
JuneJuneJun-11JunJun
JulyJulyJul-11JulJul
AugustAugustAug-11AugAug
SeptemberSeptemberSep-11SepSep
OctoberOctoberOct-11OctOct
NovemberNovemberNov-11NovNov
DecemberDecmberDec-11DecDec

I am currently trying this, but its not working! =IF(F2="","",VLOOKUP(F2,Dates!$A$1:$E$12,5,TRUE))

View 9 Replies View Related

Analyze Cells Of Text-return Defined Text Phrase If All Cells Have Same Text

Apr 30, 2014

I have 10 cells in a column. I have a drop down list in each that is the same in each. If all 10 cells have the same item selected from the drop down list, I want a separate cell to list Yes or No. I've tried a few variations with no luck.

View 4 Replies View Related

Search Text String And Return Value Based On Multiple Criteria?

Apr 8, 2013

Here is an example of the data I get each day Letter order granting Sabine Pass Liquefaction, LLC's et al 4/16/12 request to add an alternate water source etc under CP11-72.Letter order granting Cameron LNG, LLC?s 4/5/13 filing of a request to introduce natural gas or process fluids into the BOG Liquefaction Project under CP12-15.Letter order accepting NorthWestern Corporation's 8/7/12 submittal of revisions to its transmission planning process to comply with the Commission's June 8, 2012 Order under ER11-2932.Letter order approving Public Service Company of New Mexico's 12/7/12 filing of a joint Offer of Settlement with Navopache Electric Cooperative, Inc under ER11-4534 et al. How can I set up my spreadsheet and what formulas can I use to search and return a value for each text string based on the attached table (column B)?

E3a7qta.png

View 1 Replies View Related

Excel 2007 :: Search Box Function - Return Value / Text Not Location

May 15, 2014

I need code for a search box function, that returns the information recorded in a cell for example, "Barcelona" or "London" etc), instead of the location of the cells.

I will need to narrow it down to search only the information in the following columns:

Sheet2
I2:J10932

I am totally new to VBA coding and have stumbled my way through a few things, but everything I have searched for so far has had at least one error when transposing to Excel.

I am running Excel 2007.

View 3 Replies View Related

VLookup To Search Range On Different Sheet And Return Appropriate Corresponding Cell

Jan 22, 2014

I need to lookup to search a range on a different sheet and return the appropriate corresponding cell.

Basically its if a1 is found in the other sheets range a1:a100 then return the corresponding Bcolumn value from the different sheet.

Formula
=VLOOKUP(A2,'All Users'!A$2:A$100,'All Users'!B!2:B!100)

Example of 'All Users' Sheet

A B
STAFFIDSTAFFNAME
24177John
10487Paul
20031George
84087Ringo
85772Pete
24485Stuart
3829George
51836Yoko

View 3 Replies View Related

Search Formula (return A Statement If A Certain Month Is Contained In The Text Within Another Cell)

Dec 21, 2008

I am trying to write a formula that will return a statement if a certain month is contained in the text within another cell. Formula is =IF(ISERROR(SEARCH("Dec",Assumptions!B2)),"Ensure Journal is Non Reversing","")

Cell B2 contains a date in the format of Dec 08, so if this date contains Dec, then return "Ensure Journal is Non Reversing", if it doesn't then leave the cell blank.

At the moment it is putting in the first test for every month I select and not changing to blank.

View 2 Replies View Related

Search Range For Current Month & Year Return Corresponding Values

Nov 21, 2007

I have a workbook with two spreadsheets in it. On the second sheet there is a large table, which column headings are months and years (e.g. Jun-07 Jul-07, Aug-07, Sep-07....). I was trying to write an excel vba code that would search the first row (column headings) to find the current month and year, and copy the corresponding column along with two previous columns (months) to the first sheet. I would like to have a code that will be able to do this in Jan-08, Feb-08, or Jan-09 as well.

View 2 Replies View Related

VBA - Search For Multiple Text Strings In Data Field And If Matched Return One Word

May 7, 2014

I have hundreds of records of customer info and I am trying to categorize the job titles so that I can conduct some analysis with a pivot table. My problem is that there is about 20 different ways and variations of "manager" so Instead of autofiltering for "mrg." "Manager" "marketing manager" ect. and then replacing the text manually and using the enter and fill process (to create some standardization to compare "manager" to "director" to "c-level" to "consultant", etc.) and repeating this process over and over again...

I would like to create a VBA that would search the column "job title" for multiple text strings at once and if the text string was true in the cell then the cell would be replaced by a new text string "Manager". I was thinking a series of if functions within one vba but I am not sure if this is possible.

View 8 Replies View Related

How To Use VBA To Search Strings And Return Values Or Cells Nearby

May 20, 2009

Im needing to search through the attached document which is truck logs at a mine and use vba to search through the list for each of the different shovels eg SHVL1, SHVL2 & SHVL3, and when the code finds that string, to display the tonnage 2 colums back from it. Im about half way there a i think but am having trouble with strings, if it was numbers i could do it no problem

View 11 Replies View Related

Search Workbook For Cells That Meet Multiple Criteria And Return Results From Rows

Jun 28, 2013

I would like to perform a search on only the worksheets listed in a worksheet titled table of contents. I would like to use multiple criteria for this search and send only the unique results to a worksheet titled results. Each worksheet listed in the table of contents has a cell address for each heading that I would like to extract data from the same column. The attached workbook example shows the data that I would like to collect when I search for cells that begin with "AB" and cells that begin with "CD". I collected this data by copy and pasting all the data from each worksheet into the results page and then applying filters and advanced filter to remove duplicates. This method does not work well for the original workbook as the data is quite extensive.

Create_List.xlsx

View 4 Replies View Related

Return Text Based On Text Existing In Range

Oct 15, 2007

I am trying to Lookup a country to see if it is classified as a "Developed Country".

My formula would be in cell AA4. I want to see if the country in cell B4 is on a list of developed country's on another worksheet. IF the country is found on that list cell AA4 displays Developed. If the country is not on the list, cell AA4 displays Emerging.

I have tried an IF statement using the Match function and it does not work.

=IF(MATCH(B4,'Developed Country List'!$A$2:$A$37,0), "Developed", "Emerging")

View 4 Replies View Related

Compare Multiple Text Cells To One String Of Text And Return Specified Value

May 12, 2012

I have a dataset of shifts and want to compare each shift that needs to be filled to a list of requests for time off (vacation, etc).

For one cell the code is: =IF(ISERROR(SEARCH(B1, A1), 0,1)

Where A1 is the column of requests in comma delimited forme (ie: "AB,CD,EF").

Where B1 is the column containing the person assigned to shift 1 (ie: "AB")

In this case, would return a "1" as no error was returned, as AB was found in the list. Here "1" would represent a schedule conflict.

Without creating many cells for each shift- there are 20 shifts- can I create an array or string together this type of "SEARCH" function?

View 1 Replies View Related

Search Partial Text With In Data Range?

Dec 18, 2013

I am trying to search partial txt with in data range.

View 4 Replies View Related

Search A Range Of Cells For A Range Of Values

May 28, 2009

I'm trying to do is search a range of cells for a range of values AND then see if it matches one other value in another range of cells. In this case,

=SUMPRODUCT((T3:T49="P6")+(T3:T49="P5")+(T3:T49="P4")+(T3:T49="P3"))*(U3:U49="w")

T3:T49 can equal P6 or P5 or P4 or P3 but the cells can only be counted if U3:U49 is 'w' as well

View 3 Replies View Related

Search A Range To Enter Text In Adjacent Cell

Jul 19, 2006

When i press say a command button " Add Repair Information" i want the User to Enter the serial number which i have given it a range called SerialN from the excel sheet and enter a repair action. Is there a function in Excel which will allow me to search the Serial Number and allow me to put the Repair action across in the cell on the same line?

View 5 Replies View Related

Search For Multiple Text Strings In A Cell - Return One Of Multiple Corresponding But Different String

Mar 11, 2014

I have a spreadsheet with 1,000 rows of data.

Each Cell in Column A has a different long text string.

I need to see which (if any) of 10 specific small text strings exist within each long text string. Depending on which small text string is found I want to return a 3 digit code. If no small text string is found I want to return "Not Found"

E.g.:
- Cell A2 contains "randomtext,randomtext,APPLE,randomntext"
- I want to see if Cell A2 contains any of the words APPLE, ORANGE, CARROT.
- I want to return "APP", "ORG", "CAR" or "Not Found"

Q: What is the most elegant way to accomplish this within a single formula that I could paste into each cell in Column B?

View 2 Replies View Related

Search Compare Text In Two Cells

May 25, 2007

I have one sheet and i want to compare the first word in the column "D". If the first word of D2, is the same than the first word of D3, i want to copy to another sheet and after the copy, insert 2 blank rows... if it's different, i want to copy and insert 3 blank rows

Maybe it's better to attach the file. In the first sheet, you'll see a little part of the real sheet, and the second sheet is the example of what results i want to obtain with code...

View 6 Replies View Related







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