Input value of cell into formula

EssKayKay

Active Member
Joined
Jan 5, 2003
Messages
473
Office Version
  1. 2007
Platform
  1. Windows
I’m looking for a way to include the value of cell in the following formula.

=SUMPRODUCT(--(YEAR($C$33:$C$200)=R33))

The range($C$33:$C$200) varies. The range always starts in cell C33 but the end row varies (always column C). The end row value resides in Cell T13. Therefore, in the above formula the $200 is where I want to insert the value in T13 rather than hard code in a location. That is, if I want the range to be C13:C477 where the value in cell T13=477.

Thanks for viewing,
Steve
 
How about
Excel Formula:
=SUMPRODUCT(--(YEAR($C$33:INDEX($C:$C,T13))=R33))
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

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