Find Highest Value In Non-contiguous Cells..

Oct 17, 2009

I have a cricket excel sheet that contains batsmans scores over a season. These scores are kept in non-contiguous cells for each game (ie. D5, J5, P5, V5 etc..) In the cell next to the score is an option for the user to enter an '*' to denote a not out score (these are in E5, K5, Q5, W5 etc.)

I can sort out a formula to find the highest score (from D5, J5, P5, V5) and place this high score in a cell elsewhere - but what I really need to do is to check if the high score is not out by looking to see if there is an asterisk in the adjacent cell, and then place the score AND asterisk in another cell.

View 3 Replies


ADVERTISEMENT

Find Highest No. In A Column But Inclusion Is Based On Data In Other Cells

Oct 26, 2009

I’m keeping tabs of some clay pigeon shooting scores. I go to alternate locations each week and normally shoot 100 clays, however sometimes it’s only 50. I’ve used MAX to find the highest score in Column D of a spreadsheet and it did what I required. However I now wish to find the highest number in Column D - but only include rows if Column C = P and column E =100.


Col B Col C Col D Col E Col F
date Location score out of % hit

25/10/2008A6210062
08/11/2008P3510035
22/11/2008A4210042
06/12/2008P6610066
20/12/2008A6010060
03/01/2009P295058
17/01/2009A5110051
31/01/2009P4010040

In other words I want to find the highest score for location P but only if that week it was out of 100 shots. It would return 66. Then I can do the same formula for location A and it would return 62. I can’t see how to do this and have searched the forum to no avail. It doesn’t look like I can just use the MAX anymore and I’ve tried incorporating that into a (nested) IF but unsuccessfully.

View 2 Replies View Related

Find Blank In Non-Contiguous Range

Mar 19, 2013

Need code that will search non-contiguous range for first empty cell, paste data into found cell and data into offset cells and end search. If not empty, move to next cell in non-contiguous range. If NO empties are found in entire range, a msgbox.

Non-contiguous range: Range("B2,B32,B62,B92,B122,B152,B182")

Pasted data: 1st range into found empty, 2nd range into range offset of empty.

View 9 Replies View Related

Grouping Contiguous List Into Non-Contiguous Groups

Sep 9, 2006

I would like to be able to count the amount of entries in column C and depending on the amount group them in either groups of 3 or 4, all names would be unique...so if there are 14 names in the list they would need to be grouped in to two groups of 4 and two groups of 3, if there were 19 then 4 groups of 4 and 1 group of 3 etc to a maximum 50 people, the results could appearon a seperate worksheet say pasted on to the worksheet starting with the groups of 3 (so paste a group of 3 then skip 3 rows then paste groups of 4 skip 2 rows, the row skipping is to allow seperation and manual entry of extra data). There will never be groups of 5 or more and never less than 3

View 8 Replies View Related

Find Highest Value For Each Day

Dec 24, 2007

I have a massive amount of data made up of values taken every five minutes over several months. I want to find the highest value in a day for every day. I'm wondering if the best method is to define each day as a dynamic range and then use the max value command to get the highest value?

View 6 Replies View Related

Find Highest Value From Range

Mar 31, 2009

I have a large spreadsheet of data that contains 3 columns: Columns are Name, Revision, # of items. I want to find the # of items for the highest revision for each name. List looks like this:

Smith, 1, 30
Smith, 2, 36
Smith, 3, 18
Johnson, 1, 125
Johnson, 2, 130
Lopez, 1, 8
Lopez, 2, 12
Lopez, 3, 15
etc…

I'm only interested in the data for the latest Revision. There's over 500 names. A lookup or pivot could be possible?

View 3 Replies View Related

Find Highest Value With VLOOKUP

Nov 8, 2009

using vlookup I am trying o find the highest value>>>>

e.g

Column A Column B

111036 01/05/09
111036 08/08/09
111036 09/10/09 <<<<

Is vlookup the correct way to go,,, if not could someone point me in the correct direction

