ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Formula with options (https://www.excelbanter.com/excel-worksheet-functions/32858-formula-options.html)

Becky

Formula with options
 
I want to create a formula that says 'if cell A1=0 then do this sum but if
cell A1 doesn't =0 then do a different sum.

Can this be done - if so how?!

ivano


"Becky" ha scritto nel messaggio
...
I want to create a formula that says 'if cell A1=0 then do this sum but if
cell A1 doesn't =0 then do a different sum.

Can this be done - if so how?!


hy,
=IF(A1=0,SUM(1,3),SUM(2,5))
ivano



Becky

Thanks.

It's not quite what I need - my fault for not being specific enough. I need
the formula to be if A=0 then 12*12 if A doesn't = 0 then 6*12.

"ivano" wrote:


"Becky" ha scritto nel messaggio
...
I want to create a formula that says 'if cell A1=0 then do this sum but if
cell A1 doesn't =0 then do a different sum.

Can this be done - if so how?!


hy,
=IF(A1=0,SUM(1,3),SUM(2,5))
ivano




Becky

It's ok, I've sorted it by modifying the answer ivano gave.

Thanks - you're a star!!! much frustration has now eased!

"Becky" wrote:

Thanks.

It's not quite what I need - my fault for not being specific enough. I need
the formula to be if A=0 then 12*12 if A doesn't = 0 then 6*12.

"ivano" wrote:


"Becky" ha scritto nel messaggio
...
I want to create a formula that says 'if cell A1=0 then do this sum but if
cell A1 doesn't =0 then do a different sum.

Can this be done - if so how?!


hy,
=IF(A1=0,SUM(1,3),SUM(2,5))
ivano





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

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