Aug 17 2022 07:56 PM
Hello team!
I'm trying to create a formula for the following situation:
In cell B4 (capture 1) I want to display a mark from 1 to 5, on the following conditions:
5 - over 80%
4 - 70-80%
3 - 60-70%
2 - 50-60%
1 - less 50%
The percentage would be monthly updated in a different sheet, in Column G (see capture 2 below)
Capture 1
Capture 2
I tried with this formula but is not showing what I need. I'm sure something is wrong.
=IFS(AND('Dashboard Needs'!B2="July",
OR('Dashboard Needs'!G2>=80%,'Dashboard Needs'!G2<100%)),"5",
OR('Dashboard Needs'!G2>=70%,'Dashboard Needs'!G2<80%),"4",
OR('Dashboard Needs'!G2>=60%,'Dashboard Needs'!G2<70%),"3",
OR('Dashboard Needs'!G2>=50%,'Dashboard Needs'!G2<60%),"2",
OR('Dashboard Needs'!G2>=0%,'Dashboard Needs'!G2<50%),"1",
TRUE,"no data")
Could someone please give me a hand?
Thank you in advance!
Aug 17 2022 08:12 PM
@gretacristina You can try XLOOKUP() function. See the attached file.
=IF('Dashboard Needs'!B2="July",XLOOKUP('Dashboard Needs'!G2,{0.8,0.7,0.6,0.5,0.1},{5,4,3,2,1},"no data",-1),FALSE)
Aug 17 2022 08:57 PM
Aug 17 2022 09:39 PM
Aug 18 2022 12:14 AM
SolutionAug 18 2022 03:11 PM