IF/Then formula

%3CLINGO-SUB%20id%3D%22lingo-sub-3218364%22%20slang%3D%22en-US%22%3EIF%2FThen%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3218364%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20trying%20to%20use%20an%20If%2FThen%20formula%20to%20calculate%20a%20value.%26nbsp%3B%20I'm%20using%20this%3A%20%3DIF(A8%26lt%3B%205000.01%2CC8%3DA8*0.05).%3C%2FP%3E%3CP%3EThe%20cell%20that%20contains%20the%20formula%20is%20showing%20%22FALSE%22.%20I%20want%20cell%20C8%20to%20contain%20the%20calculated%20number.%26nbsp%3B%20What%20am%20I%20doing%20wrong%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3218364%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3218427%22%20slang%3D%22en-US%22%3ERe%3A%20IF%2FThen%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3218427%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1319082%22%20target%3D%22_blank%22%3E%40WMegl%3C%2FA%3E%26nbsp%3BIn%20C8%20enter%3A%3C%2FP%3E%3CP%3E%3CSPAN%3E%3DIF(A8%26lt%3B%205000.01%2CA8*0.05%2C%22something%20else%22)%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3E....%20where%20you%20can%20replace%20%22something%20else%22%26nbsp%3Bwith%20whatever%20you%20want%20to%20display%20if%20A8%20is%20NOT%20less%20then%205000.01.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3218425%22%20slang%3D%22en-US%22%3ERe%3A%20IF%2FThen%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3218425%22%20slang%3D%22en-US%22%3E%3DIF(A8%26lt%3B%205000.01%3BA8*0.05%3B%22%22)%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3218468%22%20slang%3D%22en-US%22%3ERe%3A%20IF%2FThen%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3218468%22%20slang%3D%22en-US%22%3ENeither%20of%20the%20formulas%20above%20worked.%20I'm%20still%20getting%20the%20word%20%22FALSE%3A%20in%20the%20cell%20rather%20than%20a%20value.%3C%2FLINGO-BODY%3E
New Contributor

I am trying to use an If/Then formula to calculate a value.  I'm using this: =IF(A8< 5000.01,C8=A8*0.05).

The cell that contains the formula is showing "FALSE". I want cell C8 to contain the calculated number.  What am I doing wrong?

 

Thanks.

7 Replies
=IF(A8< 5000.01;A8*0.05;"")

@WMegl In C8 enter:

=IF(A8< 5000.01,A8*0.05,"something else")

 

.... where you can replace "something else" with whatever you want to display if A8 is NOT less then 5000.01.

Neither of the formulas above worked. I'm still getting the word "FALSE: in the cell rather than a value.
I got it to work. I needed the add the THEN formula. Thanks.

@WMegl Why not upload a screenshot of your worksheet showing the formula "at work".

Riny_van_Eekelen: Good idea. Thanks for your help.

I'm using these formulas: =IF(A8< 5000.01,A8*0.05,5000*0.05)
=IF((A8-5000.01)<20000,(A8-5000)*0.04,20000*0.04
=IF((A8-25000)<75000,(A8-25000)*0.03,75000*0.03)
=IF((A8-100000)<300000,(A8-100000)*0.0275,300000*0.0275)
=IF((A8-400000)<600000,(A8-400000)*0.025,600000*0.025)
=IF((A8-1000000)>0,(A8-1000000)*0.02,0)

Amount up to $5K Next $20K Next $75K Next $300K Next $600K Over $1M Total
5% 4% 3% 2 3/4% 2 1/2% 2%
$1,400,000 $250 $800 $2,250 $8,250 $15,000 $8,000 $34,550

$260,000 $250 $800 $2,250 $4,400 $(3,500) $- $4,200

The problem arises when the "Amount" is less than $1M. As shown in the second row, negative amounts begin to appear when total thresholds are met which makes the Total incorrect. I only wish to add the positive number, or show a zero amount when the thresholds are met.

@WMegl 

See the attached sample workbook.