IF statement

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Can I put a cell content in an IF statement.
E.G. =IF(A2<=100,"a9","a10") and have it read what is in that particular
cell with each of those cells having it's own value??

Thanks
 
Yes, but you don't have the quotes around the cell references:

=IF(A2<=100,A9,A10)

Hope this helps.

Pete
 
Hi anyone,

The below function is not working, it returns to zero even though N2 is less
than 7000, and q2="s" or q2="sd".

=IF(AND(N2>=7000, Q2="s"),rent_allowance*6.2%, IF(AND(N2>=7000,
Q2="sd"),rent_allowance*6.2%, 0))

The formula here should be either N2>=7000, and Q2="s" or N2>=7000, Q2="sd",
it returns a value of the rent allowance(refers to a cell) * 6.2%, otherwise
it returns a value that is false(0).

Thanks!!!!

Sharon
 

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