View 4 Replies View Related

Look Up A Value And Find The Highest Date Associated With It

Nov 20, 2008

I have a spreadsheet with a data sheet and a second sheet. On the second sheet I want to look up the value from A2 and find the highest date associated with this value in the data sheet.

This will be used to look at a number of projects that have multiple dates, and I want the latest date i.e. the furthest into the future. To add a spanner to the works, some dates are recorded as N/A so I obviously want to ignore these. I have attached an example workbook if anyone has a couple of minutes to take a look.

View 3 Replies View Related

Lookup To Find Highest Value

Jun 18, 2009

The following calc works perfectly to find the latest entry in a column of meter readings in one worksheet and return the value to a master worksheet.

View 4 Replies View Related

Find And Replace Next Highest

Apr 21, 2007

is there a way to write a macro that will do a find and replace and increase the find value by 8 and increase the replace value by 2 each time?

View 2 Replies View Related

Equation To Find Top 2 Highest Values?

Mar 8, 2014

I have the following 2 formulas that determine the top 2 scores and return the respective headers, but they aren't perfect.

=INDEX(T1:V2,1,MATCH(MAX(T2:V2),T2:V2,0))

The above returns the max, however doesn't take into account scores that are a tie or 0 values

=INDEX(T1:V2,1,MATCH(LARGE(T2:V2,2),T2:V2,0))

The above returns the 2nd highest value, but some instances the output is correct (if there is a tie or a 0).

How can I fix both of these equations and also determine the 3rd highest score?

View 5 Replies View Related

Find Highest Previous Score?

Mar 10, 2009

s/s is 325501 rows deep. Column C contains names. Column J contains scores. I need column N to give me the highest score a name has previously achieved. (please see small attachment for illustration). If i can get a formula then I can fill this down.

View 4 Replies View Related

Find Highest Value Out Of Multiple Values

May 12, 2009

I have 2 columns, A (has the names of employees) and B (has the month in which the employee has a project scheduled). What I’m looking to do is find the latest month an employee has a project scheduled. Note: Employees can have a multiple number of projects so they may be listed multiple times with corresponding months.

I have each employee listed in column F and am looking to find their latest project month in column G. (I have the number that the formula should return in column H).

View 3 Replies View Related

Formula To Find The Highest And Lowest Value

Dec 5, 2006

Is there a formula I can use to find the Highest and Lowest value in a column?

View 9 Replies View Related

Find Highest Number Based On Name

Dec 5, 2008

In sheet 1:
I have a list of customers and their current credit limit

In sheet 2:
i have a list of all payments received in the last 12 months.

my customers credit limits are set by multiplying their highest payment in the last 12 months x 1.25
(e.g. payment of $1000 x 1.25= limit of $1250)

what i want to do is:
1) look at the customers in sheet 1

2) check sheet 2 to see if they have made a payment

3) return their highest payment (if any) in sheet 1 Col. C

4) i can work out the rest

View 9 Replies View Related

Find Highest Value Across Multiple Sheets

May 26, 2007

I have a workbook that contains sheets of sales data from year to year. Each sheet has the same data in the same range of cells. For example b2 thru b26 would contain the sales for Day 1 of a route system for each week of the year, and each sheet in the workbook contains the same data in b2 thru b26 regardless of the year (2006, 2007, etc). I would like to be able to have a cell that would contain the record high sales for that particular route day, but have a formula that would watch that column and change the value in the selected cell when a new high was entered.

Is there a way to check the range of cells for a high value, or would I need to check each cell against the current high value in the cell with the record high, and how would I go about constructing this formula? Or as I'm now thinking about it, would this be more of a job for a macro that would run when data was entered?

View 9 Replies View Related

Colouring Non-contiguous Cells With VBA

Dec 4, 2012

I have a rather large database that I'm trying to automate colours in, based on data that is inserted into Column 'D'. I've used the following code (with some success), but it colours columns that I don't want to colour:

