#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 79
Default Need formula help

Hello,
Here is some sample data:

1 1
#N/A #N/A
#N/A #N/A
#N/A #N/A
12 #N/A
#N/A 25

So basically, I am looking for a formula that will tell me if the item in
column 1 is a number and item in column 2 is a number then it will put
"DONE", if item in column 1 is a number and item in column 2 is "#N/A", then
it will put "START", if item in column 1 is "#N/A" and item in column 2 is a
number it will put "END", otherwise if both columns are "#N/A", it will leave
blank. Any ideas.

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default Need formula help

=IF(AND(ISNA(A1),ISNA(B1),"",IF(AND(ISNA(A1),ISNUM BER(B1),"END",IF(AND(ISNUMBER(A1),ISNA(B1),"START" ,"DONE")))

Dave
--
Brevity is the soul of wit.


"A.S." wrote:

Hello,
Here is some sample data:

1 1
#N/A #N/A
#N/A #N/A
#N/A #N/A
12 #N/A
#N/A 25

So basically, I am looking for a formula that will tell me if the item in
column 1 is a number and item in column 2 is a number then it will put
"DONE", if item in column 1 is a number and item in column 2 is "#N/A", then
it will put "START", if item in column 1 is "#N/A" and item in column 2 is a
number it will put "END", otherwise if both columns are "#N/A", it will leave
blank. Any ideas.

Thanks.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 79
Default Need formula help

I get an error with this, any thoughts why?

Thanks for the help

"Dave F" wrote:

=IF(AND(ISNA(A1),ISNA(B1),"",IF(AND(ISNA(A1),ISNUM BER(B1),"END",IF(AND(ISNUMBER(A1),ISNA(B1),"START" ,"DONE")))

Dave
--
Brevity is the soul of wit.


"A.S." wrote:

Hello,
Here is some sample data:

1 1
#N/A #N/A
#N/A #N/A
#N/A #N/A
12 #N/A
#N/A 25

So basically, I am looking for a formula that will tell me if the item in
column 1 is a number and item in column 2 is a number then it will put
"DONE", if item in column 1 is a number and item in column 2 is "#N/A", then
it will put "START", if item in column 1 is "#N/A" and item in column 2 is a
number it will put "END", otherwise if both columns are "#N/A", it will leave
blank. Any ideas.

Thanks.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 79
Default Need formula help

Nevermind. Got it, Thanks! It was a paranthesis issue.

"Dave F" wrote:

=IF(AND(ISNA(A1),ISNA(B1),"",IF(AND(ISNA(A1),ISNUM BER(B1),"END",IF(AND(ISNUMBER(A1),ISNA(B1),"START" ,"DONE")))

Dave
--
Brevity is the soul of wit.


"A.S." wrote:

Hello,
Here is some sample data:

1 1
#N/A #N/A
#N/A #N/A
#N/A #N/A
12 #N/A
#N/A 25

So basically, I am looking for a formula that will tell me if the item in
column 1 is a number and item in column 2 is a number then it will put
"DONE", if item in column 1 is a number and item in column 2 is "#N/A", then
it will put "START", if item in column 1 is "#N/A" and item in column 2 is a
number it will put "END", otherwise if both columns are "#N/A", it will leave
blank. Any ideas.

Thanks.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default Need formula help

Sorry about that. Parentheses are key.
--
Brevity is the soul of wit.


"A.S." wrote:

Nevermind. Got it, Thanks! It was a paranthesis issue.

"Dave F" wrote:

=IF(AND(ISNA(A1),ISNA(B1),"",IF(AND(ISNA(A1),ISNUM BER(B1),"END",IF(AND(ISNUMBER(A1),ISNA(B1),"START" ,"DONE")))

Dave
--
Brevity is the soul of wit.


"A.S." wrote:

Hello,
Here is some sample data:

1 1
#N/A #N/A
#N/A #N/A
#N/A #N/A
12 #N/A
#N/A 25

So basically, I am looking for a formula that will tell me if the item in
column 1 is a number and item in column 2 is a number then it will put
"DONE", if item in column 1 is a number and item in column 2 is "#N/A", then
it will put "START", if item in column 1 is "#N/A" and item in column 2 is a
number it will put "END", otherwise if both columns are "#N/A", it will leave
blank. Any ideas.

Thanks.



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 79
Default Need formula help

Now to follow-up on this, is there a formula that when a "DONE" is
recognized, then it says "SOLD", otherwise if blank "UNSOLD", and if if sees
a "START" it marks its as "SOLD" and everything in between to the next "END".
In other words, with the data I had befo

1 1 DONE SOLD
#N/A #N/A
#N/A #N/A
12 #N/A START SOLD
#N/A #N/A SOLD
#N/A #N/A SOLD
#N/A 25 END SOLD
#N/A #N/A




  #7   Report Post  
Posted to microsoft.public.excel.misc
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default Need formula help

This formula will meet your original conditons.......and then some

=IF(AND(ISNA(A1),ISNA(B1)),"",IF(AND(ISNA(A1),ISNU MBER(B1)),"END",IF(AND(ISNUMBER(A1),ISNA(B1)),"STA RT",IF(AND(ISNUMBER(A1),ISNUMBER(B1)),"DONE","Cond ition not specified"))))

As for your new condition, that is a very dangerous situation to have the
result of one row depend on "the one above", for if the data is ever sorted,
things will go crazy...

Vaya con Dios,
Chuck, CABGx3



"A.S." wrote:

Now to follow-up on this, is there a formula that when a "DONE" is
recognized, then it says "SOLD", otherwise if blank "UNSOLD", and if if sees
a "START" it marks its as "SOLD" and everything in between to the next "END".
In other words, with the data I had befo

1 1 DONE SOLD
#N/A #N/A
#N/A #N/A
12 #N/A START SOLD
#N/A #N/A SOLD
#N/A #N/A SOLD
#N/A 25 END SOLD
#N/A #N/A




  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,118
Default Need formula help

Try this:

With
A1: (Start Value: a number or #N/A)
B1: (End Value: a number or #N/A)

This formula returns the status
C1: =CHOOSE(SUMPRODUCT(--ISNUMBER(A1:B1)*{1,2})+1,"","start","end","Done")

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"A.S." wrote:

Hello,
Here is some sample data:

1 1
#N/A #N/A
#N/A #N/A
#N/A #N/A
12 #N/A
#N/A 25

So basically, I am looking for a formula that will tell me if the item in
column 1 is a number and item in column 2 is a number then it will put
"DONE", if item in column 1 is a number and item in column 2 is "#N/A", then
it will put "START", if item in column 1 is "#N/A" and item in column 2 is a
number it will put "END", otherwise if both columns are "#N/A", it will leave
blank. Any ideas.

Thanks.

  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default Need formula help

That's cool.
--
Brevity is the soul of wit.


"Ron Coderre" wrote:

Try this:

With
A1: (Start Value: a number or #N/A)
B1: (End Value: a number or #N/A)

This formula returns the status
C1: =CHOOSE(SUMPRODUCT(--ISNUMBER(A1:B1)*{1,2})+1,"","start","end","Done")

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"A.S." wrote:

Hello,
Here is some sample data:

1 1
#N/A #N/A
#N/A #N/A
#N/A #N/A
12 #N/A
#N/A 25

So basically, I am looking for a formula that will tell me if the item in
column 1 is a number and item in column 2 is a number then it will put
"DONE", if item in column 1 is a number and item in column 2 is "#N/A", then
it will put "START", if item in column 1 is "#N/A" and item in column 2 is a
number it will put "END", otherwise if both columns are "#N/A", it will leave
blank. Any ideas.

Thanks.

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
Reusing formula Tony29 Excel Discussion (Misc queries) 7 September 7th 06 03:34 AM
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM


All times are GMT +1. The time now is 12:18 AM.

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"