Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Help in < or mathematical excel equations

On Feb 9, 3:45 pm, polardude1983
wrote:
basically what i want to do is if Cell number H2 is greater then 0.01 and
less then 0.99 then H2 equals 0.20

but if H2 is greater then 1.00 and less then 9.99 then H2 equals 0.40
can anybody help me with this? i have this so far

=IF(AND(H2<0.99,H20.01),"0.20","Invalid")


What about this one formula:

=IF(AND(K20.01,K2<0.99),0.2,IF(AND(K21,K2<10),0. 4,"Invalid"))

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default Help in < or mathematical excel equations

Just for another alternative:

=0.2*(ABS(0.5-K2)<0.49) + 0.4*(ABS(5.5-K2)<4.5)

In article .com,
"Rolo" wrote:

On Feb 9, 3:45 pm, polardude1983
wrote:
basically what i want to do is if Cell number H2 is greater then 0.01 and
less then 0.99 then H2 equals 0.20

but if H2 is greater then 1.00 and less then 9.99 then H2 equals 0.40
can anybody help me with this? i have this so far

=IF(AND(H2<0.99,H20.01),"0.20","Invalid")


What about this one formula:

=IF(AND(K20.01,K2<0.99),0.2,IF(AND(K21,K2<10),0. 4,"Invalid"))

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,345
Default Help in < or mathematical excel equations

I know that the problem originates in the OP's description because he does
not specify what should happen if K2=1. As written your formula returns 0,
perhaps either:

=0.2*(ABS(0.5-K2)<=0.5) + 0.4*(ABS(5.5-K2)<4.5)
to return 0.2 for K2=1 or
=0.2*(ABS(0.5-K2)<0.49) + 0.4*(ABS(5.5-K2)<=4.5)
to return 0.4 for K2=1


--
Regards,

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


with @tiscali.co.uk


"JE McGimpsey" wrote in message
...
Just for another alternative:

=0.2*(ABS(0.5-K2)<0.49) + 0.4*(ABS(5.5-K2)<4.5)

In article .com,
"Rolo" wrote:

On Feb 9, 3:45 pm, polardude1983
wrote:
basically what i want to do is if Cell number H2 is greater then 0.01
and
less then 0.99 then H2 equals 0.20

but if H2 is greater then 1.00 and less then 9.99 then H2 equals 0.40
can anybody help me with this? i have this so far

=IF(AND(H2<0.99,H20.01),"0.20","Invalid")


What about this one formula:

=IF(AND(K20.01,K2<0.99),0.2,IF(AND(K21,K2<10),0. 4,"Invalid"))



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
How do I perform mathematical convolution in Excel? FeynmanDiagram Excel Discussion (Misc queries) 7 April 2nd 23 08:05 PM
Excel 5 and Excel 2000 question. Naveen Mukkelli Excel Discussion (Misc queries) 1 March 3rd 06 09:05 AM
Conditional Equations in Excel Eric Excel Worksheet Functions 2 November 7th 05 01:25 AM
Mathematical explanations/equations for Excel functions in "Help" mta7000 Excel Worksheet Functions 0 November 4th 05 04:02 AM
TRYING TO SET UP EXCEL SPREADSHEET ON MY COMPUTER MEGTOM New Users to Excel 5 October 27th 05 03:06 AM


All times are GMT +1. The time now is 07:02 AM.

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"