Help needed with If statements

ginstermanuk

New Member
Joined
Sep 5, 2012
Messages
17
Hi all,
I'd rather do this without writing a macro if possible, i will have a list of values (one per day), these values need to be categorised as the following, Low, Low to high, high and high to low.
Low is below 50
High is above 100
Low to high is higher than the previous day but higher than 50 and less than 100
High to Low is lower than the previous day but higher than 50 and less than 100

so if i have three columns, a date column, a values column, and the final column which uses if statements(?) to show "Low","Low to High", "High", "High to Low"

What do i need to do for the if statement to work, if indeed an IF statement is the right way to do it

Thanks in advance
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
I wonder if your definitions are meant to effectively exclude the values 50 and 100?
If not then I was just coming up with similar to Eric.

MRXLMAY21.xlsm
ABC
1DateValueRating
201/07/2021100High
302/07/202142Low
403/07/202156Low To High
504/07/202167Low To High
605/07/202154High To Low
706/07/202149Low
807/07/202152Low To High
908/07/202188Low To High
1009/07/2021101High
1110/07/2021100High
1211/07/202199High To Low
Uplift
Cell Formulas
RangeFormula
C2:C12C2=IF(B2="","",IF(B2<=50,"Low",IF(B2>=100,"High",IF(B2>B1,"Low To High","High To Low"))))

Hope that helps.
 
Upvote 0
Solution

Forum statistics

Threads
1,224,591
Messages
6,179,766
Members
452,940
Latest member
rootytrip

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