**Question description:**

*This user has given permission to use the problem statement for this
blog.*

I need a check box to show/hide an answer of an if function

Solved by Z. U. in 23 mins

This is the chat thread from the real Excelchat help session. It contains no private user
information.

Excelchat Expert
12/03/2018 - 03:44

Hi

User
12/03/2018 - 03:45

hello

Excelchat Expert
12/03/2018 - 03:45

how may i help you

Excelchat Expert
12/03/2018 - 03:46

can you explain your requirement here?

User
12/03/2018 - 03:46

i have an if function that displays 2 different answers for Yes/No and i have a checkbox. I want the check box to show and hide that answer

Excelchat Expert
12/03/2018 - 03:48

so this is yes and no using if function

Excelchat Expert
12/03/2018 - 03:48

now show me what exactly you require?

Excelchat Expert
12/03/2018 - 03:50

so you have already done this?

Excelchat Expert
12/03/2018 - 03:50

using if on check box and getting the required values

Excelchat Expert
12/03/2018 - 03:50

what else is required?

User
12/03/2018 - 03:50

i can't get the TRUE bit to work

Excelchat Expert
12/03/2018 - 03:51

if formula is not correct

Excelchat Expert
12/03/2018 - 03:52

when it is true you get F12*G12

Excelchat Expert
12/03/2018 - 03:52

when false it gives I12

Excelchat Expert
12/03/2018 - 03:52

but then again you have used if

Excelchat Expert
12/03/2018 - 03:52

which is not correct

User
12/03/2018 - 03:53

no. TRUE shows the answer. FALSE hides the answer. The if function decides the answer

Excelchat Expert
12/03/2018 - 03:53

let me know what you require, i will build the formula

User
12/03/2018 - 03:53

my if function is correct

User
12/03/2018 - 03:54

but i want c15 to display the answer when true and hide the answer when false

Excelchat Expert
12/03/2018 - 03:54

ok

User
12/03/2018 - 03:54

or false =0

User
12/03/2018 - 03:55

true=the if function answer. false=0

Excelchat Expert
12/03/2018 - 04:00

see D17

Excelchat Expert
12/03/2018 - 04:00

instead of TRUE and FLASE i have used yes and No

Excelchat Expert
12/03/2018 - 04:00

C17 displays values

Excelchat Expert
12/03/2018 - 04:00

nd D17 shows values only when A19 is Yes

Excelchat Expert
12/03/2018 - 04:00

does this help

Excelchat Expert
12/03/2018 - 04:00

?

User
12/03/2018 - 04:01

i need c17 to show/hide

User
12/03/2018 - 04:02

if a17 is true then c17 displays 5000. if a17 is false the c17 =0

Excelchat Expert
12/03/2018 - 04:02

i have built that

Excelchat Expert
12/03/2018 - 04:02

see now C17

Excelchat Expert
12/03/2018 - 04:02

this should help now

User
12/03/2018 - 04:03

let me try that in my excel sheet. hang on please

Excelchat Expert
12/03/2018 - 04:04

i have applied formula on true false as well

Excelchat Expert
12/03/2018 - 04:04

see D15

Excelchat Expert
12/03/2018 - 04:04

please do give good rating

Excelchat Expert
12/03/2018 - 04:04

it really helps

User
12/03/2018 - 04:07

great. that has worked. thank you

Excelchat Expert
12/03/2018 - 04:08

welcome

Excelchat Expert
12/03/2018 - 04:08

please do give good rating

Excelchat Expert
12/03/2018 - 04:08

it really helps

User
12/03/2018 - 04:08

will do