How do I return this value

Carla carla

New Member
Joined
Oct 29, 2022
Messages
47
Office Version
  1. 365
Platform
  1. Windows
Hello how should I put this formula.
I want to compare two test.
So the conditions are:

test 1 <=5& test2 <=5 ====Expected
test1<test 2 ===below
test 1>=6&test 2>=6=== above

Thank you

TEST 1TEST 2RETURN VALUE
54Below
55Expected
66Above
77Above
88Above
99Above
44Expected
34Above
33Expected
43Below
24Above
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
@awoohaw - I think the requirements will make sense if you follow the logic in the formula I posted.

@Carla carla - Did you see the formula I posted yet or did you accidentally skip over i
@awoohaw - I think the requirements will make sense if you follow the logic in the formula I posted.

@Carla carla - Did you see the formula I posted yet or did you accidentally skip over it?
@Rick Rothstein , I just saw now, came back from teaching and it was super. Can I ask for one more solution?
 
Upvote 0
Yes, you did an extra step of analysis! I read the requirement verbatim and saw that they didn't fit and asked. You figured something out. And although I would not say the requirement is ambiguous it is confusing.
Sorry to confuse you, but big thank you for rescuing me
 
Upvote 0
Give this formula a try...
Excel Formula:
=LET(a,A2:A12,b,B2:B12,IF(a=b,IF(a>5,"Above","Expected"),IF(b>a,"Above","Below")))


Hello Rick,

Thank you so much for your help, but could you also coach me on this calculation.
It's pretty much the same idea with the previous one but with the fine grade.
Thank you.
Carla


Fine Grade 21-22Fine Grade 22-23RETURN VALUECondition for return value
6+7-Aboveif D is one step higher than C - Expected
6-7-Aboveif D is one step lower than C- Below
76Belowif D is two steps higher than C -Above
77Aboveif D is = 7+ and C=7+ - Above
7-6-Below
7-7Below
6-7-Above
6+6-Below
77-Below
77Above
7-7Expected
67-Above
6+7-Above
6-7-Above
77-Above
7-6Below

Grading Structure/STEPS
8+
8
8-
7+
7
7-
6+
6
6-
5+
5
5-
4+
4
4-
3+
3
3-
2+
2
2-
1+
1
1-
 
Upvote 0

Forum statistics

Threads
1,223,964
Messages
6,175,657
Members
452,664
Latest member
alpserbetli

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