My OS is win 10 pro and I have Excel 2016 with a simple spreadsheet.
Col C is the Credit col, D is the Debit Col and E is the balance col.
In Col c3 I have 3,970; D3 = 0; and in E3 the formula is =sum(c3-D3); thus the result in E3 is 3,970.
What is the syntax for an IIF statement,
Row 3 is the first line of data in the spread sheet.
where if in C3 there is data, then in E3 the formula would be : =sum(c3-d3)
and in subsequent rows, like
if in C4 there is NO data, and in D4 = 300, then in E4, the formula would be E3-d4.
Can I do a single IIF formula for both the scenarios. thank u.
=(C4+E3)-D4
Saurabh...