Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 26
Default If function with certain condition

I have 4 cells,

if 1st cell has number, then result is "A"
if 1st & 2nd cell has number, then result is "B"
if 1st,2nd & 3rd has number, then result is "C"
if all cells has number, result is "D"

How can i make this function?

Regards,

  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,646
Default If function with certain condition

What if 2nd & 3rd has number?
Stefi


€˛Pran€¯ ezt Ć*rta:

I have 4 cells,

if 1st cell has number, then result is "A"
if 1st & 2nd cell has number, then result is "B"
if 1st,2nd & 3rd has number, then result is "C"
if all cells has number, result is "D"

How can i make this function?

Regards,

  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 26
Default If function with certain condition

besides those condition, value will be "in process"

"Stefi" wrote:

What if 2nd & 3rd has number?
Stefi


€˛Pran€¯ ezt Ć*rta:

I have 4 cells,

if 1st cell has number, then result is "A"
if 1st & 2nd cell has number, then result is "B"
if 1st,2nd & 3rd has number, then result is "C"
if all cells has number, result is "D"

How can i make this function?

Regards,

  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,059
Default If function with certain condition

"Pran" wrote:
I have 4 cells,
if 1st cell has number, then result is "A"
if 1st & 2nd cell has number, then result is "B"
if 1st,2nd & 3rd has number, then result is "C"
if all cells has number, result is "D"
How can i make this function?


=IF(ISNUMBER(A1),IF(ISNUMBER(A2),IF(ISNUMBER(A3),I F(ISNUMBER(A4),"D","C"),"B"),"A"),"in
process")

  #5   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,059
Default If function with certain condition

PS....

I wrote:
=IF(ISNUMBER(A1),IF(ISNUMBER(A2),IF(ISNUMBER(A3),I F(ISNUMBER(A4),"D","C"),"B"),"A"),
"in process")


If you will ensure that A2 will not have a number unless A1 does, and A3
will not have a number unless A1 and A2 do, and A4 will not have a number
unless A1, A2 and A3 do -- that is, A1:A4 are filled in in sequence, as
dates of completion of sequential stages -- then:

=CHOOSE(1+SUMPRODUCT(--ISNUMBER(A1:A4)), "in process", "A", "B", "C", "D")


----- original message -----

"JoeU2004" wrote in message
...
"Pran" wrote:
I have 4 cells,
if 1st cell has number, then result is "A"
if 1st & 2nd cell has number, then result is "B"
if 1st,2nd & 3rd has number, then result is "C"
if all cells has number, result is "D"
How can i make this function?


=IF(ISNUMBER(A1),IF(ISNUMBER(A2),IF(ISNUMBER(A3),I F(ISNUMBER(A4),"D","C"),"B"),"A"),"in
process")




  #6   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 26
Default If function with certain condition

Both formula WORK,

Many thx bro,
Pran,


"JoeU2004" wrote:

PS....

I wrote:
=IF(ISNUMBER(A1),IF(ISNUMBER(A2),IF(ISNUMBER(A3),I F(ISNUMBER(A4),"D","C"),"B"),"A"),
"in process")


If you will ensure that A2 will not have a number unless A1 does, and A3
will not have a number unless A1 and A2 do, and A4 will not have a number
unless A1, A2 and A3 do -- that is, A1:A4 are filled in in sequence, as
dates of completion of sequential stages -- then:

=CHOOSE(1+SUMPRODUCT(--ISNUMBER(A1:A4)), "in process", "A", "B", "C", "D")


----- original message -----

"JoeU2004" wrote in message
...
"Pran" wrote:
I have 4 cells,
if 1st cell has number, then result is "A"
if 1st & 2nd cell has number, then result is "B"
if 1st,2nd & 3rd has number, then result is "C"
if all cells has number, result is "D"
How can i make this function?


=IF(ISNUMBER(A1),IF(ISNUMBER(A2),IF(ISNUMBER(A3),I F(ISNUMBER(A4),"D","C"),"B"),"A"),"in
process")



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
conditional: stop function under certain condition kana Excel Worksheet Functions 1 September 5th 07 03:54 PM
I am having trouble with the IF function and a compound condition rub Excel Worksheet Functions 15 December 28th 06 04:18 AM
max function with condition shaji Excel Discussion (Misc queries) 3 July 10th 06 05:02 PM
adding part of a function on condition. foxgguy2005 Excel Worksheet Functions 4 May 26th 05 02:45 PM
IF Function with formatting condition ABDIAZ Excel Worksheet Functions 2 April 27th 05 10:20 PM


All times are GMT +1. The time now is 01:19 PM.

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

About Us

"It's about Microsoft Excel"