assigning descriptors in excel

Carla carla

New Member
Joined
Oct 29, 2022
Messages
47
Office Version
  1. 365
Platform
  1. Windows
mark 1mark 2descriptor ( compares mark 1 and mark 2)
55expected
66above
67above
58above
54below
43below
44expected
Basically, if mark 1 and 2 are 6 and above i want it the descriptor to be above. then if mark 1 and mark 2 are the same from 1to 5 i want it to return as expected. lastly if mark 2 is lower than mark 1 ( marks 1-5) i want it to return as below.
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Maybe this
Excel Formula:
=IF(AND(A2>5,B2>5),"Above",IF(AND(A2<5,B2<5),"Below","Expected"))
But you logic doesnt agree with the results in the table. The last line shows 2 4's, so should it not be "Below"
and line 4 shows 5 and 8, so shouldn't that be "expected"
 
Upvote 0
Maybe this
Excel Formula:
=IF(AND(A2>5,B2>5),"Above",IF(AND(A2<5,B2<5),"Below","Expected"))
But you logic doesnt agree with the results in the table. The last line shows 2 4's, so should it not be "Below"
and line 4 shows 5 and 8, so shouldn't that be "expected"

I want the logic to be
If mark is =>6 for both marking period descriptor should be Above
If mark 2 is higher than mark 1 it should be above

if mark 1 and mark 2 is the same within the range of 1-5 it should be expected

if mark 2 is lower than mark 1 within the range of 1-3 it should be lower
 
Upvote 0
mark 1mark 2descriptor ( compares mark 1 and mark 2)
55Expected
Maybe this
Excel Formula:
=IF(AND(A2>5,B2>5),"Above",IF(AND(A2<5,B2<5),"Below","Expected"))
But you logic doesnt agree with the results in the table. The last line shows 2 4's, so should it not be "Below"
and line 4 shows 5 and 8, so shouldn't that be "expected"
67Below
58Above
66Above
78Above
44Expected
43Below






This is what I am expecting, how can I combine in one formula?

mark 1mark 2descriptor ( compares mark 1 and mark 2)
55=IF(B2=A2,"Expected")
67=IF(B3>A3,"Below")
58=IF(B4>A4,"Above")
66=IF(B5&A5>=6,"Above")
78=IF(B6&A6>=6,"Above")
44=IF(B7=A7,"Expected")
43=IF(B8<A8,"Below")
 
Upvote 0
Maybe this
Excel Formula:
=IF(AND(A2>5,B2>5),"Above",IF(AND(A2<5,B2<5),"Below","Expected"))
But you logic doesnt agree with the results in the table. The last line shows 2 4's, so should it not be "Below"
and line 4 shows 5 and 8, so shouldn't that be "expected"
 

Attachments

  • Screenshot 2023-07-28 184551.jpg
    Screenshot 2023-07-28 184551.jpg
    55.8 KB · Views: 4
Upvote 0

Forum statistics

Threads
1,216,028
Messages
6,128,399
Members
449,447
Latest member
M V Arun

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