How To Get Data From A Cell Given A Specific Criteria

Jun 19, 2007

I have a big data sheet. I have approximately 2170 rows and 50 columns. In some rows I have a series of consecutive zeros. I need to build a formula that gives me the date ( located in row3) right before the first zero in the series of consecutive 12 zeros.

For instance in row 1340 I have a series of 12 consecutive zeros. The first zero happens in column AC, therefore I need the formula to retrieve cell AD3. however every rows has zeros located in different cells therefore I need a general formula.

View 9 Replies


ADVERTISEMENT

For EACH Cell In Specific Range Meeting Specific Criteria - Call Sub

Jul 1, 2014

Looking to have a macro call a subroutine every time it finds a cell meeting specific criteria.

Code in plain english would look like this:

For EACH cell in range A1:BZ500 meeting the following criteria:

Cell value is a date

AND

Cell's date is at least a week or more in the future

AND

Cell background (Fill) = RGB color code: (R:191 G:191 B:191)

DO the following:

Call repeatingsub

View 11 Replies View Related

Pulling Over Data With Specific Criteria?

May 23, 2013

I have a huge listed of assets - the column i where my info is has vasrious serial numbers.... some are a simple string of letters/numbers and the others look like this for example AG-1234567

I need to somehow pull out the ones that look like that. (AG-1234567). I only need those. Now normally i would just do a filter and pull em out however, this sheet contains 73k worth of items.

what would be the formula to perform such a task?

View 2 Replies View Related

Sum Row Data Given Both Specific Column And Row Criteria

May 20, 2013

Trying to find the right Excel formula on the example below:

2013 2013 2013
Jan Feb Mar
Ant 0 10 10
Bee 0 0 0
Cat 300 200 100

Where if I was to set the column criteria to "2013" and the row criteria to "Cat" I could return the summed data total as 600.

View 7 Replies View Related

Average Data With Specific Criteria

Apr 6, 2007

I have a data base with 12 columns of data. I need it to look for one criteria in one row, match it, look for another criteria in another row, match that, and then once those criteria are met, average those rows that met the criteria with the statistics in that row that contains a value.

Such as:
Monica 2 Timed 310 Michele
Tom 3 UnTimed 410 TC
Art 5 Timed 216 TC
Monica 4 Timed 415 Michele
Tom 6 Timed 200 TC
Tom 4 Untimed 216 TC
Art 8 Timed 410 TC

What I need is the formula to search in through the data, look for Tom, then find all the ones that say UnTimed, and then average the number in column 2 that match those criteria.

View 9 Replies View Related

Extracting Data From A Table According To Specific Criteria

Oct 24, 2009

I'm using Excel 2007 and I'm looking for a way to extract certain records/rows from a table and to have that data copied to another area of the spreadsheet. I actually want to extract Invoice amounts according to a specific account number so that I eventually end up with all the invoices for a particular client on another tab so that they can be printed out as a kind of client statement.

I know there are ways to filter and then copy the records/rows to another tab but I want it to be automated as far as possible. What I really want to do is to "pull" the records into a new tab by using some kind of formula in the cells where I want the data rather than having to copy it there. I know how to sum data for this kind of thing but what I'm really struggling on here is being able to "Display all the records in a seperate area" first before I eventually add formulas to sum.

I don't mind the records being coppied if the process is automated but don't really want to get into macros as writing macros isn't my strong point.

I've tried using "VLOOKUP" but it will only return values for the first data item it finds (Account number in my case), whereas I really need it to continue to return values for the data item it finds if there are multiple instances of it!

View 14 Replies View Related

Formula To Find The Sum Of A Set Of Data Based On Specific Criteria

May 20, 2014

automate a data table I set up in excel. I need the formula to look through a bunch of raw data I have, and add quantities in each row, but only from the rows that have the same machine numbers. I attached the document of raw data I've collected, and on a separate tab, an organized table. I would like this table to automatically be updated with the appropriate data, as I enter it as raw data.

View 3 Replies View Related

Analyze Specific Data Based On Separate Criteria

Apr 22, 2013

