Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Create a complex formula

I need to create a formula that would sum several cells and then with the
total of that sum if the sum is between say 28-30 then put "Great" or if the
sum is between say 24-27 then put "Better" of if the sum is below 1 the "
Horrible". How would I write a formula for this????
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Create a complex formula

Hi,

Try this

=LOOKUP(SUM(A1:A20),{1,24,28},{"Horrible","Better" ,"Great"})

Mike

"Workin girl" wrote:

I need to create a formula that would sum several cells and then with the
total of that sum if the sum is between say 28-30 then put "Great" or if the
sum is between say 24-27 then put "Better" of if the sum is below 1 the "
Horrible". How would I write a formula for this????

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 39
Default Create a complex formula

What would we put if the sum is 2-23 or above 30?

Try this:
=if(and(sum(A1:A20)=28,sum(A1:A20)<=30),"Great",i f(and(sum(A1:A20)=24,sum
(A1:A20)<=27),"Better",if(sum(A1:A20)<1,"Horrible" ,"NO COMMENT")))



Workin girl wrote:
I need to create a formula that would sum several cells and then with the
total of that sum if the sum is between say 28-30 then put "Great" or if the
sum is between say 24-27 then put "Better" of if the sum is below 1 the "
Horrible". How would I write a formula for this????


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200909/1

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
need complex if formula (I think) b4nature Excel Worksheet Functions 3 June 26th 09 03:19 PM
How do you create a complex footer (e.g. title block) in Excel? Yrrag Excel Discussion (Misc queries) 2 November 14th 07 03:24 PM
Create a formula that contains a complex embedded IF statement Tom Excel Worksheet Functions 1 May 18th 07 06:38 PM
Complex If/Then formula? Danny_McCaslin Excel Discussion (Misc queries) 4 December 14th 06 06:30 PM
How do I create complex functions? Chris Excel Worksheet Functions 2 November 1st 04 12:28 AM


All times are GMT +1. The time now is 10:54 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"