Conditional sum help

junkforhr

Board Regular
Joined
Dec 16, 2009
Messages
115
Office Version
  1. 365
Platform
  1. Windows
Hi.

I have a 5 worksheets that I need to add certain columns,in each worksheet. For example, there is an hours column in each worksheet, however, this column is on different locations on each sheet. I have been using conditional sum, and, have come up with the following.
***********************
{=SUM(IF('out of office comm engag'!$G$2:$G$649857=$B11,1,0))+SUM(IF('out of office cust'!$G$2:$G$649958=$B11,1,0))+SUM(IF('in office visitor'!$E$2:$E$649979=$B11,1,0))+SUM(IF('in office cust'!$G$2:$G$649900=$B11,1,0))+SUM(IF('area csc admin'!$F$2:$F$64917=$B11,1,0))}
*****************

This works fine, but I have a number of these in the workbook, and, I was wondering is there a more efficient was of doing this.

Any help is greatly appreciated.

Cheers
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Thanks for the reply, no I just has some test data in and made the data-set a lot larger. In my real version, there are around 50,000 to 60,000 rows of data for each worksheet.
 
Upvote 0

Forum statistics

Threads
1,214,646
Messages
6,120,717
Members
448,985
Latest member
chocbudda

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top