Excel formula question

B

Bill638

I am creating an audit tool that I want to be able to automatically populate
a report with recommendations. I have a Yes/No/NA cell in my checklist
worksheet that when the NO option is selected it will automatically populate
the corresponding recommendation in the report worksheet. The code
"=IF(Checklist!C20="NO",Checklist!D20)" is used in the report worksheet to
make that work.

My problem is that when the YES or NA options are selected on the checklist
worksheet, the applicable row in the report worksheet remains, but with the
word "FALSE" in the columns that would normally contain the corresponding
recommendation and the reference data.

How do I configure the report worksheet to totally ignore the corresponding
question on the checklist worksheet when the YES or NA options are selected?

If I'm not making myself clear, I'll be happy to e-mail the file to you so
that you can see exactly what I'm talking about.

Many thanks to anyone who can help me.
 
D

Dave Peterson

Maybe...

=IF(Checklist!C20="NO",Checklist!D20,"")

I added the ELSE portion to your =IF() function.
 
B

Bill638

Dave,

My error :)....I forgot the comma. So now the "FALSE" no longer is
displayed, but the row still remains with four empty columns. So your
recommendation got rid of the "FALSE" notation...but I'd really like it so
that the report doesn't even contain the row. Is there a way to do that?

Thanks again.
--
Bill


Bill638 said:
Hi Dave,
When I added the "" to the formula I received an error message.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top