SOLVED
Home

IF Function (Logical Test, True Formula, False Formula)

Albert_Tan
Occasional Visitor

Hi Experts,

 

I am trying to use =IF(A1<8000000),(A1*0.05),(8000000*0.05)), but it does not work.

[Number Format] Cells A1 = 15,000,000

[Number Format] Cells B1 = 5,000,000

 

Expected Result:

A1 = 15,000,000 is more than 8,000,000 , "FALSE" use function 8,000,000 * 0.05

B1 = 5,000,000 is less than 8,000,000, "TRUE" use function 5,000,000 * 0.05

 

Please help me.

1 Reply
Solution

Hi Albert,

 

There is a syntax error in the formula!

You've closed the function in this point because of the right parenthesis after 8000000.

=IF(A1<8000000)

 

You need the remove the right parenthesis after 8000000 as follows:

=IF(A1<8000000,(A1*0.05),(8000000*0.05))

 

Also, no need to the parenthesis around A1*0.05 and 8000000*0.05.

=IF(A1<8000000,A1*0.05,8000000*0.05)

 

Hope that helps

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
22 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
cntvertex in Discussions on
13 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies
PacketMon Components are not loading in WAC 1909
HotCakeX in Windows Admin Center on
2 Replies