Find Max Value In Row When Another Row Is Populated With Different Entries?
Apr 2, 2014
Im trying to create a formula that looks along a row and then where theres an entry it looks at the top row and picks the highest number. I've attached a spreadsheet showing a shrunken version of the excel file, the answer to the formulas are in column F for each row.
View 3 Replies
ADVERTISEMENT
Apr 2, 2014
How to to find a formula which will pick the highest number in a row when another row is populated. For example, in the table below row 1 has some numbers, with rows 2-5 being populated with a Y. I'd like a formula to look across the rows individually and pick the highest number in row 1 (it should equal the numbers shown in column F.) when there is a Y in row 2. Then the same again for 3.
___A____B____C____D____E____F
1__30___40___20___35___45
2__Y____Y____Y____Y_________=40
3__Y____Y____Y____Y____Y____=45
4____________Y______________=20
5__Y______________Y_________=35
View 4 Replies
View Related
May 30, 2007
i need to find the last populated cell in the row say I9:CN9 and return the description for that column the resides in I5:CN5 and then fill the formula down for about 500 rows, just not sure even where to begin, do i need a custom formula in VBA? as i can't seem to find a combination that works built-in...
View 5 Replies
View Related
Jul 3, 2012
DATA
DATE
PRICE
DATA
20120621
118.1000
[Code] .......
I have 3 columns (data, date & price). What I would like to do is find the last populated cell in 'date' column and autofill it based on column 'data'. The tricky thing is that the date form is text and while autofilling manually it changes.
View 6 Replies
View Related
Jan 12, 2013
I have a spreadsheet with many worksheets, everyone except the first representing a year. Every worksheet has twelve tables (the months), the first row of each table has the days of the month and the second row has the data that I put on a daily basis. The first worksheet calculates statistics using the data from the other worksheets.
I am looking for a formula that returns the date by finding the last populated cell and looking right above it, so I can use this info in the first worksheet to show when the spreadsheet was last updated.
View 2 Replies
View Related
Mar 27, 2009
I have a sheet (attached, Excel 2003) that I need an assist on. What I want to do is search the 'All Games' worksheet for the ten latest games a specific player has played.
That by its self might not be so hard, but I want to take those 10 rows (once identified) and take the sum of column G and divide by the sum of column F for those rows only.
I already have a concatenate cell in the 'All Games' sheet for each row that I use to as a link of sorts to get data from column F and G onto the 'Spring 2009' sheet. The way I have the concatenate set up, I can manually sort by it and get the 'latest 10' values I need, but I need to get it all into a formula to place on the 'Spring 2009' sheet without the manual sort.
View 7 Replies
View Related
Feb 22, 2013
calculating formula for all the entries whose "Start" time is after 18:00:00 hours and "End" time is before 21:00:00 hours of SAME date.
Basically all entries Start>18 and End< 21.
Start
End
Scope
[Code].....
View 9 Replies
View Related
Feb 12, 2007
I have a list of new payments received (sheet 2) along with their agreement numbers which I want to match to the list I had last month (sheet 1) to see which agreements are still paying, which have stopped and if there are any new ones.
The problem is that the the list of new payments received shows the agreement numbers with random prefixes and suffixes so my lookup returns #N/A
Sheet 1 - 24020130
Sheet 2 = 24020130FLE
My basic thinking (and I mean basic) is to do an edit/replace on sheet 2 entries and replace the FLE's with with nothing thus removing them completely then running the lookup but that doesn't tell me which are new payments received.
Then I could make sheet 1 text blue, sheet 2 text red, combine them, re-sort and manually go through the list but I'm hoping there's a sexy formula just waiting to be unleashed.
View 9 Replies
View Related
Dec 29, 2009
I am using excel 2007.
I am trying to find the sum of unique entries in a table such as below for each respective date.
DateClient1/01/2010ABN1/01/2010ABN2/01/2010BNP2/01/2010HSBC3/01/2010ABN4/01/2010BNP4/01/2010HSBC4/01/2010ABN5/01/2010BHP
The results should appear as
Count Unique1/01/201012/01/201023/01/201014/01/201035/01/20101
What formula would I use to calculate this unique count?
View 9 Replies
View Related
Feb 14, 2007
Got a workbook with 4 worksheets and sometimes we need to cut and paste a row from one worksheet to another, now thats easy now as we are all human and sometimes it gets copied and we have duplicate logs.
Now each sheet has usually not got that many rows in it, but that spreadsheet is getting sent to the highest people in the company and any mistakes look poor.
What i'm looking for is a way that i can highligh any rows that a duplicated in each worksheet. I can do it in each worksheet using conditional formatting with something like = COUNTIF($A8:$A$20,A8)>1. but don't know how to check that is not on any other worksheet. On every worksheet only need to check Col A for the duplicate information
View 9 Replies
View Related
Jan 29, 2010
How would I write something that finds the first populated column in a row, starting at column C and moving to the right?
View 9 Replies
View Related
Mar 12, 2013
How I can go about finding missing entries. I have an excel sheet that has column A as employee name and column E with a date. There are 10 employees so there should be 10 entries for each date. I need to be able to determine which employee hasnt entered information for a given date.
View 1 Replies
View Related
Apr 16, 2014
I would like to search for numbers and replace them with text (multiple entries).
I tried doing this with vlookup, but for some reasons i dont get the good values.
View 5 Replies
View Related
Feb 22, 2007
I've been working on my original problem and have gotten a little closer to the results I'm looking for but not quite there. Basically, I'm now running into a problem of only finding the 1st occurence in a range of cells when I want to find every occurrence and show the result. Also, the range of cells to look for in my argument has 2 criteria, the start date and the end date. Can anyone tell me if there's a way to search through a range of cells and return every instance of that cell even if it's duplicated?
I've also attached my project to better understand what I'm trying to accomplish which is the use of a Gantt Chart as an employee scheduler as opposed to a task (or project) scheduler.
View 2 Replies
View Related
Feb 2, 2009
I have a table (table1) with material numbers which have a price . This value is time dependent i.e., a material 999 could have a price of $10 for 1/1/2008-1/15/2008 and $20 for 1/16/1008 - 1/31/2008.
A B C D
999 1/1/2008 1/15/2008 $10
999 1/15/2008 1/31/2008 $20
998 2/1/2008 - 2/25/2008 $15
I have another table (table2) in another sheet in the same workbook have a material and date.
A B C
999 1/10/2008
999 1/20/2008
998 2/15/2008
My requirement to take the material value and date in table2 and match it with table1 and get the value of column D in table 1 to column C of table2.
I have tried using vlookup but it only works for the first match and doesn't check for other values
below is the function that i tried
=if(and(vlookup(A2,Sheet2!A1:D4,2,false)<=Sheet1!B2,vlookup(Sheet1!A2,Sheet2!A2:D4,3,false)>=Sheet1! C2)),vlookup(Sheet1!A2,Sheet2!A2:D4,4,false),"error")
View 14 Replies
View Related
Oct 23, 2012
Can I use a macro in workbook (test 1) to look at a differant work book (Test 2) and look at a range of A2:A20 and look for a duplicate date? If it sees a duplicate date I get a message (Date Taken) I would need to compare about 4 or 5 columns to each other, column A to column A, column B to column B etc. Will this work if the other workbook is not open?
View 6 Replies
View Related
Feb 13, 2007
I regularly have to add a few new lines to what is in fact a very simple data base I've had running for a long time in Excel. About 1200 lines now, one line per person. I add a dozen or so lines (i.e. people) at a time in a different colour.
When I re-sort the whole thing I run my eye down the list to spot partial double (i.e. duplicate) entries (the new ones in their own colour helps). Then I delete the double entries one by one. Pretty stoooopid, in'it?
How can I do this better, faster and more accurately with Excel to find just two duplicated data ( NAME and ID NUMBER) in a person's line (there are 15 columns altogether)? Or: Where and what can I search for (I've just spent nearly an hour trying to find an answer by myself, but don't really know what to search for)?
View 3 Replies
View Related
Apr 27, 2014
I have data (e.g. PPL0106AU) in columns A (Rows 2 to 104) & C (Rows 2 to 303) and need to identify which entries are in BOTH columns.
I've entered in column B: =IF(MATCH(A2,C$2:C$303),A2,"No")
This formula is resulting in a duplicate of column A in column B.
View 7 Replies
View Related
Mar 19, 2009
I have a approx. 70 excel sheets with thousands of entries. Within a single sheet there are some duplicate entries (based on an account number). I find the duplicate entries by using the excel 2007 conditional formating and then sort by color to only show the duplicate entries. There are often hundreds of accounts that are duplicates. Sometimes there are more than 2 identical account duplicates (could be 3,4 or more). In each entry there is a number representing the rating of said account. These numbers differ within the duplicates. Example............
I am trying to find a formula that will choose a "winner" and enter a "W" based on the highest rating within the duplicate entries and then ideally assign an "L" to the loser duplicate account(s). Sometimes there is no rating, other times the rating could be the same in which case any account (does not matter) can be assigned a "W" and the others an "L"
View 3 Replies
View Related
Jan 6, 2010
I use online banking for paying my monthly bills. I get different confirmartion for each pay transection. Pls look attached Excel file. Now I want to find specific bills expense with amount from all my 12 months bank statements. How can I get this task done.
Note: Each time get different confirmation which appears on my bank statement beside paid bill name. for example January 2009 statement GAS Z8A.... Feb 2009 GAS S2W. I hope this clarify. What I have to do if I want to get all my 12 months GAS money withdraw from bank statement. I use csv file for bank statement.
View 11 Replies
View Related
Feb 8, 2014
This follows on from my previous posting [URL] ..... which produced a solution using an ActiveX Combobox that unfortunately does not work on Mac PCs!
I tried to replace the ActiveX with a Form Control Combobox but could not make it work.
So I am trying to use the alternative of "find, copy and paste" the relevant information.
As shown on the attached 140207 FINDALL test.xlsm, I need to find all records containing whatever string is entered into the "Search" cell, and copy data form three columns onto the Entry sheet.
The User will then select whichever of the entries they want to use, which will populate the relevant cells.
Problem: The following Code is not recognising any of the data in the Column being searched.
VB:
Option Explicit
Sub FINDPARTS()
Dim ws As Worksheet, i As Integer, k As Integer, z As Integer, CL, myFind, CHOICE As Range, lr As String, lrG As String,
[Code] ......
View 2 Replies
View Related
May 8, 2013
I have a large data set which contains four coloumns: Supplier, Supplier number, order number, and date/time of delivery. The date/time coloumn is formatted as YYYY-MM-DD HH:MM with a 24h time notation. What i want to do is to find deliveries that occurs within 1 hour and that are from the same supplier. So i basically want to group (?) the data with regards to the suppliers and then, within these subsets, check for date/time entries that occurs within 1 hour from each others by "reading" each date entry and compare it to the following one(s) (and maybe stop comparing when the 1 hour interval is passed)?
Furthermore, even if this one might be very hard, it would be good if i could make sure that the entries that are "tagged" as within a 1 hour interval, wont be used as basis for a new interval or be included in other intervals.
The result i am after would be number of 1 hour intervals for each supplier and the number of entries in each interval.
Below is an example from the date/time coloumn:
12-03-08 15:32
12-03-08 15:33 ... Interval with 2 entries
12-03-12 14:54
12-03-28 11:57
12-04-16 09:10
12-05-07 13:41
12-05-07 13:46 ... Interval with 2 entries
12-05-28 11:55
12-05-28 12:00
12-06-04 12:01 ... Interval with 2 entries
12-06-04 12:09
12-06-11 08:30
12-06-11 08:31
12-06-11 08:59 ... Interval with 3 entries
12-07-02 11:10
View 8 Replies
View Related
Dec 7, 2011
My VBA is very rusty, and I can't get the following code to work. I need to workout the number of rows that contain data in a range so that I can eventually write a formula in a adjacent cell, but I keep getting errors (Type mismatch or Subscript out of range) at the first step!
Code:
Sub create_product_column()
Dim num_rows As Range ' The number of rows in the datarange
Dim my_workbook As workbook ' The name of this workbook
Dim my_worksheet As worksheet ' The name of the worksheet to work on
[Code]....
View 4 Replies
View Related
Jul 23, 2014
Is it possible to count cells that all have a formula in them, but only count the cells that return a displayed result?
View 5 Replies
View Related
Jul 27, 2014
I'm putting the finishing touches to a grade sheet for the new academic year. I have one column that calculates a grade using the OFFSET function from a given number of points. However, I only want this cell to show a grade when the nine individual unit columns have been populated. If fewer than 9 columns have been populated, the cell in question needs to be blank. I've tried using COUNTA to count the number of populated cells and then linking that cell to an =IF(Q5=9... formula, but haven't been able to crack it yet. I'm probably missing something obvious...
View 8 Replies
View Related
Feb 19, 2013
how to hide a value on a cell when another cell is not yet populated?
like for example:
A1 is Blank A2 has a formula of workday(A1,2) a date will appear on the A2 cell and I want not to show or be hidden the date in A2 until A1 is populated
View 3 Replies
View Related
Jun 3, 2013
I am trialing a WASP scanner that populates a excel worksheet. I am reading Item number (P12345) quantity (Q123) etc.
Currently all readings are in column A
A1 is p12345
A2 is q123
A3 is p123456
A4 is q123
I need to have all item numbers in one column and all qtys in another column and any other data I read in separate columns
the set up or the extraction from column into columns for item, qty, etc
View 2 Replies
View Related
Mar 22, 2009
I have more problem when work with three combobox, will you find me the code to solve this problem.
View 2 Replies
View Related
Jun 4, 2009
I am now looking for a command that will return if a cell is populated. I.e. I need something that will find out which cell is the last one populated in a column (populated = contains data) and then will move 2 cells down, and then will enter some data into the following cells.
View 4 Replies
View Related
Dec 4, 2006
I want to total column A & total column C but only if there is an amount in both cells on the same row
Can I do this with an array?
Do the columns have to be adjacent? I could make them if necessary.
Data
A C
11 12
21 0
0 17
15 15
11 9
in this example we exclude rows 2 & 3 from the total because one cell contains zero or is blank.
Total Column A = 37 (11+15+11)
Total Column C = 36 (12+15+9)
View 11 Replies
View Related