Wednesday, 10 August 2016

How Can I Fix - Best formula to calculate these multiple conditions and return a summed value??

Best formula to calculate these multiple conditions and return a summed value?

I have a large data set, and will need to calculate a large number of summarized data cells, so I'm struggling with how to do this at all, and then if there are multiple methods, which is the most efficient so I don't get locked up in long 'processing....'
Sheet1 contains a list of Cities in column A, Utilities in Column B, and dollars per month in columns C-N
Atlanta Power 55  65  40 90  110  85 (etc)
Atlanta Water  19  22  31  26  27  19 (etc)
Atlanta Sewer  8  11  13  14  9  11 (etc)
Denver Power 71  82  65  58  61  (etc)
Denver Water (etc)
Sheet2 contains a list of unique city names:
For each city on Sheet 2, I need to tally the total dollars for all utilities excluding sewer
If I was only tallying one column of results, I would use sumproduct, but when I try to include multiple columns in the third parameter, I'm getting incorrect results
=sumproduct((Sheet1!A1:A50000 = "Denver")*1, (Sheet1!B1:B50000 <> "Sewer")*1, (Sheet1!C1:N50000))
I also tried =sumifs, with the same problem when trying to return dynamically the sum of multiple columns when the first two columns match my conditions.
Suggestions on formula/approach would be greatly appreciated! I'm hoping to just get an overall total (Atlanta = 589, based on all the electric and water numbers shown above example).
My alternative is to load the output page with formulas to pre-calc each
of the 12 months, then sum them up, but I'm hoping to find an efficient method to sum all these values within one formula per location.
Many thanks,

Keys to the Problem Best formula to calculate these multiple conditions and return a summed value?

Download SmartPCFixer for Free Now

=sumproduct(--(Sheet1!A1:A50000 = "Denver"), --(Sheet1!B1:B50000 <> "Sewer")* (Sheet1!C1:N50000))

  1. Access the files on your computer via MY COMPUTER
  2. Under the C: drive, access the WINDOWS folder
  3. Select the SOFTWARE DISTRIBUTION folder, followed by the DOWNLOAD folder.
  4. Delete any files within this download folder.
  5. If you are unable to delete these files, open the command prompt (CMD) as the administrator, and type "net stop wuauserv" into the CMD prompt window. Press ENTER. This should allow you to delete the files from step 4.
  6. Once the files are deleted, open and run the CMD as the administrator and type "wuauclt.exe /updatenow". Press ENTER.

Another Safe way to Fix the Problem: Best formula to calculate these multiple conditions and return a summed value?:

How to Fix Best formula to calculate these multiple conditions and return a summed value? with SmartPCFixer?

1. Click the button to download SmartPCFixer . Install it on your computer.  Run it, and it will scan your computer. The junk files will be shown in the scan result.

2. After the scan is finished, you can see the errors and problems need to be repaired. Click Fix All.

3. When the Fixing part is done, your computer has been speeded up and the errors have been fixed

Related: Autologon and AutoLogonCount Parameters for Windows Unattended Setup Error Fixer,How To Resolve Cyberbit Unicode Font Does Not Return Correct Charset Problem,How To Use the Office Profile Wizard to Create an OPS File in Office XP Error Fixer,Error Sys Msg 22 Invalid period, please reenter. in MC in 4.x Solution,Why am I Getting a Upgrades from 3.01 to 3.60 or 3.01 to 3.70 Involving Serial Numbers and Revaluations Are Overstating the Valuation Entries on the Purchases Error?,How Can I Fix - Error 16389?,How to Fix - Internetopen?,Mcafee Virus Scan Online,How Can I Fix - Qos Packet Scheduler Failed?,Solution to Problem: Windows 2000 Boot Repair,How to Fix ashoutxt.dll Not Found Error,Best Method to Fix cxcore096.dll Error,Where can I Find dsauth.dll File,msde.dll Corrupted - How to Resolve,psizewizres.dll Corrupted - How to Fix,How to Download ASUS XGI Compatible Super VGA Driver Package Version R1.13.00/Driver Version for Windows XP 32/64 bit(WHQL),Windows Server 2003 32/64 bit(WHQL),Windows Vista 32/64 bit(WHQL),Windows Server 2008 32/64 bit(WHQL),Windows 7 32/64 bit(WHQL),Window,Download NeoMagic® MagicMedia 256AVP Display Adapter Driver,Download NVIDIA RIVA TNT2 Model 64,How to Update Realtek ALC850 AC'97 Driver V5.10.0.5900 WHQL for Windows 2000/XP/2003 & 64bit XP/2003.,How to Update Realtek LAN V6.203.0214.2008,Microsoft.PowerShell.GraphicalHost.dll Error Code Fixer
,Fix Error Code Netapi32 (4).dll
,Qa_auth_client.dll Error Code Fixer
,Fix Error Code Tdc (3).ocx
,Vwipxspx.dll Error Code Fixer
,Way to Download Toshiba Qosmio X505-Q832 Intel Wireless LAN Driver v.,Download Toshiba Satellite C650D-ST6N02 Assist Utility v. driver,How Can You Update & Download Toshiba Satellite L645-S4026RD Value Added Package v.1.6.0130.640202 driver,Method to Download Toshiba Satellite L755-S9511D Assist Utility v. driver,Method to Download Toshiba Satellite P875-S7200 Fingerprint Utility v.2.0.0001.000408 driver,Best Way to Download NVidia GeForce 6100 VGA Driver v.304.51 Certified,How Can You Update & Download NVidia GeForce 9300/nForce 730i VGA Driver v.310.19 Certified,Method to Download NVidia GeForce GT 330M Driver v.340.65,How Can I Update & Download NVidia GeForce GTX 590 Driver v.280.26 WHQL,Method to Download NVidia Tesla C2050 Driver v.319.17
Read More: Fast Solution to Error: bing bar will not remain displayed for ie9,Bing redirects Google search results [Solved],How to Fix - Basic Help needed for SSD + HDD Setup?,How to Resolve - Black screen on startup and when trying to switch users??,Troubleshooting:Based on an event, how to change the rowsource property of a combobox

No comments:

Post a Comment