Average If In 2003
Oct 17, 2009
I'm trying to do an average if statement, but I only have excel 2003 and don't think the averageif statement is available.
So... Here is what I have.
In column A I have have a list of H's and @'s. In column b I have a list of numbers that I want to average out.
Basically I want to find the Average for all the #'s in column B that have an H in column A.
View 9 Replies
ADVERTISEMENT
Jul 7, 2009
I'm using Excel 2003, so no AverageIf.
I have 15,000 rows of data.
In Worksheet_1, I have:
Column A (Date) contains daily dates ranging from January 1968 to today, though not every day is listed (weekends and holidays are excluded).
Column E (Price) contains daily prices.
On a separate worksheet (Worksheet_2), I need to calculate average monthly prices, listed by end of month dates (Monthly_Date and Monthly_Price, respectively).
I've been trying to use an array formula like this:
=AVERAGE(IF(AND(MONTH('Worksheet_1'!A2)=MONTH('Worksheet_2'!A2),YEAR('Worksheet_1'!A2)=YEAR('Worksheet_2'!A2)),'Workshee t_1'!E:E,"0"))
I can get an average of the whole column, but I cannot seem to make Excel "grab" only the corresponding data in Column E that matches the right date criteria (in this case, when the month=January and the year=1968).
View 9 Replies
View Related
Jan 5, 2012
I have a sheet set up with date in Column A, time in column C and numbers in column D, starting in row 2 down. I made a pivot table with the dates grouped by day, 7, to show a week and I can group the time by hours, 6am, 7am, 8am. but what I want to do is group the time for times between 2 times, like from 6:00 AM to 10:00 AM, 10:01 AM to 2:00 PM and 2:01 PM to 8:00 PM, what I am wanting to do is group by week, group by the times above and average the numbers for that time. Is there anyway to do this in a pivot table? Or some other way? this is for use in Excel 2003
View 2 Replies
View Related
Jun 12, 2014
I have a couple of issues and if its okay will post two threads to make it easier to follow due to my basic skills in Excel.
I have a workbook with 5 sheets. The first sheet is a stat sheet which picks up data from four other spreadsheets. I want to work out the average working days taken to complete a case but this data is across multiple sheets.
So for example Column E in each sheet tells you what type of case it is i.e. investigation. Then column T tells you number of workings day it took to complete the case. To work this out I have used the following formula:
=SUM(SUMIF(Further_Action!E:E,"Investigation",Further_Action!T:T),
SUMIF(Court_Application!E:E,"Investigation",Court_Application!T:T),
SUMIF(No_Further_Action!E:E,"Investigation",No_Further_Action!T:T),
SUMIF(Closed!E:E,"Investigation",Closed!T:T))/SUM(COUNTIF(Further_Action!E:E,"Investigation"),
COUNTIF(Court_Application!E:E,"Investigation"),COUNTIF(No_Further_Action!E:E,"Investigation"),
COUNTIF(Closed!E:E,"Investigation"))
I know its very basic but its the only way I know how to work out an average in Excel 2003. I need to add a second criteria where on every sheet it looks in column G for date the case was allocated. As I'm only looking to report in the current report year I want it to look for cases where the value in column G is =>01/04/14 but =<31/03/14.
View 2 Replies
View Related
Dec 24, 2012
I am currently using Excel 2003. I have a worksheet with two tabs.
First tab has a list of bank Names. Second list has Bank Names and balances.
I need to find out the the average from a Bank in the first tab, to the same bank on the second tab that reflects the balances.
View 6 Replies
View Related
Dec 4, 2013
I have a worksheet which has various figures for each day of the week however I need to establish the weekly average of these figures.
Due to the way in which the figures are displayed, I am unsure how to use a formula which does not require a range with cells located adjacent to one another.
I have attached a test sheet as an example. The cells in yellow require the formula and I need a weekly average for criteria 1-3. This formula also needs to be compatible in Excel 2003
Test Sheet.xls
View 3 Replies
View Related
May 29, 2013
I am trying to do the following.
Monday=0
Tuesday=5
Wednesday=10
Thursday=0
Friday=5
Saturday=0
Sunday=0
Averages
Monday=0
Tuesday=5
Wednesday=7.5
Thursday=0 (I have got a value return of 7.5)
Friday=5
Saturday=0 (I have got a value return of 5)
Sunday=0 (I have got a value return of 5)
I need to work out averages for cells higher than zeros, in other words, I need to ignore those.
Also say I have got an average of 5 by Tuesday and no number yet for the rest of the week, I still get an average of 5 for all days left which I do not want.
I am using excel 2003 and formula =SUM(RANGE)/COUNTIF(RANGE,">=0").
I would also like to hide the annoying #DIV/0! error.
View 9 Replies
View Related
Aug 29, 2008
I've created a workbook with code to email it to a reviewer then back to the originator when reviewed (along with other editing functions etc.). The problem - The originator is working in Excel 2003, the reviewer in 2007. The macros work great until the reviewer sends it back. I have not been able to figure out which FileFormat:= ???? to use when I SaveAs prior to emailing as an attachment. My Excel 2003 doesn't recognize the .xlsm file and other formats are eliminated the vba/macro coding
View 4 Replies
View Related
Jan 8, 2010
how to write a code where i can open Excel2003 file from Word2003 and delete data from Sheet1 and then close the excel2003.
All this is done from Word file.
View 9 Replies
View Related
Feb 13, 2010
I can select a MS Word 2003 Table from my Excel 2003 macro? I keep getting Error 438 as per attached file for the line of
View 2 Replies
View Related
Jun 14, 2013
E11 through E24 contains numbers and a few errors (#N/A) that need to persist (the errors need to show).
E10 needs to show the average of the numbers that are in E11 through E24, and just ignore the errors.
I have many columns like that - where the errors need to show and I need to show an average of the number/values that do appear, ignoring the errors.
View 14 Replies
View Related
Dec 9, 2008
i have two columns...a and b (a w/ names, and b w/grades). then i have the table lookup with names and grades all mixed up for many rows. i want to be able to average the grades with appropriate names.
=average(vlookup(name, table, column, false))?? i don't get it to work and how can i specify the grade to average?
View 5 Replies
View Related
Jan 23, 2007
TotHCInv.Value = WorksheetFunction. Sum(KRInv, PBLInv, CRInv, PVInv)
If i >= 34 Then CPSCtphRMA.Value = WorksheetFunction.Average("G" & (i - 30) & ":G" & i)
The first line runs properly, but the second line bugs out with the error message "Unable to get the Average property of the WorksheetFunction class". I can simply do the math, but I thought that using the worksheet function would be easier than summing and dividing. I'm curious, though, as to why I can't seem to use the Average function.
View 3 Replies
View Related
May 23, 2014
Can I get a minimum average and a maximum average, I have a worksheet with days of supply for 100 stores with about 100-200 products each, the dos resides in column D.
I was going to create a summary page and reference column d.
The following just gives me the min, I want the min average if possible:
View 5 Replies
View Related
Sep 1, 2006
I am attempting to calculate Grade point averages for my students for all classes. There are 5 columns of grades to be considered. I frist assign values of 0-5 to the grades then average the points. My problem is that I want the AVERAGE to ignore the zero but it calculates it as well. (I enter a 0 if I have no grade for that class.) I have tried the{ } to make it an array formula but this also did not work. Here is what I have, can anyone help?
=SUM(AVERAGE(IF(AND(L2>89,L2<100),5,IF(AND(L2<90,L2>79),4,IF(AND(L2>69,L2<80),3,IF(AND(L2<70,L2>59), 2,IF(AND(L2>0,L2<60),1,0))))),IF(AND(T2>89,T2<100),5,IF(AND(T2<90,T2>79),4,IF(AND(T2>69,T2<80),3,IF( AND(T2<70,T2>59),2,IF(AND(T2>0,T2<60),1,0))))),IF(AND(AB2>89,AB2<100),5,IF(AND(AB2<90,AB2>79),4,IF(A ND(AB2>69,AB2<80),3,IF(AND(AB2<70,AB2>59),2,IF(AND(AB2>0,AB2<60),1,0))))),IF(AND(AJ2>89,AJ2<100),5,I F(AND(AJ2<90,AJ2>79),4,IF(AND(AJ2>69,AJ2<80),3,IF(AND(AJ2<70,AJ2>59),2,IF(AND(AJ2>0,AJ2<60),1,0))))) ,IF(AND(AR2>89,AR2<100),5,IF(AND(AR2<90,AR2>79),4,IF(AND(AR2>69,AR2<80),3,IF(AND(AR2<70,AR2>59),2,IF (AND(AR2>0,AR2<60),1,0)))))),-1)
I know it is huge. The syntax is correct. It calculates the average, but always for all 5 columns. It will not ignore a 0 in a column.
View 10 Replies
View Related
Jan 7, 2008
I'm using the formula =AVERAGE(B16:L16) to give me the average.
However I have a couple of problems with this. Firstly I would like to exclude the value zero from the average. Secondly to also ignore the lowest and highest values.
Example, if the values in the cells are 0,1,2,3,4,5,6,7,8,9,10 then the current result shows 5, by ignoring the 0 and lowest value 1 and highest value 10 the average should be 4.5.
View 9 Replies
View Related
Oct 11, 2006
Ok, I for some reason just cant wrap my head around this. I need to to get the average time per call of two rows, but they are based on how many calls taken.
so in one column i have 50168 calls taken at 4:21 seconds per call. and in the next row i have 597 calls taken at 5:20 per call. I need to see what the new average will be with them combined, and I need it to display in m:ss form.
View 9 Replies
View Related
Aug 13, 2008
to formulate Excel formulas to obtain the average buy price and average sell price for me to do this futures trading. Thanks a lot. I downloaded the Htmlmaker to post the spreadsheet here to show the manual way to calcualte the average buy price and average sell price but when it is on html form, i clicked on the 'Please click this button to send the source into clipboard' button & then i paste into this thread. Is the way to make my spreadsheet appear here correct cause it cannot work.
View 9 Replies
View Related
Sep 27, 2009
I did the restart our company required and when Excel reopened it was on my laptop rather than the big screen. I run 2 screens. Excel 2003 is now so far up on the laptop screen, I cannot move it. I can barely see File, Edit, View, etc. How can I drag Excel down so I can resize it?
View 4 Replies
View Related
Dec 31, 2009
I can not get the following formula to work - I keep getting #Value errors and I've checked the fields and the values are correct
=SUM(IF(Input!$A$6:$A$4006=1,IF(Input!$I$6:$I$4006="DM",IF(Input!$K$6:$K$4006="Bid",Input!$L$6:$L$40 06,0),0),0))
My intension is that if A=1 and I=DM and K=bid then add the corresponding values in L and display. I can't figure out why this formula in another cell and works fine
=SUM(IF(Input!$A$6:$A$4006>0,IF(Input!$A$6:$A$4006<1,IF(Input!$I$6:$I$4006="DM",IF(Input!$K$6:$K$400 6="Bid",Input!$L$6:$L$4006,0),0),0),0))
it is just checking an additional condition of the value in column A
View 4 Replies
View Related
Feb 17, 2010
I need to create a date using the DATE() function, and have been experimenting with:
=DATE(YEAR(NOW()), MONTH(NOW()), DAY(NOW())) to try and generate today's date as an exercise in using the DATE function without success.
View 3 Replies
View Related
Aug 21, 2008
I have a workbook that on opening I see the following message. This workbook contains one or more Microsoft Excel 4.0 macros. What's confusing is that I never downloaded any 4.0 macros. The ones that I have were either recorded or provided by this forum. I am trying to find this macro and delete it but I can't locate any 4.0 macros. I even copied all worksheets to a new workbook and when I go under Tools/Macro there are 0 displayed. I even launched the VB Editor and can't find any.
It's not causing any problems even when I select Yes to enable these macros but it may cause some individuals to not want to open it which is a problem. I've also run Norton Antivirus and none were found. Additionally, if I open other workbooks this message is not displayed. Could someone have a look at the attached and see if they can identify what macro the message is referring to?
View 3 Replies
View Related
Oct 9, 2009
I have a filter that works in Excel 2007, and I'm trying to figureout how to make it work in Excel 2003. OrderNums is an array of multiple criteria. The below code works perfectly in Excel 2007.
View 3 Replies
View Related
May 21, 2006
I would like to find a formula that will take the current month (i.e.
May) and add one month and return (display) just the following month (i.e.
June)
View 13 Replies
View Related
Apr 12, 2009
I'm looking for a formula to say if the contents of cell A1 are this and the contents of cell L1 are this, then enter value 1 in cell N19.
For example if A1=Text and B1=Diff Text then A14=1, but if A1 doesn't =Text or B1 doesn't = Diff Text then A14=0.
View 8 Replies
View Related
Nov 23, 2006
Excel 2000 spreadsheet everything is fine.
When I open the same file in excel 2003 #NAME? Error appears.
I check Accept Labels in Formulas and it helped in some places but not everywhere.
I still have lots of NAME errors in a relatively simple spreadsheet.
I Excel 2000 everything works fine.
View 9 Replies
View Related
Sep 6, 2008
When I enter the letter s in cell A6 it auto.shows Sept.also the letter d shows Dec.automatically etc.. how to stop this...
View 9 Replies
View Related
Apr 6, 2009
I have the folowing simple sorting exercise
Col A Col B
1 56(=A20) 224(=A1*4)
2 66(=A21) 396(=A2*6)
3 33(=A22) 198(=A3*6)
4 13(=A23) 26(=A4*2)
.
.
.
20 56
21 66
22 33
23 13
I am trying to sort on Col B in descending numeric order, and cannot seem to get this done with the 'data>>sort ...' function/option.
View 9 Replies
View Related
Nov 1, 2006
My old Excel app which uses the Kodak ImgEdit control runs fine in Off97,2000, & XP/2002, but the VBA code breaks in XL2003. Even some normal VBA code, like direct sheet references such as
Worksheets("Data").Activate
kills execution, whereas
Dim sDat As worksheet
Set sDat = Worksheets("Data")
sDat.Activate
seems to work - a behaviour rather like a bad/missing VBA reference.
Only the ImgEdit ocx is used, and seems to register correctly (needs imgcmn & oieng400 dlls) using Regsvr32. The ocx is on a worksheet, not a form. And a side-effect is the Excel is using 90% cpu time while this workbook is loaded, although all vba is stopped/reset.
The only clue I've found is that starting a new project and trying to drop ImgEdit onto a 2003 sheet returns a "Cannot insert object" error, while trying to drop it onto a form returns a "The subject is not trusted for the specified action" error.
Or there a document detailing the differences between 2002 & 2003?
View 6 Replies
View Related
May 23, 2007
In VBA Excel 2000 while ODBC connecting to a dbase file:
parameter=" N0011"
...
ActiveSheet.QueryTables.CommandText = Array( _ ...
"SELECT ... & Chr(13) & "" & Chr(10) & _
"FROM ... & Chr(13) & "" & Chr(10) & _
"WHERE (dbase_file.field1=" & chr(34) + parameter + chr(34) & "... & Chr(13) & "" & Chr(10) & _
"ORDER BY ...")
...
It doesn't work any more in Excel 2003. Of course it works directly such as:
"WHERE (dbase_file.field1=' N0011')
but I couldn't find the way to replace the ' N0011' with the parameter.
It is not the singular issue...
"FROM dbase.file dbase.file " that worked well in Excel 2000, the Excel 2003 "wants":
"FROM 'drivepath'dbase_file dbase_file "
and I couldn' find a way to replace the explicit 'drivepath' with a predefined variable.
View 3 Replies
View Related