Home

Need help writing an IF Formula

%3CLINGO-SUB%20id%3D%22lingo-sub-467747%22%20slang%3D%22en-US%22%3ENeed%20help%20writing%20an%20IF%20Formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-467747%22%20slang%3D%22en-US%22%3E%3CP%3EHow%20would%20I%20write%20an%20IF%20formula%20for%20the%20following%20example.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20Cell%20f3%20is%20greater%20than%2016%2C%20then%20in%20cell%20G3%2C%20return%20the%20number%2016%2C%20however%20if%20cell%20f3%20is%20less%20than%20or%20equal%20to%2016%2C%20return%20the%20actual%20number%20that%20is%20in%20cell%20f3%20to%20cell%20G3.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-467747%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-467864%22%20slang%3D%22en-US%22%3ERe%3A%20Need%20help%20writing%20an%20IF%20Formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-467864%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F322901%22%20target%3D%22_blank%22%3E%40tdorschn%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETry%20this%3A%26nbsp%3B%20%3DIF(F3%26gt%3B%3D16%2C16%2CF3)%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-467875%22%20slang%3D%22en-US%22%3ERe%3A%20Need%20help%20writing%20an%20IF%20Formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-467875%22%20slang%3D%22en-US%22%3EI%20forgot%20to%20say%20the%20formula%20goes%20in%20cell%20G3%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-467882%22%20slang%3D%22en-US%22%3ERe%3A%20Need%20help%20writing%20an%20IF%20Formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-467882%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F322901%22%20target%3D%22_blank%22%3E%40tdorschn%3C%2FA%3E%26nbsp%3B%2C%20or%3C%2FP%3E%0A%3CPRE%3E%3DMIN(16%2CF3)%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-467889%22%20slang%3D%22en-US%22%3ERe%3A%20Need%20help%20writing%20an%20IF%20Formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-467889%22%20slang%3D%22en-US%22%3E%3CP%3EWorked%20Perfect.%20Thanks%20so%20much!!!%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F322892%22%20target%3D%22_blank%22%3E%40LarBar%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
tdorschn
New Contributor

How would I write an IF formula for the following example. 

 

If Cell f3 is greater than 16, then in cell G3, return the number 16, however if cell f3 is less than or equal to 16, return the actual number that is in cell f3 to cell G3. 

4 Replies
Highlighted

@tdorschn 

 

Try this:  =IF(F3>=16,16,F3)

I forgot to say the formula goes in cell G3

@tdorschn , or

=MIN(16,F3)

 

Worked Perfect. Thanks so much!!!

@LarBar 

Related Conversations
Need help with concatenate formula
Dave Cunningham in Excel on
2 Replies
Help with an IF AND formula
aanaya6 in Excel on
3 Replies
IF FUNCTION ISN'T WORKING NO MATTER HOW SIMPLE THE COMMAND IS
thomasea in Excel on
6 Replies
formula for data calculation
aayushman_mishra in Excel on
10 Replies