Excel with a column with two different formulas depending on a single variable

Hakan K

New Member
Joined
Apr 15, 2023
Messages
3
Office Version
  1. 2016
Platform
  1. MacOS
I have this spreadsheet that I have been working on for a while now. In brief, there is a variable that is entered over time and based on this variable, I would like excel to calculate & define five different response categories : SD, MR, PR, MR, PD. I am expecting the variable to change over time, somewhat like a parabolic curve. It will likely first decrease and a few months increase.

During the initial reduction phase, I need to use a formula to determine these responses based on the % drop in the value from “the very first value” (cutoffs being 25%, 50%, 90% and 100%). For instance, if variable drops from 6.3 to 6.1, this will be a 3.2% drop and will qualify as SD. I used a formula in column E to do this (=(100-((B3*100)/$B$2)). The challenge is the following: Remember, I had mentioned that I am expecting the variable to hit bottom at some point and then trend up. When it hits the column value hits a lowest timepoint, I need the formula to change and instead calculate the % raise using this new lowest data value as a new reference point. But for all of these, I would like to have a single column (column H). For now, I have the following formula for H2:

=IF(AND(B3-$D$24>0.5,G3<-25), "PD", IF(G3<25,"SD",IF(G3<50,"MR",IF(G3<90,"PR",IF(G3<100,"VGPR",IF(G3=100,"CR"))))))



It would also be great if it could have a separate column which automatically saves the responses as “values” so that when additional variables are added over time, the responses from months / years ago will not be recalculated using the formula.


Here is a screenshot (apologize, my XL2bb is not working for some reason)


Thank you ahead of time

1683515220954.png
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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