ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   IF information is in cell A8 then Formula is active? (https://www.excelbanter.com/excel-worksheet-functions/178911-if-information-cell-a8-then-formula-active.html)

LiveUser

IF information is in cell A8 then Formula is active?
 
Wondering how to use an If function.

I have information in A8 and D8 has a formula.
It does not matter if the information is in A8, B8, or C8 just as long as
the information is there and if so, then D8's formula will work, otherwise
the formula returns nothing.

This formula is in D8.

=B8*CostperHour22.00-C8+D7

Thank you.

Pete_UK

IF information is in cell A8 then Formula is active?
 
Try this in D8:

=IF(AND(B8<"",C8<"",D7<""),B8*CostperHour22.00-C8+D7,"")

Will return a blank cell if any of B8, C8 or D7 are blank.

I presume CostperHour22.00 is a named range you have defined.

Hope this helps.

Pete

On Mar 5, 8:58*pm, LiveUser
wrote:
Wondering how to use an If function.

I have information in A8 and D8 has a formula.
It does not matter if the information is in A8, B8, or C8 just as long as
the information is there and if so, then D8's formula will work, otherwise
the formula returns nothing.

This formula is in D8.

=B8*CostperHour22.00-C8+D7

Thank you.




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

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