Help on formula without VBA

katastrophie

New Member
Joined
Jun 3, 2015
Messages
2
Hello! Need some help please...

I want to have a cell A1 with a variable integer, and use it to calculate the product (1000-1)*(1000-2)*...*(1000-A1)

So if A1=4, then my target cell will have 999*998*...*996
or if A1=8, then my target cell will have 999*998*...*992

Is this possible without using VBA?

Many thanks in advance!
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.

FormR

MrExcel MVP
Joined
Aug 18, 2011
Messages
6,725
Office Version
  1. 365
Platform
  1. Windows
Hi - try:

=PRODUCT(INDEX(1000-ROW(INDIRECT("1:"&A1)),0))
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,167,652
Messages
5,854,960
Members
431,689
Latest member
jacker01

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