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
hindersalivaAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

Subodh Tiwari (Neeraj)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.
0
hindersalivaAuthor 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!
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.