Could you please write me a function of the following scenario?

dener123

New Member
Joined
Jul 10, 2024
Messages
18
Office Version
  1. 2021
CellsABCD
1Team NamesResultsSectorValues based on Sector
2Product Team2230
3Customization Team2240.2
4Product Team2263


I need a function formula for Cell B2,B3,B4.
Scenario is:
If the certain Team in cell A's Sector(cell C)'s Values based on Sector (cell D) is <2, show Result (cell B) as Yes.
If it is =2, show Result as Maybe.
If it is >2, show Result as No.

Thank you!
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Options:
Book1
ABCD
1LOOKUPIFIFS
2YesYesYes1
3MaybeMaybeMaybe2
4NoNoNo3
Sheet2
Cell Formulas
RangeFormula
A2:A4A2=LOOKUP(D2,{0,2,2.1},{"Yes","Maybe","No"})
B2:B4B2=IF(D2<=2,IF(D2<2,"Yes","Maybe"),"No")
C2:C4C2=IFS(D2<2,"Yes",D2=2,"Maybe",D2>2,"No")
 
Upvote 0
Another option
Fluff.xlsm
ABCD
1Team NamesResultsSectorValues based on Sector
2Product TeamYes2230
3Customization TeamMaybe2242
4Product TeamNo2263
Sheet6
Cell Formulas
RangeFormula
B2:B4B2=CHOOSE(SIGN(D2-2)+2,"Yes","Maybe","No")
 
Upvote 0
Solution

Forum statistics

Threads
1,221,545
Messages
6,160,446
Members
451,646
Latest member
mmix803

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