# Thread: sum if looking in wrong cells

1. ## sum if looking in wrong cells Help my sum if formula is looking in the wrong cells. The formula looks correct and when I check it it says it's looking in the correct range - BUT it's summing values from another range - anyone have this problem ??  Reply With Quote

2. Post the formula, as well as what you think it should be doing. (i.e. which cells are you looking at, for what, and which cells do you want to SUM.) We'll make sure you've got everything in the right place.  Reply With Quote

3. Hi there thanks for responding. It's a simple enough formula. I'm assigning tasks to people and want to sum the amount of time they are allocated in any one day in order to ensure I'm not overbooking them. Here is the formula.

The H to W - references the area where I assign by a persons initials - there are 16 in total
The G reference - refers to the cell where an individuals initials are e.g. NP
the AD to AD - refers to the column with all items assigned on a date e.g Jan 24th

So I'm asking the formula each time you see an instance e.g. NP (\$G465) in \$H\$4:\$W\$461 sum all numbers in AD\$4:AD\$461.

I have therefore 16 rows counting assigned time for each person for each day. The first row seems to be working however the subsequent ones are acting strangely for example if I'm in Cell AA468 and the formula is =SUMIF(\$H\$4:\$W\$461,\$G468,AA\$4:AA\$461) it is actually counting entries from future columns e.g. AB or AD - this varies through sometimes a column ahead sometimes several.

I'm wondering if this is a result of a drag and drop at some point. But given the amount of data I have it would be impossible to find. Any help greatly appreciated. Apologies for the long answer   Reply With Quote

4. Hello again - I've solved the problem by simplifying the reference area of \$H\$4:\$W\$461 - I've narrowed this area to one column (each person is assigned under one column only) and it is now working. Many thanks just knowing someone out there might be able to help was enough to get me on the path......  Reply With Quote

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•