VB:
Sub KeyCellsChanged()
Dim Cell As Object
For Each Cell In Range("D1:D5000")

[Code].....

That works fine - but the problem I have is that I only want to colour columns A:N, Q, T, V, AB:AE, etc. (random columns and not always together). I have already tried to replace parts (as follows), but get all sorts of errors (in particular Run-time error 1004):

VB:
If Cell = "Rabbit" Then
Cell.Range("A:N,Q, T, V, AB:AE").Interior.ColorIndex = 42

Is there someway that a line of code can determin which cells to colour in the row, or alternatively code that will colour the columns a specific colour and make them stay that colour when the first code above is used?

View 3 Replies View Related

Min Value Excluding 0 For Non-contiguous Cells

Apr 2, 2009

I can find the min value excluding zero in a range of contiguous cells, but how can I do it if the cells are A1, A3, A25, A67, etc?

View 9 Replies View Related

Paste Into Non-Contiguous Cells

Dec 18, 2012

Copying and pasting into non-contiguous cells.

I want to be able to filter my data set, so for example I can filter column A for the value Berkshire, I then want to be able to select all the Berkshire's in Column A (not a problem, simply select them and copy), but I then need to be able to paste them into column B, so they appear in exactly the same rows as they do in Column A, but this doesn't work, it pastes them into hidden cells as well.

I've tried the Alt + ; (Visible Cells Only) option, followed by copy and paste and this makes no difference.

I have over 20,000 rows of data to filter, then copy the relevant cells and move to the same row in another column and currently I'm having to move the cells one by one which is ludicrous.

View 1 Replies View Related

Sort Non-contiguous Cells

May 24, 2006

How would I go about sorting a selection of non-contiguous cells?

View 5 Replies View Related

Clear Non-contiguous Cells

Jul 23, 2007

Am looking for routine that can be used to delete the contents of cells from multiple, non-contiguous cells throughout a single worksheet. I would like to place a "button" or some form of toggle-switch on the worksheet that will clear all entries at once. I see a thread "Macro Deleting Wrong Cells" that references a VBA sub-routine called "DelCells". I happen to be running Excel 2007 and am still adjusting to the new menu "structure" :-)

View 5 Replies View Related

LIST Funtion: Find The Highest Number ?

Jul 30, 2008

I have several worksheets where I input data, and I would like a 'stats' page as worksheet 1. Work sheet one is a list of names in cells A4:A28. column B,C,D,E,F, and G contain the results using Countif. How would I now get excel to look down a column, for example B, to find the highest number in that column and then use the name from that line but in column A.

View 3 Replies View Related

From A Value Select A Range Then Find The Specify The Highest Figure

May 19, 2009

I am trying to work out how to select a range from a formula.

One formula works out when a specific number in a list of rows is reached, and returns the number of values it counted before it reached the number.

MATCH(TRUE,INDEX($A$2:$A$50>=B1,0),0)

With the figure returned from that can I then select the range from the first row, to the number of rows counted. And with that selection find the highest number within that range, specifying the highest number as the result?

View 14 Replies View Related

Find Next Highest Value In Alpha Numeric Series?

Mar 15, 2014

In have a worksheet with about 5,000 rows. In column there is a unique identifier for each row, however the unique identifier can take one of 12 different formats, namely:

L1314LAND00001 through to L1314LAND0XXXX
L1314CUST00001 through to L1314CUST0XXXX
L1314COMM00001 through to L1314COMM0XXXX

M1314LAND00001 through to M1314LAND0XXXX
M1314CUST00001 through to M1314CUST0XXXX
M1314COMM00001 through to M1314COMM0XXXX

N1314LAND00001 through to N1314LAND0XXXX
N1314CUST00001 through to N1314CUST0XXXX
N1314COMM00001 through to N1314COMM0XXXX

S1314LAND00001 through to S1314LAND0XXXX
S1314CUST00001 through to S1314CUST0XXXX
S1314COMM00001 through to S1314COMM0XXXX

