2 questions about IF

  • Thread starter Thread starter yairl
  • Start date Start date
Y

yairl

Hey guys,
I've been working in the last few hours on an excel form for work, and
I have 2 questions about operations I don't know how to perform:

1. This is the command i have in cell B10:
IF(b2=$b$6,b10+1)
I just want to add 1 to B10 if the condition fulfills. It doesn't work
- do you know why?

2. I need to combine 2 different IF commands into one cell (I can't and
don't want to combine them into one nested IF). is it possible?

Thanks ahead.
 
Hi

Your formula makes reference to its result, excel can't solve it,

you can use various if at the same formula

IF(conditional,action if is true, action if is false), so any action could
be another if

regards
Marcelo

"yairl" escreveu:
 
yairl said:
Hey guys,
I've been working in the last few hours on an excel form for work, and
I have 2 questions about operations I don't know how to perform:

1. This is the command i have in cell B10:
IF(b2=$b$6,b10+1)
I just want to add 1 to B10 if the condition fulfills. It doesn't work
- do you know why?

You are trying to store a value in B10, and put a formula in it as well. You
can one or the other, not both. Use an extra column.
2. I need to combine 2 different IF commands into one cell (I can't and
don't want to combine them into one nested IF). is it possible?

=IF(OR(A1=17,B1="No"),"yes","no")

but why not nest them?
 

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

Back
Top