ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Need formula (https://www.excelbanter.com/excel-worksheet-functions/232672-need-formula.html)

Debsdad

Need formula
 
I have a spread sheet that calculates a range of cells but would like to have
it return blank if less than 0. The formula I have is =SUM(F5:R5)-C5-D5+B5,
what do I need to do?

Thank you

Shane Devenshire[_2_]

Need formula
 
Try:

=IF((SUM(F5:R5)-C5-D5+B5)<0,"",=SUM(F5:R5)-C5-D5+B5)

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Debsdad" wrote:

I have a spread sheet that calculates a range of cells but would like to have
it return blank if less than 0. The formula I have is =SUM(F5:R5)-C5-D5+B5,
what do I need to do?

Thank you


Sheeloo

Need formula
 
Try
=IF((SUM(F5:R5)-C5-D5+B5) < 0, "",SUM(F5:R5)-C5-D5+B5)
where you are using
=SUM(F5:R5)-C5-D5+B5

"Debsdad" wrote:

I have a spread sheet that calculates a range of cells but would like to have
it return blank if less than 0. The formula I have is =SUM(F5:R5)-C5-D5+B5,
what do I need to do?

Thank you


Debsdad

Need formula
 
I Get a FALSE when this is applied

"Sheeloo" wrote:

Try
=IF((SUM(F5:R5)-C5-D5+B5) < 0, "",SUM(F5:R5)-C5-D5+B5)
where you are using
=SUM(F5:R5)-C5-D5+B5

"Debsdad" wrote:

I have a spread sheet that calculates a range of cells but would like to have
it return blank if less than 0. The formula I have is =SUM(F5:R5)-C5-D5+B5,
what do I need to do?

Thank you


Debsdad

Need formula
 
This did not return anything except an error.

"Shane Devenshire" wrote:

Try:

=IF((SUM(F5:R5)-C5-D5+B5)<0,"",=SUM(F5:R5)-C5-D5+B5)

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Debsdad" wrote:

I have a spread sheet that calculates a range of cells but would like to have
it return blank if less than 0. The formula I have is =SUM(F5:R5)-C5-D5+B5,
what do I need to do?

Thank you


Sheeloo

Need formula
 
I tested it again and got the expected answer..

Pl. paste the formula you are using.

"Debsdad" wrote:

I Get a FALSE when this is applied

"Sheeloo" wrote:

Try
=IF((SUM(F5:R5)-C5-D5+B5) < 0, "",SUM(F5:R5)-C5-D5+B5)
where you are using
=SUM(F5:R5)-C5-D5+B5

"Debsdad" wrote:

I have a spread sheet that calculates a range of cells but would like to have
it return blank if less than 0. The formula I have is =SUM(F5:R5)-C5-D5+B5,
what do I need to do?

Thank you



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

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