Searching For Two Variables

May 20, 2007

This is my problem:

Column A contains letters
Column B contains numbers
Column H contains data

I need a formula that will do the following:

Lets say cell M1 contains a certain letter, and cell N1 contains a certain number. I need to find the row on the spreadsheet that has the letter shown in M1 in column A and number shown in N1 in column B. Once the row is found, I need to return the data in column H of that row.

View 5 Replies


ADVERTISEMENT

Unzip Code - Works Without Variables, Breaks With Variables...

Feb 5, 2009

Unzip Code - Works without Variables, Breaks with Variables.... This has been driving me bananas...

I have the

View 2 Replies View Related

Function Back Variables: Function Give Two Or More Output Variables

Jul 27, 2006

Can a Function give two or more output variables. e.g.

Sub a()
x = 5
result = Y(x)
End Sub

Function Y (x As Integer) As Integer
Dim B
B = ... * x
Y = ... * B

this will give back Y as a result. But if I want to get 2 or more output variables (let's say I need to get also B into sub) from one function, how should I do that?
I need this because function works with large matrix and I want to extract some values appeared in between.

View 2 Replies View Related

Defining Variables Using Variables

Apr 27, 2006

I'm trying to loop through a range in excel from access, checking where the titles (in Excel row 1) match with the fields (in a recordset in Access that is passed to the function) - and where they do, I want to dimension a variable to hold the column number - I'm not sure it's possible, but I'd be interested to know either way. The line I'm asking about is at the bottom of the code - the rest of the code is just to give context...

Sub ImportGeneric(rsImported As ADODB.Recordset, rsConfirmed As ADODB.Recordset)
Dim fd As FileDialog
Dim xl As New Excel.Application
Dim wb As Excel.Workbook
Dim ws As Worksheet
Dim iFilePicked As Integer
Dim strFilePath As String
fd.Filters.clear
fd.Filters.Add "Excel files", "*.xls"
fd.ButtonName = "Select"
iFilePicked = fd.Show
If iFilePicked = -1 Then
strFilePath = fd.SelectedItems(1)
Else ..................

View 3 Replies View Related

Searching For Text

Oct 13, 2009

I have doc with app 1000 rows of data, one col being product description. I want to simply search the entire description column for a particular string of characters and enter a 1 in a new adjacent column where there is a match. Where there is no match, I want a 0 or a blank.

View 3 Replies View Related

Searching Within A Cell

Apr 24, 2007

I'm wondering what function I can use to search a specific word in row with many text?...

i attached for the example and details.

View 10 Replies View Related

Searching A Cell

May 10, 2007

I am trying to create a search facility to search for accreditations.

currently my search only picks up on the first word in the cell.

ie Prince will be found in Prince 2 Foundation, but a search on foundation comes up with nothing.

How do i get the search to search all the text in the cell and not just the first word.

I am searching on a number of worksheets but in the same range on each worksheet.

View 9 Replies View Related

Searching Summation

Jun 26, 2007

I need to be able to search through category(column H) and match with machine size category. Then for each category split up total time spent on each function. Granted this will be 6 formulas. I've searched through the forums and came up with what I have....

View 10 Replies View Related

Searching Various Columns

Aug 14, 2008

I have 180,000 names in a spreadsheet with unique codes for each, I need to search for names and find their code numbers, how can I do this over a series of 8 columns.

Code Name code Name code Name Code Name

I'll need to search columns 2, 4, 6 and 8 for the name?

View 9 Replies View Related

Searching By Date

Mar 3, 2009

Have the following scenario I'm struggling with in Excel 07:

2 worksheets:

WS1, have a bunch of customer data. Relevant columns in this WS include customer number (unique value) and a column called "adjustment date", which is formatted as a date as the label name implies.

WS2 is a bunch of customer transactional data, with each row being a unique transaction. Relevant columns here include customer number (formatted same as in WS1) and transaction date.

Couple things to note: in WS2, each customer may have dozens of transactions. Right now, I have that WS sorted by transaction date in ascending order (so oldest to newest).

What I'm trying to do (unsuccessfully so far!) is build a formula in WS1 that says "on what date was the customer's first transaction after their adjustment date"?

I've tried constucting something using =index+match, but to no avail.

View 10 Replies View Related

Searching Tabs

Jul 24, 2009

I have a workbook with 100+ tabs(not in alphabetical order), and am constantly scrolling back and forth looking for tabs, is there a quicker way to search tabs? I have also right clicked the arrows to pull up the box with all tabs, but not the best option either.

View 7 Replies View Related

Searching For Duplicates

Feb 3, 2007

Just trying to find a formula to look for duplicate entries in the same workbook or a single column

View 2 Replies View Related

Erase Variables All The Variables Or To Set The Value Of Them To "0"

Jan 16, 2007

i have a "problem" to empty / reset my variables. I defined them as vHour1_KW2 where the "1" is from 1 to 21 and the "2" starts from 1 to 53. Now I want to erase all of this variables or to set the value of them to "0".
At moment I use following

vHour1_KW1 = 0
vHour1_KW2 = 0
...
vHour1_KW53 = 0

vHour2_KW1 = 0
vHour2_KW2 = 0
...
vHour2_KW53 = 0

until...............................

View 3 Replies View Related

Searching All Files With String

Feb 16, 2013

I want to bulid a code that enables me to open windows search result with a search string I define from excel data.

For example, I have folder path "X:workers".

In it, I want to search all the files with the string "dave".

The search string source is a cell in excel.

View 2 Replies View Related

Searching In All Spreadsheet Automatically?

Sep 20, 2013

I have a program that creates a query of data into two different spreadsheets.I wish to create a master page that automatically searches for data in each of two spreadsheets and add them appropriately to the master page.

I get how to do such thing using vlookup to search for data in one spreadsheet, how to do that in two spreadsheet situation.Here is a formula that I am stuck on...

=IF(ISERROR(VLOOKUP(A2,Sheet1!$A$2:$B$3,2,0)),VLOOKUP(A2,Sheet2!$A$2:$B$3,2,0),VLOOKUP(A2,sheet1:$A$2:$B$3,2,0))

View 1 Replies View Related

Searching A Column For The Last Duplicate?

Jul 2, 2014

Goals
*VBA - code
*Search down a column of Serial numbers that are in numerical order....Column A,B,C........
*find the last duplicate and the row of that SN
3301
3301
3301
3301
3301 <---What row is this
3302
3302
3302
3302<---What row is this

*Then Store that row number in a variable like a,b,c,

View 2 Replies View Related

Searching A Text In A Column?

May 13, 2014

I am trying to find a particular text in a column in excel. Below is the sample data.

Column A
ABA
ABA
ABC
ABC
ABZ
ABC
ABC
ABA
ABA

I would like to return TRUE/FALSE or 0/1 in Column B, B1, only if entire Column A contains atleast one ABZ. Tried search() & Find() but no luck.

View 1 Replies View Related

Searching And Transferring Data

Jul 29, 2014

I'm trying to print score cards from the scores sheet (two different worksheet pages). Some score cards (each score card is one page) will only have 3 players and some will have up to 5 players so I can't just go down the list and use a formula to transfer data line by line. I will set the score sheet up I just all of hole 1 players to be printed on a card and so on with hole 2-18 also I need First and Last names on the cards and possibly score total by the name.

Graphic1.gif

View 5 Replies View Related

Searching String For A Character

Feb 17, 2014

I have this data and want to extract the character after the letter Y if the string has a Y in it.

Example data Output

AU 2013 OD ANR B24 Y2 2
AU 2013 OD ANR B24 Y4 4
AU 2013 OD ANR B24 Y5 5
AU 2013 PD HLD NOV B SPA
AU 2013 PD HLD NOV C SPA
AU2013OD ANR B25 Y1 1
AU2013OD ANU B25 Y5 5
AU2013OD WCR FPVN B49
AU2013OD Y6 FPVN B49 6
AU2013OD WCR FPVN B40
AU2013OD WCR FPVN B43

View 6 Replies View Related

Searching A Cell Value For A Character

Apr 28, 2008

I want to test a cell for the type of value as 678/256 or 345/872/098/987 etc. The common character in each would be the "/". First, I need to check the cell for this, then take the first number and compare it to an integer(if it is <> , or = to). I hope I am clear with my situation.

View 14 Replies View Related

Searching For 50 Combinations Of Something Out Of Hundreds

Aug 10, 2008

ive got table consisting of about 4000 entries. Below is a small example.

[url]

I want to be able to make a button through macro's, where when pressed, it shows only certain postcodes - the way i've been doing it so far is using a combination of If, And, and Or functions to return true or false if a postcode begins with either 'AH4, AH1' and has an order number beginning with 'W', for example. Then I'd record a macro where it shows the ones showing true, via data filter. The problem I've got is I need to search for about 50 different combinations of postcode, out of a list of maybe 300 types of postcode, and using my current IF,AND,OR functions, I simply run out of room in the formula bar! For example, I need find a postcode beginning with CB1-25 (i.e. CB1, CB2, CB3) etc..etc.. the only problem is if i use my current LEFT function, and i want to search for say, CB1, CB14, CB15, out of a list of 'CB1,CB14,CB15,CB16', it will still return a postcode beginning with CB16, due to the CB1.

In the link I've highlighted the postcodes I want to search for out of that small list, and hopefully any solution I'm giving here I could expand to up to 100 combinations out of 500 combinations of postcode, for example.

How do I get it to search for a massive combination of criteria?

View 14 Replies View Related

Searching A Protected Sheet

Feb 11, 2010

I have a workbook whose worksheets use protection (don't want my calculations stomped on).

When the Protection is on, the search function does not work. You call it up, write what you are looking for, it accepts it, and then when you tell it to search it ignores you.

When you turn the protection off, the search function works just fine.

HOWEVER....Other workbooks I have with protection on its sheets do not share this problem, just this one workbook. And the problem is on all sheets in this workbook. The problem is not on any of the sheets in the other workbooks. I can't see anything different between them, but then I may not know what to look at.

View 2 Replies View Related

Searching A Cell With IF And ISTEXT

Mar 20, 2014

I'd like to search a cell A1 containing for example 'hello_L765'. If the 7th character is L and the 8th character is text(ie not a number) than display yes, otherwise display the 7th character.

View 3 Replies View Related

Searching A Column For Keywords?

Jul 10, 2014

I am trying to NEXT my way through a column of comments and highlight the cells containing the key words. Below is what I have put together, but I know it is NOT working correctly....

[Code] .......

View 8 Replies View Related

Searching For Missing Values

Jul 18, 2014

I have a list of records that for which I cannot find values for. Essentially I have a dataset that I need to match to other information but for some records this 'other information' is missing.

1. I have a list of records with missing information
2. I have a folder with a large amount of sub-directories
3. I have many DBF files inside of these sub-directories with X columns and x rows
4. Somewhere within some row of some column is a value that links to my list of records
5. I need to search for my value in, say, A2 and return the file name and directory in which it lies
6. It can be text or number

is this clear?

View 5 Replies View Related

Searching For Specific Words

Mar 15, 2007

I have 1000 diff names in a spread sheet and wish to search another spread sheet with these names on and alot more.

I want the search to look in the larger spread sheet for these 1000 names
and copy all the informtaion in the cells to a new sheet, if the name is not found i would like something like "no info found" to be seen.

Im a novice to doing this sort of thing in excel, but i have found this script which searches for the word "mail box" and copies all the info in the cell when it finds it.

View 14 Replies View Related

VBA - Searching Using Range Of Values

May 15, 2009

I have a value X in cell B5 and a Value Y in cell B6, in multiple worksheets

In my userform, i have 2 comboboxes

one holding value ranges for the x coordinaate (eg 0-10, 11-20,21-30)
the other holding values for the y coordinate (eg 0-10, 11-20,21-30)

i want the user to be able to select a range from the x coordinate and the y coordinate...then i want to search thru all the B5 n B6 cels across the worksheets and return those worksheets that match the users input...

is it possible for this to be done?

View 6 Replies View Related

Searching Data Using A Userform

Jul 4, 2009

I am looking to enter a numeric value these are the green columns. it then needs to search the workbook for that number (Barcode Number).

then if the cell to the right has a value, it needs to pull that number into the userform' if no number is next to it, then I manually write and post it the cell next to the one just found..

View 5 Replies View Related

Searching A Cell For Certain Characters

Oct 1, 2009

I have cells that look like the following


PN„¢HWA„¢PN
HWA„¢PN
PN
HCC
PN„¢HWA
HCC„¢HWA
PN„¢HWA
PN

Not the most exciting data, but I need to identify which cells contain the sub string "HWA". Ideally the next column would have that string extracted into it or some kind of indentifier

View 7 Replies View Related

Setting Up And Searching Database

Dec 20, 2009

I want to setup a worksheet that I can search the name of the comic book and the number of the book and have the results underneath the search criteria. I am attaching a sample workbook. On the search database sheet, I have setup how I would like the page to look.

The spots where Enter Comic Name and Enter Comic Number I would like to act as search boxes, as in Google.

I would like the Search and Clear to be buttons.

Is it possible to return the results I want? And can I keep my searches until I push the clear button? If not I will get rid of the clear button.

The last thing I want to see if possible is once I get a result, can I add a button to go to that comic books location to enter data. Or add a save button so I can edit any info right on the search page and save it in the database.

View 6 Replies View Related







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