Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi
I am trying to create a combination function. I want to first sum specific cells in a column and then if the sum is a certain value, I want the cell to say "not met" instead of the sum. For example, I want to put the formula into cell A1. I want to sum A2:A5. The value is 10. Instead of the true value, the cell should say "not met". However, if the value is anything other than 10, the cell should show the correct sum. Is this possible? Thank you! |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
If(Sum(A2:A510,Sum(A2:A5),"not met"))
HTH Charles Chickering mary s wrote: Hi I am trying to create a combination function. I want to first sum specific cells in a column and then if the sum is a certain value, I want the cell to say "not met" instead of the sum. For example, I want to put the formula into cell A1. I want to sum A2:A5. The value is 10. Instead of the true value, the cell should say "not met". However, if the value is anything other than 10, the cell should show the correct sum. Is this possible? Thank you! |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try this:
=IF(SUM(A2:A5)=10,"Not met",SUM(A2:A5)) Biff "mary s" wrote in message ... Hi I am trying to create a combination function. I want to first sum specific cells in a column and then if the sum is a certain value, I want the cell to say "not met" instead of the sum. For example, I want to put the formula into cell A1. I want to sum A2:A5. The value is 10. Instead of the true value, the cell should say "not met". However, if the value is anything other than 10, the cell should show the correct sum. Is this possible? Thank you! |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=IF(SUM(A2:A5)=10,"not met",SUM(A2:A5))
-- Kind regards, Niek Otten Microsoft MVP - Excel "mary s" wrote in message ... | Hi | | I am trying to create a combination function. I want to first sum specific | cells in a column and then if the sum is a certain value, I want the cell to | say "not met" instead of the sum. | | For example, I want to put the formula into cell A1. I want to sum A2:A5. | The value is 10. Instead of the true value, the cell should say "not met". | However, if the value is anything other than 10, the cell should show the | correct sum. Is this possible? | | Thank you! |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I think you want this:
=IF(SUM(A2:A5)<10; SUM(A2:A5); 'Not Met') Rodrigo Ferreira "mary s" escreveu na mensagem ... Hi I am trying to create a combination function. I want to first sum specific cells in a column and then if the sum is a certain value, I want the cell to say "not met" instead of the sum. For example, I want to put the formula into cell A1. I want to sum A2:A5. The value is 10. Instead of the true value, the cell should say "not met". However, if the value is anything other than 10, the cell should show the correct sum. Is this possible? Thank you! |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Tiny typo - need to close parentheses after the first A5
If(Sum(A2:A5) 10,Sum(A2:A5),"not met")) best wishes -- Bernard V Liengme www.stfx.ca/people/bliengme remove caps from email "Die_Another_Day" wrote in message ps.com... If(Sum(A2:A510,Sum(A2:A5),"not met")) HTH Charles Chickering mary s wrote: Hi I am trying to create a combination function. I want to first sum specific cells in a column and then if the sum is a certain value, I want the cell to say "not met" instead of the sum. For example, I want to put the formula into cell A1. I want to sum A2:A5. The value is 10. Instead of the true value, the cell should say "not met". However, if the value is anything other than 10, the cell should show the correct sum. Is this possible? Thank you! |
#7
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
mary
=IF(SUM(A2:A5)=10,"not met",SUM(A2:A5)) Gord Dibben MS Excel MVP On Thu, 21 Sep 2006 11:02:02 -0700, mary s wrote: Hi I am trying to create a combination function. I want to first sum specific cells in a column and then if the sum is a certain value, I want the cell to say "not met" instead of the sum. For example, I want to put the formula into cell A1. I want to sum A2:A5. The value is 10. Instead of the true value, the cell should say "not met". However, if the value is anything other than 10, the cell should show the correct sum. Is this possible? Thank you! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
insert date | Excel Worksheet Functions | |||
Compiling macro based on cell values | Excel Discussion (Misc queries) | |||
Custom functions calculating time arguments Help Desperate | Excel Worksheet Functions | |||
How can I copy cell formats in functions? | Excel Worksheet Functions | |||
Possible Lookup Table | Excel Worksheet Functions |