ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Subtract or leave blank in cell (https://www.excelbanter.com/excel-worksheet-functions/129951-subtract-leave-blank-cell.html)

pano

Subtract or leave blank in cell
 
Hi all, how would I write this in cell G14

=E14-E13 if F14 cell has a number otherwise be blank

E F G
13 100 50 50
14 50 0


Thanks Stephen


T. Valko

Subtract or leave blank in cell
 
Try this:

=IF(ISNUMBER(F14),E14-E13,"")

Biff

"pano" wrote in message
oups.com...
Hi all, how would I write this in cell G14

=E14-E13 if F14 cell has a number otherwise be blank

E F G
13 100 50 50
14 50 0


Thanks Stephen





All times are GMT +1. The time now is 01:08 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com