# Excel formula - odd behaviour Absolute/Relative/Drag formula

I have this formula in D2.
=SUMIF(\$A\$13:\$A\$1000,A2,D\$13:D\$1000)

I want to drag this to C2. And I'm expecting that it will become this
=SUMIF(\$A\$13:\$A\$1000,A2,C\$13:C\$1000)

See highlighted in Bold

I'm expecting that the D will change to C in the 3rd argument.
Because the range D\$13:D\$1000 is absolute for rows but relative for columns.

BUT, when I drag it it does not change. I can't see why that is.
Can anybody spot it? Or tell me that my expectation is incorrect please?

Thanks
###### Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Excel & VBA ExpertCommented:
That something weird and shouldb't be the case.
Can you copy the formula from C2 and post it here?

BTW since in your formula, the criteria A2 is a relative reference, if you drag this formula from D2 to C2, it will throw an error in the Criteria reference because there is no cell available left to A2 unless you use \$A2 instead of A2.
Author Commented:
I gave up on this. It was only a 'quirk' and I may have been mistaken in thinking it's a quirk. Haven't tried to reproduce it.
THIS IS NOT A SOLUTION. PLS DON'T GIVE ME POINTS!

Experts Exchange Solution brought to you by