Apr 04 2024 09:54 AM
Currently stuck on my course as I am unable to get past this error.
'=IFS(AD2>300,”Large”,AD2>100,”Medium”,AD2>0,”Small”)'
Is the Function the paper is telling me to use, I can copied this directly from the page and it still doesn't work in my sheet. Brand new to this, I'm stuck for ideas. Any help appreciated.
Apr 04 2024 09:56 AM
@OldRustyDog The IFS function is available in Excel in Microsoft 365, Office 2021 and Office 2019, and in Excel Online as well.
Which version do you have?
Apr 04 2024 09:59 AM
Apr 04 2024 10:07 AM
That means you cannot use IFS.
You might use Excel Online (in the browser) for this exercise.
Or if you are allowed to use an alternative, you could use nested IF functions:
=IF(AD2>300,"Large", IF(AD2>100, "Medium", IF(AD2>0, "Small", "")))
Please note that you must use straight quotes around text values, not curly/smart quotes.
Apr 04 2024 03:41 PM - edited Apr 04 2024 03:41 PM
Another approach that should work on legacy code is
= LOOKUP(AD2, {1;101;301}, {"Small";"Medium";"Large"})
The boundaries have been tweaked because LOOKUP implements ">=100" rather than ">100" as required.