Two related cells: give a value in one, calculate the other, and vice versa?

Posted by Virtlink on Super User See other posts from Super User or by Virtlink
Published on 2013-11-12T17:12:37Z Indexed on 2013/11/12 21:57 UTC
Read the original article Hit count: 238

How can I have a cell that uses the literal value written into it, or calculates its value when no literal value was given?

For example:

  • I have two columns: column B with a price including VAT, and column C with a price without VAT.
  • If I put a price with VAT in B2, then I want cell C2 to calculate the price without VAT based on B2.
  • But if I put a price without VAT in C2, then I want cell B2 to calculate the price with VAT from C2.

Excel table with some values

I want to give this spreadsheet to my mother, who barely understands Excel. She just has to enter the values that she knows, and the worksheet should derive the other values from that.

© Super User or respective owner

Related posts about microsoft-excel

Related posts about worksheet-function