PC Review


Reply
Thread Tools Rate Thread

combination functions in one cell

 
 
=?Utf-8?B?bWFyeSBz?=
Guest
Posts: n/a
 
      21st Sep 2006
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 With Quote
 
 
 
 
Die_Another_Day
Guest
Posts: n/a
 
      21st Sep 2006
If(Sum(A2:A5>10,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!


 
Reply With Quote
 
Biff
Guest
Posts: n/a
 
      21st Sep 2006
Try this:

=IF(SUM(A2:A5)=10,"Not met",SUM(A2:A5))

Biff

"mary s" <(E-Mail Removed)> wrote in message
news:5FD2590F-43CD-470A-A4A3-(E-Mail Removed)...
> 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 With Quote
 
Niek Otten
Guest
Posts: n/a
 
      21st Sep 2006
=IF(SUM(A2:A5)=10,"not met",SUM(A2:A5))

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"mary s" <(E-Mail Removed)> wrote in message news:5FD2590F-43CD-470A-A4A3-(E-Mail Removed)...
| 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 With Quote
 
Rodrigo Ferreira
Guest
Posts: n/a
 
      21st Sep 2006
I think you want this:

=IF(SUM(A2:A5)<>10; SUM(A2:A5); 'Not Met')

Rodrigo Ferreira

"mary s" <(E-Mail Removed)> escreveu na mensagem
news:5FD2590F-43CD-470A-A4A3-(E-Mail Removed)...
> 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 With Quote
 
Bernard Liengme
Guest
Posts: n/a
 
      21st Sep 2006
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> If(Sum(A2:A5>10,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!

>



 
Reply With Quote
 
Gord Dibben
Guest
Posts: n/a
 
      21st Sep 2006
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 <(E-Mail Removed)>
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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
If , Mid or right functions or a combination thereoff. Dave Microsoft Excel Worksheet Functions 3 26th Jan 2011 10:27 PM
Combination to Two formulas with the Help of AND / OR / IF Functions Akash Microsoft Excel Programming 1 27th Apr 2010 07:29 AM
Access combination of IIf and Sum functions needed... Please help! Koral Microsoft Access Reports 2 19th Jul 2008 02:14 AM
combination of functions? =?Utf-8?B?dmljdmVnYQ==?= Microsoft Excel Worksheet Functions 0 7th Feb 2006 07:40 PM
Using a combination of OFFSET and COUNTA functions K. Georgiadis Microsoft Excel Charting 8 10th Jun 2004 06:21 PM


Features
 

Advertising
 

Newsgroups
 


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