Formula For Appending Data Based On Criteria
May 14, 2008
how to search for this so I'm just gonna ask. See sheet below I faked the resulting formula I need) for reference.
We have an engineering database that spits out data. One of the things it spits out is a list of equipment tags along with its associate electrical drivers (I.e. motors) and details for each. I need to do some extra playing around with the official equipment list that we have to produce.
In a nutshell, if an equipment tag only shows FIXED in any of it's drivers, I want the formula to show nothing (blank). However, if the word VARIABLE appears in any of that tag's drivers, I want it to show VARIABLE. I know there's a formula involving IFs and whatnot, I just can't figure it out.
******** ******************** ************************************************************************>Microsoft Excel - Book1___Running: xl2002 XP : OS = Windows XP (F)ile (E)dit (V)iew (I)nsert (O)ptions (T)ools (D)ata (W)indow (H)elp (A)boutA1=ABCD1Equip TagDriver NameSpeed TypeFormula234-AG-900Primary DriverFIXED 334-AG-918Primary DriverFIXED 434-AG-932Primary DriverVARIABLEVARIABLE532-AG-931Primary DriverFIXED 632-AG-910Primary DriverFIXED 732-AG-911Primary DriverFIXEDVARIABLE8 2nd DriverVARIABLE 9 Tert Driver 1FIXED 10 Tert Driver 2FIXED 11 Tert Driver 3FIXED 1232-AG-916Primary DriverFIXED 13 2nd DriverFIXED 1432-AG-918Primary DriverFIXEDVARIABLE15 2nd DriverFIXED 16 Tert Driver 1VARIABLE 1732-AG-921Primary DriverVARIABLEVARIABLE1832-AG-922Primary DriverFIXED 1932-AG-923Primary DriverFIXED 2032-AG-924Primary DriverVARIABLEVARIABLESheet1 [HtmlMaker 2.42] To see the formula in the cells just click on the cells hyperlink or click the Name boxPLEASE DO NOT QUOTE THIS TABLE IMAGE ON SAME PAGE! OTHEWISE, ERROR OF JavaScript OCCUR.
View 9 Replies
ADVERTISEMENT
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
Jan 17, 2010
I have a download of public records from a local County Auditor, regarding property ownership. However, the data, as it is provided is incomplete. I have obtained, from another source, much of the missing data and would like to append the original data.
I don't know if this is even possible, but in 'Googling' it, I am optimistic.
I have attached an Excel 2007 spreadsheet with a sample of the County data on Sheet1 and the data that I would like to append on Sheet2.
Sheet1 lists the parcel number (A), and information regarding the last five recorded sales.
B: Sale Date
C: Deed Type
D: Buyer Name
E: Recording Number
F: Sales Price
G: Multiple Parcels ("Y")
H: Notes
I: Loan Information.
Then the B-I information is repeated four times (J-Q, R-Y, Z-AG, and AH-AO or also defined as columns 10-17, 18-25, 26-33 and 34-41) for a total of the last five sales.
Sheet2 is a listing of sales with similar information.
A: Sale Date
B: Parcel Number
C: Buyer Name
D: Sales Price
E: Recording Number
F: Deed Type
G: Multiple Parcels ("Y")
H: Notes
I: Loan Information
What I hope to do is this:
If the 'Recording Number' (E) on Sheet2 matches the 'Recording Number' (E) on Sheet1, then replace the eight columns on Sheet1 with the data found on Sheet2 (pertaining to a specific sale number).
If the 'Recording Number' (E) on Sheet2 does not match any 'Recording Numbers' (E) on Sheet1, replicate the (unmatched) data (from Sheet2) on Sheet3.
My hope is that this will give me updated, and more complete, data on Sheet1 and also show me all the data that did not match on Sheet3 for me to use later.
I have included headers on both sheets in hope of making things clearer to the reader.
View 7 Replies
View Related
Jan 3, 2008
I'm trying to move data from a primitive user form to another sheet acting as a DB. I will further pivot the data in a third sheet to boil up results.
Here is the primitive user form - or desired data from the user form: ...
View 9 Replies
View Related
Jul 12, 2011
appending excel sheet number in a formula. Here is the example.
In an excel book, I have sheets 1 to 50. In each sheet i have a standard format to enter the details. And in one sheet I want to keep some summary with required cells. I made a table by applying formula, for example in cell A1 i kept formula ='9'!$D$9. In this '9' refers sheet9. In the similar way i want to capture the data from all sheets.
A1 cell ='9'!$D$9
A2 cell ='10'!$D$9
A3 cell ='11'!$D$9....etc
Is there any formula to append the Sheet number automatically (like dragging the shell) intead changing sheet number manually. because it is wasting so much time.
View 3 Replies
View Related
May 7, 2006
I'm trying to create a spreadsheet that will automate our job bidding process. We have alot of standardized phrases we use and I thought it would be nice to just click on the phrases that are pertinent to the user's current bid. How do I get the user's current selection (from a form, not a cell) to append itself to the "current" end of the bid (a worksheet)? In other words, previously entered information by the user (name, address, type of bid, etc.) is already updated on the new worksheet created by the new bid, but how do I get the user's current selections to find the end of what is already there, and add itself to the bid at that point?
View 9 Replies
View Related
Feb 21, 2014
I've a workbook with two sheets 1)'weekly' and 2)'summary.'
Weekly is divided into products (up to a maximum of 8) with a fixed number of columns (4) directly below but a varying number of rows beneath as follows:
Product A (main header)
Issue|Serial Number|Analysis|Comments
data|data|data|data
data|data|data|data
data|data|data|data
data|data|data|data
--couple of blank rows--
Product B
Issue|Serial Number|Analysis|Comments
data|data|data|data
data|data|data|data
data|data|data|data
--couple of blank rows--
Product C
Issue|Serial Number|Analysis|Comments
data|data|data|data
data|data|data|data
data|data|data|data
data|data|data|data
data|data|data|data
data|data|data|data
..etc...
This weekly data must be appended into each product's respective grouping within the 'Summary' tab. With the following small additions: 2 additional columns filled with the model and current week must be inserted beforehand:
Product C
Model|week|Issue|Serial Number|Analysis|Comments
Product C|7|data|data|data|data
Product C|7|data|data|data|data
Product C|7|data|data|data|data
Product C|7|data|data|data|data
Product C|7|data|data|data|data
Product C|7|data|data|data|data
Summary page will contain the groupings of Product A through H. The weekly may only contain 1 (say Product D) in any given week, or all 8.
I realize there are more efficient ways of doing this, i.e. pivot tables, creating discrete tabs for each product, etc... but I've been tasked by the higher-ups to generate the above as I've laid out.
View 7 Replies
View Related
Jan 11, 2007
Can I Restrict Excel Data Form only for appending new record. (No deletion allowed) and also Can I save Data Form in the File? Is there any way, whenever we open the file Data Form should popup?
View 9 Replies
View Related
Feb 5, 2013
Copying data from multiple worksheets, but my problem is quite the reverse.
I have data for each month as a worksheet from 1970-2012. They are in a workbook with the recent years at first and the oldest years at the end/..
Like 2012Dec,2012Nov...............1970Feb,1970Jan
I would like to know how to write a macro to copy a range of data from Jan 1970 then add data from Feb 1970 and so on until Dec 2012.. The range remains the same throughout all the sheets.
I was able to do a rough code, but I am stuck doing the reverse part...
Code:
Sub ReverseList()
Dim Sht As Worksheet
For Each Sht In ActiveWorkbook.Worksheets
If Sht.Name "MEGA" Then
Sht.Select
Range("A:A").Insert
[Code] ..........
Also is it possible to restrict the range selection in each sheet based on the month and year?? For Ex. Accounting for leap year and 30 day months...
View 4 Replies
View Related
Feb 6, 2012
I have 3 columns of data
Months Date Description Royalty
1 11/1/2010 XTY 5555
2 12/1/2010 xxx 4444
about 100 or more lines of data
Months is the running count of the number of months
Bottom line: Starting at 3/1/2011, I need to know how many months did it take to earn $125,000 (Royalty)
View 3 Replies
View Related
Jul 29, 2006
I have a dataset in Excel with first names, last names, states, cd sales total cost by state... and I am I started a new worksheet cales total sales y state. Now, in this new sheet I want have the states copied over and in the B2 cell I want to write a formula that will enable me to have the total cost from O2:O112 cells ("Total Sales") to be sumed up by each state with absolute references. How would I do this? Example I am currently using =SUMIF(Demographics!F2:F112, "AK", Demographics!O2:O112) which is giving me the correct total sales for AK, but I want to copy this formula using absolute references and have the states change while keeping the fields O2:O112 the same. I just don't want to enter in each state which is what I was starting to do, but It will take a while =SUMIF(Demographics!F2:F112, "IA", Demographics!O2:O112) as an example here is Totals by State! worksheet:
AK $324.50 <---- Total from Demographics! for AK
IA $428.68........................
View 4 Replies
View Related
Dec 26, 2013
I have a sumproduct formula based on some criteria, but I don't know how add another criteria wherein I need to exclude in the count if the date in column F is 1/1/2009
Attached excel file for reference. LE26dec.xlsx
View 5 Replies
View Related
Oct 24, 2013
I need to change the value returned in one cell based on the criteria of a 2nd cell. In short, if the letter 'C' is entered into A1 and B1 contains a vowel the lookup formula needs to return the value found in column C of a separate spreadsheet, but if the 'C' is entered into A1 and B1 contains a consonant then return the value of Column B. I want this to be applied to C, O, R & S only. If A1 contains any other letter, than the lookup formula should return only values found in column B of the separate spreadsheet.
View 3 Replies
View Related
Aug 15, 2007
Need to writing a formula that will calculate the number of times a contract is used each month. Problem is that RMA numbers sometimes repeat. So I need to count the contract number for every unique RMA in a month......
View 5 Replies
View Related
Apr 20, 2007
I have a spreadsheet that has staff id in one column and the work items number that they have done in a daily basis in another column.
The actual list is very long. I need to summarize in another column how many work items that they have completed in a daily basis.
I have attached a sample spreadsheet as an example. I would need to summarize in column H based on the staff ID. Some work items are shared by two staff but it will have to be counted as one work item completed for each staff. If work item B123466 is completed both by staff M56 and M54, then it will be counted as one for each.Currently, I am doing this manually with the filter function which is very tedious and often has mistakes. I would like to formularize this task.
View 6 Replies
View Related
Mar 11, 2013
Macro for a repetitive task. I have data in every 3rd column (max of 11 columns) that I want to extract and append the data in column A in sheet 2. The data contains some blank cells and I'd like to remove them also.
I've attached an example in this workbook : tractdata.xlsx
View 4 Replies
View Related
Apr 22, 2014
I am looking for a formula as per the thread title. I have attached an example workbook.
I have been playing around with SUMIFS and SUMPRODUCT but can't crack it.
sum based on criteria transpose columns to rows.xlsx
View 5 Replies
View Related
Dec 7, 2013
What I require : Column F to be blank as long as the following is true:
1) Column A (Order) cannot be blank.
2) Column E (Status) has to be equal to either "Completed" or "Successful".
3) Column D (Sales) has to have the same date as Column C (Contact), but due to bad data quality each order number can have several rows and as long as the Sale date from one of the other "Duplicate" rows equals the contact date it needs to be counted. This is as long as there is not already a row for the Order that already has Sales / Contact day matching.
In the attached spreadsheet, I have highlighted the rows that should be blank in column F in green. My attempts at formulas to count this are in the columns highlighted in red.
WORKAROUND.xls
View 1 Replies
View Related
Jun 23, 2009
I am drawing a blank. I want to use conditional formatting in cell b2 that will outline the cell(I know how to do that) based on a formula. The formula I need would determine if cell a2 is 26,27, or 28. Or function just returns true/false. I would rather not use 2 formulas.
View 2 Replies
View Related
Dec 8, 2009
Im currently using a formula in my report to track training completed by employees. The formula looks for the employee number in the report and the course name and marks Y to say if completed or N to say if not completed.
The level of the employees dictates what courses they need to complete i.e if its a store manager they need to complete all courses where as a bronze employee only needs to complete the first three courses.
At the moment i drag the formula up to the course they need to complete. I would like it if i could add something to the existing formula that looks at their level and then automatically only populates the formula up to the courses they are required to do.
Its very hard to explain so i have added an example:
View 8 Replies
View Related
Oct 3, 2009
i need a formula that will sum values in Col H based on the criteria set in CELL B1. The tricky part is that i need the summed values to be converted using the FX rates in Cell M:N, i have provided an answer on what the formula should return in CELL C2....
View 9 Replies
View Related
Jul 20, 2006
I am creating a summary page to analyse my golf scores. I have come to a dead end when looking at the Par statistics. Does anyone fancy a challenge and try to fill in some of the blanks on the summary tab. I am trying to use array formulas based on multiple criteria. for instance under the Best Par 3 section, it would look at all the Par 3's for whichever golfer is selected and then return the lowest number.
View 4 Replies
View Related
Aug 30, 2006
I only want the formula to operate when there are values to calculate and then ONLY refer back to the last calculation. If there are gaps between the calculations I would like those to remain blank. Is that possible?
I have attached an example of what I am trying to do.
View 3 Replies
View Related
Jan 4, 2007
I would like to use formulas to display different results eg UNDERBUDGET - OK - OVERLIMIT etc. Ideally they would be shown using different colours & text size. I can't seem to change the colour/text size inside the formula for the different words - only for the whole cell.
View 2 Replies
View Related
Feb 8, 2014
I have a spreadsheet that is updated weekly -- but every week new info is added that needs a user to input corresponding info. I use a vlookup function to link to another spreadsheet that populates the info from previous weeks and the info that is missing shows up as #N/A...
First I was using a msgbox function to get the info:
HTML Code:
For Each b In myrange
If Application.IsNA(b.Value) Then
Employee = b.Offset(0, -2).Value
SSID = InputBox("Please enter ID# for " & Employee & " :", "New Employee Found")
b.Value = SSID
End If
Next b
But it can be up to 30 different new employees... and that is time consuming.
I would like to make it more user friendly by creating ONE userform that displays all of the employees as labels -- has a text box in which to put the ID # -- and then has a drop down box to choose the type of employee (2 options). I want all of that info to go back to the reference spreadsheet so it will be saved for following weeks, and then redo the vlookup to get the info into the new weekly spreadsheet (I can do that part)....
HTML Code:
Private Sub CloseButton_Click()
Unload UserForm1
End Sub
Private Sub ComboBox1_Change()
[Code] ......
View 2 Replies
View Related
Aug 5, 2014
How to formulate results of students in excel sheet.
From the attached picture (capture1.jpg) of the excel sheet - The rules of exams are:
1. if candidate scores 50% in all 4 papers, PASS and proceed to next year
2. if candidate scores 50% in 2 or 3 papers + borderline fail in 1 or 2 papers, VIVA VOCE exam for the borderline failed paper (Definition of borderline fail is candidate scoring 45 to 50 marks)
3. if candidate scores 50% in upto 2 papers + borderline fail in more than 2 papers, RE-EXAM
4. if candidate scores 45% in 2 or more papers, FAIL and repeat the year
The rules are in the attached picture flowchart.jpg
I am unsuccessful in writing a formula for such multiple criteria...
View 12 Replies
View Related
Jan 14, 2014
Is there any formula that could calculate total average number of recruitment days (i'ts one number), but only for "Diana" and "Skipper" (excluding "Jennifer")?
Please see an example:
Recruitment daysResponsible
12Diana
13Diana
19Diana
16Skipper
23Jennifer
[Code] .....
I guess it has something to do with AVG and IF formulas.
View 2 Replies
View Related
Nov 29, 2013
I have attached an example workbook with a tiny subset of data and a number of criteria from the Dashboard Engine page removed.
What I need is to sum the total value for each division on the second sheet based on the date criteria (so for the first cell Jan 1/2010 - Jan 31/2010) and on a match between division name on the Dashboard Engine sheet table and the Masterdata sheet. I have tried a number of variations but keep getting a 0 for each return.
Sample Workbook.xlsx
View 12 Replies
View Related
Oct 16, 2011
Objective: to create an average variance among exact match RevCode
Example: all RevCodes with "666" should be used to make an average variance statistic
Situation: All RevCode's are not in similar group counts and this creates incorrect averages with a standard formula.
Set of Data
RevCode Observed Expected Variance RevCodeMean
666 200 220 -9.091%
666 205 220 -6.818%
666 207 220 -5.909%
777 500 355 40.845%
767 505 505 0.000%
668 100 105 -4.762%
668 105 105 0.000%
Formula that generates average variance between exact match revenue codes:
=(SUM(B2:B4)-SUM(C2:C4))/SUM(C2:C4)
The solutions can be in VBA or within the spreadsheet either way.
View 1 Replies
View Related
Jun 27, 2012
I can't seem to get a formula to work. I am trying to count the number of times "EE" shows up in a range only if "CR" is listed in that row within another range. For simplicity Column A has a list with the following values scattered from A2 through A100: CR, LT, ST, DI. Column B has a list with the following values scattered from B2 through B100: EE, EF, EG.
I need to know how many EE's are listed in column B if CR is on the same line in column A.
View 6 Replies
View Related