average if multiple conditions are met
I am working on a loading calc.
sheet for a wastewater plant.
I have pages set up for each month (tabbed) and an annual loading on the last tab of my workbook.
In doing my sheets I have so far accomplished only averaging if >0.
This part works fine but I
get the #DIV/0 in my cell if there are no numbers >0 which messes me up on the annual loading page - the monthly page does fine as long as I have at least 1 # >0.
Here is my formula that I am currently using:
=AVERAGEIF(I4:I34,">0")*G35
I4:I34 is my Total Nitrogen
G35 is my # of days discharged
So the formula takes my average, as long as it's >0 and multiplies it by the number of days I have discharged for the month.
How can I add to this formula to have any "0" values that I have show up as a "0".
I hope I have explained this well and will be glad to try to give further info if it will be helpful.
Thanks for your time.
Greg
Anwsers to the Problem average if multiple conditions are met
Download Error Fixer for Free Now
...
but I get the #DIV/0 in my cell if there are no numbers >0 which messes me up on the annual loading page ...
How can I add to this formula to have any "0" values that I have show up as a "0" ...
You could add 0 values into the AVERAGEIF() criteria or take advantage of the newer IFERROR() function to wrap around your AVERAGEIF() and default to
0 if a #DIV/0 will result.
=AVERAGEIF(I4:I34,">=0")*G35
...
or,
=IFERROR(AVERAGEIF(I4:I34,">0"),0)*G35
...
or,
=IFERROR(AVERAGEIF(I4:I34,">0")*G35,0)
I believe one of the latter two formulas is going to be closer to what you want to accomplish, i.e.
never include
zeroes in the average.
AVERAGEIF function
IFERROR function
Manually editing the Windows registry to fix Error average if multiple conditions are met
Caution: Unless you an advanced PC user, we DO NOT recommend editing the Windows registry manually. Using Registry Editor incorrectly can cause serious problems that may require you to reinstall Windows. We do not guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.
- Click the Start button.
- Type "command" in the search box... DO NOT hit ENTER yet!
- While holding CTRL-Shift on your keyboard, hit ENTER.
- You will be prompted with a permission dialog box.
- Click Yes.
- A black box will open with a blinking cursor.
- Type "regedit" and hit ENTER.
- In the Registry Editor, select the Error 0x9C-related key (eg. Windows Operating System) you want to back up.
- From the File menu, choose Export.
- In the Save In list, select the folder where you want to save the Windows Operating System backup key.
- In the File Name box, type a name for your backup file, such as "Windows Operating System Backup".
- In the Export Range box, be sure that "Selected branch" is selected.
- Click Save.
- The file is then saved with a .reg file extension.
- You now have a backup of your MACHINE_CHECK_EXCEPTION-related registry entry.
Another Safe way to Repair the Problem: average if multiple conditions are met:
How to Fix average if multiple conditions are met with SmartPCFixer?
1. Click the button to download Error Fixer . Install it on your computer. Run it, and it will scan your system. The errors will be shown in the list.
2. After the scan is done, you can see the errors and problems which need to be repaired.
3. The Repair part is done, the speed of your computer will be much higher than before and the errors have been removed. You can also use other functions in SmartPCFixer. Like dll downloading, junk file cleaning and print spooler error repair.
Related: AMD Radeon HD 7800M Win8 not working [Anwsered],I can access the internet, get on facebook and get to hotmail, but I can't play games on facebook and I can't open or respond to my e-mails,I keep getting this Media Player error when I log on my computer. [Anwsered],[Anwsered] System Hanging on shutdown and restart,Unable to get the Vlookup property of the WorksheetFunction class,Solution to Error: Error: "0x81000032 make sure the C: drive is online and set to NTFS" when trying to backup to external hard drive.
,Troubleshoot:External Hard Drive not listed in Windows 7 backup wizard Error
,I'm always being signed off so annoying Tech Support
,Solution to Problem: Impossible to use Internet Explorer! I keep getting the same error message every time i try to use IE.
,Solution to Problem: Referencing data in another file
,Troubleshoot:Error: "0x81000032 make sure the C: drive is online and set to NTFS" when trying to backup to external hard drive. Error,External Hard Drive not listed in Windows 7 backup wizard Tech Support,Tech Support: I'm always being signed off so annoying,Solution to Problem: Impossible to use Internet Explorer! I keep getting the same error message every time i try to use IE.,Referencing data in Access using Excel [Anwsered],Need Best Way To Present Data [Anwsered],Same question but for windows 7 home edition,sometimes fullscreen won't activate [Solved],Solution to Error: We bought a new computer with windows 7 and it is constantly freezing. How do we fix this?,Solution to Error: Windows 8 update crash (2013-07-22)
Read More: How to Fix - Auto correct word 2010?,Average with multiples if's, need to add an or [Anwsered],Troubleshooting:auto set print area on range that changes,Tech Support: Autofill with data validation,Fast Solution to Problem: Attaching photos,application not found error,any problems in a team where one has Windows XP and the other has Windows 7?,Application/Object-Defined Error,An Excel formula question where hours are totalled and cumulating,Anyone know the hardware email?
댓글 없음:
댓글 쓰기