Looking for alternatives to having five columns do a calc per month's data

bongos55

New Member
Joined
Aug 5, 2022
Messages
2
Office Version
  1. 365
Platform
  1. Windows
I couldn't think of a better title, sorry.
I have to do an ARC/RRC calculation based on the number of servers in my environment on a monthly basis. Currently for one month there are five columns involved to get to the net price.
Two of the five columns are simple one cell divided by the other.
The other three cells are very complex formulas.
As the pricing model is confidential I have shortened the formulas by more than half. Below is meant as an illustration of complexity, the point is not how they evaluate.
Cell N10:
=IF(AND(H10>=10,M10>=50%,M10<90%),"RRC",IF(AND(H10>=10,M10>110%,M10<=150%),"ARC"))
Cell O10:
=IF(OR(N10="Baseline Scenario",N10="Less than 10"),"Range-A",IF(AND(M10>110%,M10<=125%),"Range-B ARC"))
Cell P10:
=IF(O10="Range-A",(L10*I10),IF(O10="Range-B ARC",(((H10*110%)*I10)+((L10-(H10*110%))*J10))))

I need to do the above calculations for the next X years so if I do things the only way I know how, I'd end up with 60 columns per year. I thought about lambda functions but I figured I'd just end up with a massive if statement anyway. Or is there another solution I haven't been exposed to? Happy to learn

thank you
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Nevermind about Lambda, I'm running M365 apps for Enterprise and I don't have it.
 
Upvote 0

Forum statistics

Threads
1,214,897
Messages
6,122,148
Members
449,066
Latest member
Andyg666

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