Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 79
Default Advance if statements?

I need to compare a range of values as listed below, as an example:
if(A1="Grade_1",and(B1="Grade_1",and(C1="Grade_1", ...),"OK","Redesign"))).

This is in essence what I want to do but I get a #Value as the return.can
anyone please assist.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Advance if statements?

Try this:

=IF(AND(A1="Grade_1",B1="Grade_1",C1="Grade_1"),"O K","Redesign")

--
Ole P.

Ralph wrote:
I need to compare a range of values as listed below, as an example:
if(A1="Grade_1",and(B1="Grade_1",and(C1="Grade_1", ...),"OK","Redesign"))).

This is in essence what I want to do but I get a #Value as the return.can
anyone please assist.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 618
Default Advance if statements?

alternatively, but i'm not sure there's any particular benefit to it (maybe
slightly less typing), you could use

=IF(COUNTIF(A1:C1,"Grade_1")=3,"Ok","Redesign")

Cheers
JulieD

"Ole P. Erlandsen" wrote in message
...
Try this:

=IF(AND(A1="Grade_1",B1="Grade_1",C1="Grade_1"),"O K","Redesign")

--
Ole P.

Ralph wrote:
I need to compare a range of values as listed below, as an example:
if(A1="Grade_1",and(B1="Grade_1",and(C1="Grade_1", ...),"OK","Redesign"))).

This is in essence what I want to do but I get a #Value as the return.can
anyone please assist.



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Advance if statements?

You already have a response to your previous question. What is wrong with
that one?

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Ralph" wrote in message
...
I need to compare a range of values as listed below, as an example:
if(A1="Grade_1",and(B1="Grade_1",and(C1="Grade_1", ...),"OK","Redesign"))).

This is in essence what I want to do but I get a #Value as the return.can
anyone please assist.



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
Advance Filter Alberto Ast[_2_] Excel Worksheet Functions 0 March 5th 09 12:44 AM
An Advance IF Manos Excel Worksheet Functions 3 October 2nd 08 02:54 PM
I need a little help...thanks in advance Jambruins Excel Discussion (Misc queries) 1 August 3rd 05 06:00 PM
Here's one for you...(thanks for the help in advance) Jambruins Excel Discussion (Misc queries) 2 July 15th 05 07:41 PM
Help Please! Thanks in advance. Derek Richards Excel Programming 7 October 23rd 03 06:25 PM


All times are GMT +1. The time now is 11:19 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"