ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Conditional Formula-Sum or 0 (https://www.excelbanter.com/excel-discussion-misc-queries/208120-conditional-formula-sum-0-a.html)

Elara

Conditional Formula-Sum or 0
 
I have a worksheet where B1 has a beginning balance and B2 has a current
balance. The formula in B2 is =B1-SUM(B4:B20)

I want the current balance to be displayed only if the value in A2 is 0

If the value in A2 is <=0, then I want B2 to display "None" instead of a
current balance.

Is this possible using a conditional formula? Or is this even possible?

Thanks!!!

sb1920alk

Conditional Formula-Sum or 0
 
in B2 put: =IF(A20,B1-SUM(B4:B20),"None")

"Elara" wrote:

I have a worksheet where B1 has a beginning balance and B2 has a current
balance. The formula in B2 is =B1-SUM(B4:B20)

I want the current balance to be displayed only if the value in A2 is 0

If the value in A2 is <=0, then I want B2 to display "None" instead of a
current balance.

Is this possible using a conditional formula? Or is this even possible?

Thanks!!!


Ana24

Conditional Formula-Sum or 0
 
Perfect! Just what I needed! You are a life saver... Thank You!

"sb1920alk" wrote:

in B2 put: =IF(A20,B1-SUM(B4:B20),"None")

"Elara" wrote:

I have a worksheet where B1 has a beginning balance and B2 has a current
balance. The formula in B2 is =B1-SUM(B4:B20)

I want the current balance to be displayed only if the value in A2 is 0

If the value in A2 is <=0, then I want B2 to display "None" instead of a
current balance.

Is this possible using a conditional formula? Or is this even possible?

Thanks!!!


sb1920alk

Conditional Formula-Sum or 0
 
No problem...glad I could help.

"Ana24" wrote:

Perfect! Just what I needed! You are a life saver... Thank You!

"sb1920alk" wrote:

in B2 put: =IF(A20,B1-SUM(B4:B20),"None")

"Elara" wrote:

I have a worksheet where B1 has a beginning balance and B2 has a current
balance. The formula in B2 is =B1-SUM(B4:B20)

I want the current balance to be displayed only if the value in A2 is 0

If the value in A2 is <=0, then I want B2 to display "None" instead of a
current balance.

Is this possible using a conditional formula? Or is this even possible?

Thanks!!!



All times are GMT +1. The time now is 11:02 PM.

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