ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Set cell value if adjecent cell value is greater than 0 (https://www.excelbanter.com/excel-worksheet-functions/232499-set-cell-value-if-adjecent-cell-value-greater-than-0-a.html)

SaigonJeff

Set cell value if adjecent cell value is greater than 0
 
Hi everyone.

I am trying to set up a self calculating invoice in Excel.
Each row in the invoice shows the Service type, a description, the price per
unit, the quantity and the total price.

I am trying to have the qty field automatically set itself to one if it
detects a price value in the price per item field. can this be done?

Thanks

joel

Set cell value if adjecent cell value is greater than 0
 
Use an IF fomula. See example under help for the IF statement.

"SaigonJeff" wrote:

Hi everyone.

I am trying to set up a self calculating invoice in Excel.
Each row in the invoice shows the Service type, a description, the price per
unit, the quantity and the total price.

I am trying to have the qty field automatically set itself to one if it
detects a price value in the price per item field. can this be done?

Thanks


SaigonJeff

Set cell value if adjecent cell value is greater than 0
 
Thanks Joel!

You were right! I was looking in th wrong place for the answer all this time

In the taget cell I place the following;

=IF(D60,1,"")

Works perfectly!

Many thanks!

"Joel" wrote:

Use an IF fomula. See example under help for the IF statement.

"SaigonJeff" wrote:

Hi everyone.

I am trying to set up a self calculating invoice in Excel.
Each row in the invoice shows the Service type, a description, the price per
unit, the quantity and the total price.

I am trying to have the qty field automatically set itself to one if it
detects a price value in the price per item field. can this be done?

Thanks



All times are GMT +1. The time now is 04:09 PM.

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