Simple Formula Question

jackson2222

New Member
Joined
Jul 19, 2006
Messages
41
This is probually a simple question.

I have this formula
=SUMIF(A5:A65536,TODAY(),H5:H65536)


row 5 is the top of my range. When I insert a new row at row 5, it changes the above formula to the 6 row being the start of the range.

=SUMIF(A6:A65536,TODAY(),H6:H65536)

Can I lock the formula to always keep the 5th row as the top row.
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).

Oaktree

MrExcel MVP
Joined
Jun 20, 2002
Messages
8,066
Office Version
  1. 365
=SUMIF(INDIRECT("A5:A65536"),TODAY(),INDIRECT("H5:H65536"))
 

Forum statistics

Threads
1,175,981
Messages
5,900,695
Members
434,845
Latest member
rowell123

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
Top