Formula ? about Range

zone709

Well-known Member
Joined
Mar 1, 2016
Messages
2,125
Office Version
  1. 365
Platform
  1. Windows
Is there any way to put into this formula to extend the higher range out further.

=SUMIFS(Summary!$C$4036:$C4145,Summary!$B$4036:$B4145,"Hudson C")

Here is my issue if I need to insert more rows on sheet "Summary" and add more info. The C4145 and B4145 wont go higher. I am trying not to go all the time and raise that range. Lets say I had to change 4145 to 4185 then next week I would have to change it to lets say 4220. Its annoying and or I forget.

Is there anyway to look at range 4036 to last row before the name "Payroll w/benefits" on the Summary sheet in column C? So then I wont have to change it all the time.

So example if
"Payroll w/benefits" was on "Summary" sheet in row C4175 lets say. it would then look from 4036 to 4174. One row before

=SUMIFS(Summary!$C$4036:-1"Payroll w/benefits" ,Summary!$B$4036-1"Payroll w/benefits" "Hudson C")

Again this is not right just trying my best to show you what I am trying to look for thanks
[TABLE="width: 127"]
<tbody>[TR]
[TD][/TD]
[/TR]
</tbody>[/TABLE]




=SUMIFS(Summary!$C$4036:$C4145,Summary!$B$4036:$B4145,"Hudson C")
 
Last edited:

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
This bulky and would be better done with a named range but....

Code:
=SUMIFS(INDIRECT("Sumary!C4036:C"&MATCH("Payroll w/benefits",C:C,0)),INDIRECT("Summary!B4036:B"&MATCH("Payroll w/benefits",C:C,0)),"Hudson C")
 
Upvote 0
I know but this will work. I can probably use something like this for other things I have. Thanks for this appreciate it
 
Upvote 0

Forum statistics

Threads
1,223,162
Messages
6,170,431
Members
452,326
Latest member
johnshaji

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