I have a huge list of survey responses which asks people to identify their location and then rate how important 6 facilities in their area is (rating 1 - 4, 4 being most important). So the table has cells are similar to this, except that there are about 5000 responses with about 2500 different locations identified

Location
Location
Location

[Code].....

I have been able to analyse the average results for the whole dataset by using the following formulas:

=COUNTIF(A2:C4,"camden") Count number of occurrences a location is listed
=ROUND(AVERAGE(D2:D4),2) Average response for medical centres
=COUNTIF(D2:D4,1) Counts number of times '1' comes up, would repeat '2', '3', and '4' to create a pie graph

But what I would really like to do it be able to count each response for each question by location (for example "Camden"). I've tried both of these but they don't seem to be working.

=IF(A2:C4,"camden"),COUNTIF(D2:D4),1
=COUNTIF(D2:D4),1,IF(A2:C4,"camden")

View 6 Replies View Related

Outputting Specific Criteria From A Cell

Oct 4, 2013

I have data which could be in formats such as the following:

0.361 x 3.8
Test: 8.90x0.20=0.487
0.362 * 1.4
~0.85 (0.32*2.45)
0.362 * 1.4=0.67

It could have other similar variants. Basically, in one cell I need to output the SMALLER 0."" number. (Or if there's only one 0."", than that number). So answers from the aforementioned data would be:

0.361
0.20
0.362
0.32
0.362

In another cell, I need to output the n."" number where n is the number above 0. So would need the following answers from the data:

3.8
8.90
1.4
2.45
1.4

I've tried to use functions such as ISNUMBER(SEARCH("n.*" if n>0 or something similar but can't get my head round how to make it this specific!

View 1 Replies View Related

Sheet Of Data - Delete Rows That Do Not Meet Specific Criteria

Nov 29, 2011

I have a sheet of data. The data starts in row 4 and can be variable in length. I want to delete rows that do not meet a specific criteria, for example a location, Leeds, which is in column "i" of the table. I have written the below but it seems to delete data from row 1 rather than row 4 and repeat down each row

Code below

Sub deleterows()
Dim i As Integer
Dim intCounter As Integer
Dim strLocation() As String

p = Range(Cells(4, 6), Cells(4, 6).End(xlDown)).count

[Code] ..........

View 3 Replies View Related

Conditional Rank Based On Whether A Criteria Cell Includes A Specific Text String

May 8, 2009

I'm racking my brains as to how I can structure a formula to conditionally rank a value in an array against only those values in the array whose corresponding criteria cell includes a specific letter.

So for example I have a list of 12 values, say 126; 239; 0; 171; 162; 157; 130; 199; 122; 153; 0; 15.
Each of those values corresponds to a heading, say: CDE; DFE; FGE; DFE; ERD; DEA; BDF; DFB; CDE; CEF; CAB; FAB. As you will note some of the headings may or may not be the same and may or may not include the same letters in different orders.

How can I write a formula that ranks in ascending order a given value drawn from the above list (which will be in another cell but which in this case is, let's say, the first value: 126) only against those values whose heading includes a specific character, for example the character C (the character in question will vary and be defined in a specific cell).

As an added complication I need the ranking calculation to exclude any zero values. So in the above example what the formula needs to do is rank the value 126 against a sub-set of the whole array comprising only the values 126; 122; 153; 0.

The answer I need is 2 because, discounting the zero value, 126 is the second highest value.

View 9 Replies View Related

If Data From 1 Cell Matches Specific Data Of Another Cell Then OK If Not Highlight In Red

Oct 22, 2012

I have been wracking my brain around how to put this formula together.

Is it possible or it can't do more then 1 cell at a time?

Here is an example:

If F1= button request and E1= Scoring then OK (take no action) also i want to add that Folder in F and Corrupt in E would = OK

If it doesn't match to highlight the cell in red

View 8 Replies View Related

Copy Data From Cell Only If Previous Cell Has Specific Text In It?

Mar 7, 2014

I'm trying to copy data from one excel sheet to another excel sheet. However, the data to be copied is dependent on the 'client name'.

To explain this further, in the first list I have a detailed report on our clients and the services provided to every employee of that company/client.

However, the sheet two only needs the names of the employees that belong to a specific client.

This can be done manually by setting a fliter on the name of the client/company, but I need to be automated. To ensure only that specific company/client company's employee name is copied.

View 2 Replies View Related

Find Specific Data In A Cell And Move It To Another Cell

Dec 12, 2012

I want to extract the following details into another collumn (bold ) from data in column B1 into C1. The information i want begins with 3 digits with a '/' then other digits follow.

M / AS308 - :308/65588 POUN
S33 / 33 - :133/01504 TR
NI101 - :101/915635 T
N101 - :101/915635

View 4 Replies View Related

Delete Row If Cell Contains Specific Data

Jul 27, 2007

I need a quick macro that will search column D for the words "balance forward" then delete the entire row. The macro needs to loop through many rows and it contain more than one "balance forward" reference.

View 9 Replies View Related

Time In Specific Cell When A1 Contains Data

Mar 24, 2009

A vehicle has been assigned to collection, time of entry appears in Load cell coresponding with vehicle eg.e vehicle 1 'A1' = load 1 'B1'. I can get the exact time to appear in the cell currently but when I try to assign a second truck, the load 2 'B2' cell AND the load 1 'B1'. Im sure that there is an easy way to do this but i just cant figure it out. Can someone please help me out. Can i disable the cell that is updating?

View 9 Replies View Related

Using VBA To Replace Data In A Specific Cell

Apr 26, 2006

I have a spreadsheet, where I am measuring dimensions for a cpk test. My question is, can I use vba to format the calculated cpk cell so that if it falls below a certain value it replaces that value with whatever I have specified in vba? Was wondering is this is possible.

View 5 Replies View Related

Copying Row To Other Worksheet If Cell Has Specific Data

Jan 4, 2010

I have an Excel 2003 spreadsheet with multiple sheets - one main one with all data and others which have only the data that falls into certain criteria. I'm wondering if there's a way to enter the information on the main sheet and have it automatically populate the correct "sub-worksheet" depending on what is entered in a specific column.

I'm not describing this well but I've attached a sample of what I mean.

View 6 Replies View Related

Entering Data In 1st Blank Cell In Specific Row

Mar 5, 2014

I have created a form where a date and remark is added every few days. I am using Phone Number as the base of VLookup. I want a code so that the date and remark which is entered in a Text Box, is stored in the first available blank cell pertaining to that employee. I want the first date and remark to be under "Date 1" and "Remark 1".

Thereafter, if another remark is subsequently added for that employee, the form would ask to enter his phone number to identify which employee the remark pertains to. Then the Text Box where remark is entered should be stored under "Remark 1" if there has been no remark before, "Remark 2" if "Remark 1" already exists, "Remark 3" if "Remark 2" already exists and so on.

I do not want to enter it in a new row. I want to enter the remark in the next blank cell of the row which matches the employee Phone Number.

Untitled.png

View 5 Replies View Related

Formula To Extract Specific Data In Cell?

Dec 2, 2011

I have data in several cells, and I want to extract only the information in the cell up to a /. For example "joesmith/shipping" I would like to have only joesmith in the cell next to it.

View 2 Replies View Related

Creating A Pop-up Window With Specific Cell Data

Sep 13, 2007

I'm basically creating a file where a userform comes up when you open the workbook, blocks the access to the actual workspace so that no manual entry can be done. What the userform allows you to do is add a new entry to the database (the userform has some text boxes where we type in stuff like location and name or age) after having found the next empty row in the enormous database (3.000 lines)

After having clicked the OK button in the userform and added the data to the database, I would like the userform to have a pop-up message box with specified text like:

"The number assigned to this entry is:" and then I would like to add a variable with excel using the cell in column D of the same row of the new entry. So the end result would be :


The number assigned to this entry is: 01

View 9 Replies View Related

Rows Of Data In A Table If A Cell Contains A Specific Value

Feb 4, 2008

to shade rows of data in a table if a cell contains a specific value, such as the word Total.

View 9 Replies View Related

Minus Number From Cell And Result In Specific Cell And Specific Column

Jan 20, 2009

I have number in cell (A1) = 100. when I enter number in any cell of column(B) for example (B1)=10. then in cell (C1) the result of (A1) - (B1) = (90) and if I add in cell (B2)=10 then in cell (C1) the result of (A1) - (B1+B2) = 80 .accumulatively in cell (C1). and any number in column (B), the result will be (A1) minus any number in column(B) accumulated in (C1)

second question

I have number in cell (A1) = 100. when I enter number at cell (B1) = 10 then the result would be in the adjacent cell (C1) = (A1) - ( B1) = 90 and If I enter a new number in cell (B2) = 10 then the result would be in the adjacent cell (C2) = (A1) - (B1+B2) = 80 and If I enter a new number in cell (B3) = 10 then the result would be in the adjacent cell (C3) = (A1) - (B1+B2+B3) = 70 and so on. I want the result to be add automatically to adjacent cell in column (C)

View 3 Replies View Related

Formula To Search A Cell For Specific Data To Extract

Mar 13, 2009

I was wondering if there is a formula that will search a cell for a word or other specific criteria then if it finds it, puts the requested data / word in the formula cell

Example:

If I have a list of vehicle descriptions all in different formats:

CAR1 1.4 SRI 3 door Hatch
CAR2 5 door saloon GSI 2.0 V8
2.2 CDX 5 door CAR3 Estate
CAR3 Estate 5 Door CDX

Say I want to know which ones are CDX varient I need the formula to look in the cell and return "CDX" or "YES"

View 4 Replies View Related

Pull Data From A Specific Cell From A Closed Worksheet In VBA

Feb 3, 2006

How can I pull data from a specific cell from a closed worksheet in VBA?

Not sure but I think that Workbook("wb1.xls").Worksheet("Sheet1").Range("A2") only works if the worksheet is open.

View 9 Replies View Related

Return Data Infront Of Specific Letter In Cell

Jul 14, 2008

ColA contains Purchase Order (PO) numbers and I want to return the department number or project number (which is contained within the PO) in ColB eg.

A B
PO # Department/Project #
AP001234P1234 Want to return everything before the 'P'
PR004444P4444 Same as above
TR2008-1234 No need to change
6501P1234 Want to return everything before the 'P'

I was using IF function but there are too many variables then I thought about the 'P' but not sure how to go about it?

View 10 Replies View Related

Macro To Copy Data When Specific Cell Filled

Jul 28, 2006

how I might 'trigger' a macro to run when a certain cell was filled with any value at all. I have the macro working fine (it's a simple copy and paste special) but I want it to run automatically when the cell A20 has a value in it.

View 9 Replies View Related

Macro To Capture Data From A Specific Cell Upon Selection Changes

May 22, 2007

I'm trying to do is definetly simple to a lot of you, but I'm struggling on how to get started. I attached a workbook that clearly shows my work! I'm almost there but not quiet. Basically the user will be able to make a slection that will be used to lookup values from a different sheet. Each selection triggers a ranking number at the bottom (red pattern) in the worksheet. Now I would like to capture all scenarios and display the ranking.

View 4 Replies View Related

Search And Extract Cell Data After And Before Specific Values With Formula

May 20, 2014

I need a formula to extract data after "<li>Color: " & before"</li>"

A
B

1
ORIGINAL
RESULTS

2
blah blah blah<li>Color: White</li>some informations
White

3
blah blah blah<li>Color: Red</li>some informations
Red

4
blah blah blah<li>Color: Black</li>some informations
Black

5
blah blah blah<li>Color: Red</li>some informations
Red

I have already use this formula but I get the "#VALUE!" error even if the cell contains the "<li>Color: </li>" data.

[Code] ....

Sometimes, some cells does not contain the "<li>Color: </li>" data, I don't want the "#VALUE!" error, I just want a blank cell there.

This is an example with the real values I want to extract Example.xlsx

This is the formula that works

[Code] ......

View 8 Replies View Related

Enter Data From Userform Into Cells Starting From Specific Cell?

Feb 3, 2014

I need to add something to the code below to have my first row of data entered into cell "Q8". As it is now the data is starting on row Q9 instead of Q8, but the rest of it is filling in correctly.

[Code] .....

View 1 Replies View Related







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