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

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
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,223,950
Messages
6,175,582
Members
452,653
Latest member
craigje92

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