conditional formula

J

Jupiter

Hi there!
I would like Excel to perform to different actions if the condition is
true, is it possible?

In fact if the condition is true i d like both, the word "COMMANDE" to
be written in a cell and a number to be written in an another cell.

Can you help me to write the formula, here what i have:
=IF(D7<(40*13+270);"COMMANDE";"")
I d like also the number 570 to be written in Q7 (or better in D7+13
cells on the right= Q7, do u have also the answer to that?)

Thanks,

JuPiter
 
A

Ardus Petus

A formula cannot act upon the contents of another cell.
You will have to enter into Q7:
=IF(D7<(40*13+270);570;"")

If you really want the condition to act upon 2 cells, you will need some VBA
macro code.

HTH
 
J

Jupiter

Yeah i did that! I think i ll keep it this way it ll be easier, thxs.
Do u know by any chance if Q7 can be written as C7+13 (cells on the
right)...
Thanks again!
JuPiter
 

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