These unique identifiers won't always appear in sequentiual order. In Cells B2 to M2, I want to be able to determine what the next entry for each of the twelve variations will be, so for example, if the current highest value in column A for the 'S1314LAND' range S131400421, in cell K2, I would want it to display S1314LAND00422, and if the current highest value in column A for the 'M1314CUST' range M1314CUST0036, I would want cell C2 to display M1314CUST0037, so anyone at a glance can see the next highest unique reference for the relevant set, rather than having to go through the unique identifiers in column A manually to determine the next entry in the series.

I'm not really sure where to start, when there can be more than one aplhanumeric entries ending in the same number, e.g. S1314CUST00500 and M1314LAND00500.

View 4 Replies View Related

Find The Highest Manager From 2 Columns Of Data

Feb 4, 2010

In the attched sheet I have a list of employee ID's in column A and the Employee's Line manager ID in Column B. In Column C I need the Line Manager at the top of the pile so to speak. These line managers are listed in column J (J2:J6)

At the moment I have been writing formulas accross 11 columns (there are 11 possible levels) to check the line managers ID in Column A and see if their line manager is in the top manager list, I do this formula for all 11 columns until the line manager in the list is found. If the Line Manager is in the list I simply repeat it for the next columns. The end result is that in the 11th column all employees will have one of these Line Managers from the Top List in their row.

Is this possible to do through VBA? I have thought about how I could do this through VBA but I have just hit a brick wall.

I'm not asking for someone to do all of this for me but if someone could give me a couple of hints around how to look up a value in a list through VBA and if it is even possible to repeat that process per line until the match is found, that would be great.

View 7 Replies View Related

Pictorial Representation Find Highest In The Cell

Mar 2, 2012

pictorial representation find highest in the cell

data & output

View 1 Replies View Related

How To Find Highest Value In Column While Eliminating Dupes In Another

Mar 8, 2012

I have two columns each having 8500 rows.

A= Zip code
B= Sales

Duplication of zips appear in column A - and I only need to return the highest sales in B. So based on the example below..I only need to return $500 in column C.

A
A2=50201
A3=50201

B
b2=$345
b3 $500

View 4 Replies View Related

VBA - Loop True Column A And B To Find Highest Value?

Sep 12, 2012

make and loop that loops true all values in column A and B. For example, if the cell A3 is higher the cell B3 then I want it to write the higher value in new sheet.

View 2 Replies View Related

Specify Non-Contiguous Cells With Variable Addresses

Nov 17, 2012

Excel VBA. I have a problem which is frustrating me almost beyond measure, but I am convinced that the answer is a simple one.

sub a() copies the values of 3 non-contiguous cells and pastes them as contiguous cells. This is simple as the cell addresses to be copied are absolute.

VB:
Sub a()
Dim x As Integer
x = 6
Range("A1,C1,E1").Copy
Cells(x, "H").PasteSpecial Paste:=xlPasteValues
End Sub

Sub b() copies a range of contiguous cells, including empty cells, and pastes them as contiguous cells, including empty cells. This is simple because I have specified a "range" of cells with variable addresses.

VB:
Sub b()
Dim x As Integer
Dim y As Long
x = 6
y = 1
Range("A" & y & ":E" & y).Copy
Cells(x, "H").PasteSpecial Paste:=xlPasteValues
End Sub

However, what I really want to do is copy 3 non-contiguous cells with variable addresses similar to sub b (ie. 'A' & y, 'C' & y, 'E' & y) and paste them as contiguous cells (without empty cells) as in sub a ().

What is the correct way to specify the cells to be copied?

View 8 Replies View Related

Copy Cells From Non-contiguous Selection?

Sep 12, 2013

If I select a group of non-contiguous cells with control shift is there any way that I can shift the same selection over to the next column. For example, I have A4 and A8 selected. When I press shift and right arrow it doesn't work.

View 4 Replies View Related







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