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

I need help. I have a number in a cell. I want the formula to be the
following but i don't know how to write it or if it is possible. If the
value in Z10 is less than zero, then i want it to pull back the phrase "no
order". If this is not the case---if it is positive, then I want it to look
at X10....if X10 is negative, then I want the result to be (AI10-AJ10) +
AS10. If X10 is positive, then I want the result to be AS10.

Can someone please help me??
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default complicated formula

Not complicated but there are some holes in your post


=IF(Z10<0,"no order",IF(X10<0,AI10-AJ10,AS10))

what if Z10 or X10 are blank or 0?

--


Regards,


Peo Sjoblom

"Joann" wrote in message
...
I need help. I have a number in a cell. I want the formula to be the
following but i don't know how to write it or if it is possible. If the
value in Z10 is less than zero, then i want it to pull back the phrase "no
order". If this is not the case---if it is positive, then I want it to
look
at X10....if X10 is negative, then I want the result to be (AI10-AJ10) +
AS10. If X10 is positive, then I want the result to be AS10.

Can someone please help me??



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 78
Default complicated formula

Well, I don't think that will happen....given the data that I have, I don't
see anywhere in which that is the case....I am dealing with order quantities
& it will always be either positive or negative...can you help?

"Peo Sjoblom" wrote:

Not complicated but there are some holes in your post


=IF(Z10<0,"no order",IF(X10<0,AI10-AJ10,AS10))

what if Z10 or X10 are blank or 0?

--


Regards,


Peo Sjoblom

"Joann" wrote in message
...
I need help. I have a number in a cell. I want the formula to be the
following but i don't know how to write it or if it is possible. If the
value in Z10 is less than zero, then i want it to pull back the phrase "no
order". If this is not the case---if it is positive, then I want it to
look
at X10....if X10 is negative, then I want the result to be (AI10-AJ10) +
AS10. If X10 is positive, then I want the result to be AS10.

Can someone please help me??




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 78
Default complicated formula

ok, here is where I am....I have the fomula listed below.....

=IF(AC16<0,"NO ORDER",IF(AB16<0,AJ16-AK16+AT16+AU16,AU16))

AB is the column in which the result is either positive or no order. So in
this calculation, instead of calculating the equasion out
AJ16-AK16+AT16+AU16, it is just bringing back AU16....does that result of no
order have to do with this doing this?

"Peo Sjoblom" wrote:

Not complicated but there are some holes in your post


=IF(Z10<0,"no order",IF(X10<0,AI10-AJ10,AS10))

what if Z10 or X10 are blank or 0?

--


Regards,


Peo Sjoblom

"Joann" wrote in message
...
I need help. I have a number in a cell. I want the formula to be the
following but i don't know how to write it or if it is possible. If the
value in Z10 is less than zero, then i want it to pull back the phrase "no
order". If this is not the case---if it is positive, then I want it to
look
at X10....if X10 is negative, then I want the result to be (AI10-AJ10) +
AS10. If X10 is positive, then I want the result to be AS10.

Can someone please help me??






  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default complicated formula

I think this works - but depends on how you want to treat a zero. Formula
below assumes a negative number is classed as something less than zero

Hope this helps.

=IF(Z10<0,"No Order",IF(X10<0,AI10-AJ10+AS10,AS10))




"Joann" wrote in message
...
I need help. I have a number in a cell. I want the formula to be the
following but i don't know how to write it or if it is possible. If the
value in Z10 is less than zero, then i want it to pull back the phrase "no
order". If this is not the case---if it is positive, then I want it to
look
at X10....if X10 is negative, then I want the result to be (AI10-AJ10) +
AS10. If X10 is positive, then I want the result to be AS10.

Can someone please help me??


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
Complicated SUM IF formula mckzach Excel Worksheet Functions 2 June 18th 08 05:26 PM
Please Help with complicated SUM formula mrl Excel Worksheet Functions 5 May 1st 08 10:24 PM
Complicated formula Lemony_M Excel Discussion (Misc queries) 10 October 1st 07 03:59 PM
Complicated IF Formula Luke Excel Worksheet Functions 5 November 8th 05 02:18 PM
Complicated Formula Stephen Excel Discussion (Misc queries) 12 April 17th 05 01:15 PM


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