Specific Averages For Lowest 5 People That Are Not Assigned 0 Value
Sep 10, 2013
I am trying to average a range of data in column B, the values range from 0 up to 100. I want to average the data in column b for the lowest 5 people with a value higher than 0. I have searched the archives and the formulas i have tried give me a "False".
this is the formula I was using=IF(COUNTIF(B3:B22,"
View 4 Replies
ADVERTISEMENT
Dec 11, 2013
I've put together a spreadsheet look at the time taken for a vehicle to get from one building to another when called. I've set up conditional formats where the timings turn orange after 5 minutes and red after 10 minutes taken. What I also have to show though is who is taking the vehicle and break it down to show any delays to patients. Is there a formula that will automatically tell me when there has been a delay to patients?? Be amazing if there is as it would save me uber amounts of time as i have to collate a whole years worth of data!
I've attached a small sample of what I've done to show you how the spreadsheet looks.
sample.xlsx
View 5 Replies
View Related
Apr 28, 2008
I need a formula that determines the average of numbers based on specific cells.
For instance:
COLUMN A COLUMN B
John Doe 1.48
Jane X 2.89
John Doe 1.89
Jane X 5.98
Michelle Doe 5
Claire Doe 3
Jane X 0
What formula can I use to give me the average of "Jane X" not taking into consideration the one with the 0 Value?
View 9 Replies
View Related
Jun 10, 2014
I have a little trouble with my macros. I wrote several different macros, each for a special purpose. Then I created some Buttons, which would make it easy for others to work with them.
But I have now experienced several times, that my buttons don't keep their assigned macro.
View 5 Replies
View Related
Dec 10, 2007
When I Copy My Excel Document I Find This:
In My New Document The Custom Toolbar Is Likning The Functions (macros) To My Old Workbook In My Other ( The One I Copied From) Document.
Can I Make The File Path Of The Macros Change With The File Path Of The Document.
Or Embed The Macros To The Sheet
View 6 Replies
View Related
Apr 29, 2008
I created a name with the code
ActiveWorkbook.Names.Add "ChartNo", 0, True
I got an "error 428 object required"
with the next line :
[ChartNo] = 1
View 7 Replies
View Related
Sep 16, 2009
In column G of my excel 2003 worksheet named: Data, I have a list of people's first names. These names were extracted from an external database.
Some of the first names actually contain peoples second names or partner's names.
Example:
John & Jill
James and Sue
Kerrie-Anne
Joanna Lyn
I need a macro to please delete people's second name.
So in the example above I need to keep all names that are joined by: & or and or - (such as John & Jill, James and Sue, Kerrie-Anne).
Also, in the example above I need to delete all names that are joined by a <space> (such as Joanna Lyn).
View 11 Replies
View Related
Feb 10, 2010
It runs fine for me, but when others (who are using Excel 2003) try to run it, it won't fire. The second macro entitled "Delete Foothill" runs fine though. "Run Foothill won't fire.
Sub Run_Foothill()
Sheets("Foothill Plaza (Weekly Call)").Unprotect Password:="Foothill"
'
' Run_Foothill Macro
'
'
Sheets("OC").Select
Range("B37:C44").Select
Selection.Copy
Sheets("Foothill Plaza (Weekly Call)").Select
Range("B4").Select
ActiveSheet.Paste
Range("A12").Select
Application.CutCopyMode = False
Selection.Borders(xlDiagonalDown).LineStyle = xlNone
Selection.Borders(xlDiagonalUp).LineStyle = xlNone
Selection.Borders(xlEdgeLeft).LineStyle = xlNone
With Selection.Borders(xlEdgeTop)
.LineStyle = xlContinuous
.ColorIndex = 0
.TintAndShade = 0
.Weight = xlMedium
End With
View 9 Replies
View Related
May 29, 2013
I was just trying to work around a problem with multiple UserForms in project. I have assigned Object variables oUserForm1 and oUserForm2 to represent UserForms of specific names.
VB:
Dim oUserForm1 As Object
Dim oUserForm2 As Object
Set oUserForm1 = VBA.UserForms.Add("Data" & CStr(X))
oUserForm1.Y = Y
[Code] .....
When oUserForm1 shows new data are inserted and another macro runs with a line to hide the opened UserForm.
In my project manager this user form name is i.e. Data1 (for x = 1), but the syntax Data1.Hide returns error. After that line it ask me to close the TOP most modal UserForm.
But When I use Me.Hide all works well.
My question is: Does VBA not see the name of the userform ("Data1") because I have used the oUserForm1 variable to give it a focus to it?
View 1 Replies
View Related
Nov 10, 2013
Lets say I have 20 cells. I want to randomly assign a label to the each cell from 5 choices, like "Blue", "Orange", "White", "Green", and "Black". But I want to assign a probability of selecting the labels. So the percent probability of choosing Blue would be 56% and White would be 23%, etc. . . is there a function that allows me to do this?
View 5 Replies
View Related
Aug 26, 2009
I have a formatting macro that I recorded, nothing fancy just bringing in a few different spreasheets, and formatting them. I made this for someone who really doesn't know excel.
I linked this button to the macro and it works great, except at the bottom of the code I would like to put something that when this has run, it hides the button, so it can't be run again.
View 4 Replies
View Related
Jan 6, 2005
I accidently assigned a macro to an object. When right-clicking on the object, I am only able to "Assign Macro...", how do I remove it?
View 6 Replies
View Related
Dec 10, 2013
What I'm trying to do is use a variable NumberOfRows (which is defined as an integer) in this following code, but the problem I get is that the NumberOfRows isn't being inserted.
Let's assume that NumberOfRows = 15.
What I would expect to be in cell B1 is =sum(H5:H15), but what is getting placed there is =sum(H5:HNumberOfRows) which of course doesn't give me anything. I'm sure this is an easy syntax thing, but I just can't seem to get the right combination.
Range("B1").Formula = "=Sum(H5:H&NumberOfRows)"
View 2 Replies
View Related
Jul 31, 2009
I am using Excel 2007.
I have a spreadsheet with about 30 items in 30 rows. I have a picture object which corresponds to the item # and other info in each row. When I sort the rows, the picture objects don't get sorted with the rows and end up no longer corresponding with the item # and other info.
I have right clicked and set the properties for each picture object to "move and size with cells". This does not prevent the problem.
View 9 Replies
View Related
Aug 7, 2014
I am making a system that warns me when the Monthly, Bimonthly, and Quarterly appointments are due based on calculating the "Last Serviced" date. The problem is that when I sort the data (usually by company name or by service type) it scrambles up the color coding and places the assigned conditional formatting rules in the wrong places. How can I keep the conditional formatting attached to their respective companies and row (and still be able to sort without scrambling).
I attached the file : Backup Database PUBLIC HELP FILE.xlsx
View 5 Replies
View Related
Aug 21, 2014
I have a list of product numbers and product prices (table 1).
I have a list of those (old) product numbers becoming new ones (table 2).
BUT some of those products have been merged together so multiple old product numbers have become one new one.
Now I have a list of the new product numbers and I want to calculate the price of the new product by adding up the price of the old products.
View 4 Replies
View Related
Feb 7, 2014
I have a shared workbook. Just used as a checklist for daily tasks. But opened on 5 pc's for users to edit. Is there a way to assign the process of click Review > Track Changes > Accept/Reject Changes... to a marco button?
View 1 Replies
View Related
Jun 1, 2006
I am trying to filter a list where the number of occurences of unique cost codes for each emp No is more than 1. What is needed is the emp no's who have only one costcode to have '0' in the 'no of codes' column. If more costcodes per empno, I need the first costcode to have 1, second code 2, etc in 'no of codes' column. The idea is at the end to be able to filter and delete all those with '0' in, as I only need to work with emp no's that have more than 1 'cost code'. See attached file. The records are in col A, the costcodes assigned to them in B, the formula in C, at the moment is:
=IF(AND( COUNTIF($A$1:A2,A2)>1, COUNTIF(B1:B2,B2)>1),C1, IF(AND(COUNTIF($A$1:A2,A2)>1, COUNTIF(B1:B2,B2)<2),(C1+1),1))
View 4 Replies
View Related
Dec 3, 2006
I created an object using multiple smaller objects (shapes, text etc,) and grouped them to make an icon. I assigned a macro to the finished object. It works fine when the sheet is unprotected. However, when the sheet is protected, the macro will run only when certain parts of the object are clicked. The standard cursor turns into the "hand" when any part of the object is touched regardless of the protection status.
View 8 Replies
View Related
May 18, 2007
I have a configurator that looks up parts in a table based on several search criteria. The results are listed in individual rows with the number of matches varying per lookup combination.
Is it possible to dynamically add a button or similar to each row that would copy the lookup results of that row to a separate quote form?
how can I predefine the function of the button?
View 6 Replies
View Related
Jun 13, 2014
See attached.PMS 2.xlsx. I have a table with data on PMS sheet and would like to have something like the example on the Example sheet using data from the PMS sheet.
View 2 Replies
View Related
Mar 14, 2008
I have a list of people in column A and in B to E there are 4 numbers from 1 to 13. (Each person has 4 different numbers). In the next 24 columns are concatenations of these numbers in every order possible. On a separate sheet I have a list of concatenations of all possible combinations of numers 1 to 13 in groups of 4. e.g. 1234, 1235 etc. I have then counted how many times each of the concatnations from the first sheet appear. What I want to do is put the names of the people whoes concatentaions match the ones on the third sheet.
View 14 Replies
View Related
Oct 10, 2008
I am trying to do is create a document that will be available to sevaral people. The document will be edited by each person as needed. The completed document will then be used to order materials and supplies. What I want to hapen is each time the document is edited an alert is sent to the person responsible for the purchasing. I'm sure this is possible I just don't know how to do it.
View 14 Replies
View Related
Sep 20, 2009
I have 3 spreadsheets I combined into one,
They are voters for 3 separate occasions. I would like to filter out how many people have voted 2 times or 3. I have sorted the information with 2 columns "LASTNAME" and "FIRSTNAME"
Example:
LASTNAME FIRSTNAME
ABBOTTJANET
ABBOTTSTUART
ABBOTTJANET
ABBOTTSTUART
ABBOTTJANET
ABBOTTSTUART
These first 3 show up 3 times, so I would like to take all the info from row one and two to get all the info for Janet and Stu,
View 2 Replies
View Related
Dec 25, 2012
I have a sheet in which it is separated by zone area, name (about 200 names), and email. I am trying to add people to an email based on zone. For instance:
Nevada Billy Billy@gmail.com
California Sal Theemail@gmail.com
New York Jim Jim@gmail.com
Nevada JOe Joe@gmail.com
Arizona Alex Alex@gmail.com
So how can add all the people in X zone to a single outlook email (in this case Billy and Joe)?
View 3 Replies
View Related
Aug 3, 2014
I want to create a monthly rota for 8 people to cover monday to friday. Only one person per day and I need to put this in a calendar .
View 2 Replies
View Related
May 18, 2009
I am trying to find the first and last names of people in a cell. I have a userform to get their first and last names separately. I am trying to run a VBA macro to determine if each cell in a column contains both first and last names, and then put a "Y" in an adjacent column. The Code I have is as follows:
View 5 Replies
View Related
Feb 5, 2012
I have an excel workbook which is a result of a sports survey I conducted. It basically shows who likes which sport, what level they're at, preferred time of play, etc, and their email address.
A colleague has created a type of form (using formulas, not VBA) wherein you select your criteria (Sport, Gender, Level etc) and it displays the matching names.
What I'd like is to be able to select, via a check box or similar, 1 or more names from the list of results for that sport, click a button, and their addresses automatically open in a new Outlook mail window for the person to send a mail to those people.
View 4 Replies
View Related
Dec 19, 2006
how can you set up a workbook to display different sheets for different users depending upon what password they input to open the workbook? The manager should see all sheets but employees only data entry sheets.
View 9 Replies
View Related
Jul 4, 2008
I want to do is to count the number of people under each class, eg. 2300 - primary, 3 ppl, but i gt many many classes in my spreadsheet, do u all have solution for me using VBA
SAMPLE DATA:
2300 - primary
amy
ben
alex
1234 - secondary
Linda
tom
Jerry
Tricia
Mabel
5603 - advanced
Linda
tom
Jerry
Kevin
Calvin
View 9 Replies
View Related