greenfortyguy
New Member
- Joined
- Sep 7, 2017
- Messages
- 13
Hello,
I am trying to use the IF function to perform a calculation. I will try to outline the scenario below.
A sheet called 'Outputs' has monthly data, running from Sep-17 in cell T36 to Aug-27 in cell EI36.
Another sheet called 'Analysis', in which the formula is going, has the same monthly range but needs to return a value every 3 months (a sum of the 3 months in the 'Outputs' sheet). The first of these 3-month sums will be in cell V64 (Nov-17) of the 'Analysis' sheet. The second will be in Y64, the third in AB64 etc.
For cell V64 in 'Analysis', I am looking for a formula that will ask:
If the SUM(Outputs!T36:V36) is less than 40,000,000, multiply 40,000,000 by a constant (e.g. A1). If the SUM(Outputs!T36:V36) is greater than 40,000,000, multiply SUM(Outputs!T36:V36) minus 40,000,000 by another constant (e.g A2).
For cells Y64, AB64 and onwards, it is a little more complicated. For cell Y64, I am then looking for a formula that will ask:
If the SUM(Outputs!T36:Y36) is less than 40,000,000, multiply 40,000,000 by A1. If the SUM(Outputs!T36:Y36) is greater than 40,000,000, multiply the SUM(Outputs!W36:Y36) minus 40,000,000 by A2.
For clarity, cell AB64 would be:
If the SUM(Outputs!T36:AB36) is less than 40,000,000, multiply 40,000,000 by A1. If the SUM(Outputs!T36:AB36) is greater than 40,000,000, multiply the SUM(Outputs!Z36:AB36) minus 40,000,000 by A2.
Apologies for the length of this post. I hope I have been clear enough for somebody to help. If there was a way I could enter this formula in the first cell and drag to populate the other cells (perhaps using OFFSET?) that would be great.
Many thanks,
Guy
I am trying to use the IF function to perform a calculation. I will try to outline the scenario below.
A sheet called 'Outputs' has monthly data, running from Sep-17 in cell T36 to Aug-27 in cell EI36.
Another sheet called 'Analysis', in which the formula is going, has the same monthly range but needs to return a value every 3 months (a sum of the 3 months in the 'Outputs' sheet). The first of these 3-month sums will be in cell V64 (Nov-17) of the 'Analysis' sheet. The second will be in Y64, the third in AB64 etc.
For cell V64 in 'Analysis', I am looking for a formula that will ask:
If the SUM(Outputs!T36:V36) is less than 40,000,000, multiply 40,000,000 by a constant (e.g. A1). If the SUM(Outputs!T36:V36) is greater than 40,000,000, multiply SUM(Outputs!T36:V36) minus 40,000,000 by another constant (e.g A2).
For cells Y64, AB64 and onwards, it is a little more complicated. For cell Y64, I am then looking for a formula that will ask:
If the SUM(Outputs!T36:Y36) is less than 40,000,000, multiply 40,000,000 by A1. If the SUM(Outputs!T36:Y36) is greater than 40,000,000, multiply the SUM(Outputs!W36:Y36) minus 40,000,000 by A2.
For clarity, cell AB64 would be:
If the SUM(Outputs!T36:AB36) is less than 40,000,000, multiply 40,000,000 by A1. If the SUM(Outputs!T36:AB36) is greater than 40,000,000, multiply the SUM(Outputs!Z36:AB36) minus 40,000,000 by A2.
Apologies for the length of this post. I hope I have been clear enough for somebody to help. If there was a way I could enter this formula in the first cell and drag to populate the other cells (perhaps using OFFSET?) that would be great.
Many thanks,
Guy