Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Nested IF / greater than / less than help

I wrote this formula:
=IF(H2<=5,H2*2,IF(AND(H25,H2<35),H2*1.85,IF(H2=3 5,H2*1.75)))

but it is taking H2 value: .72 and returning 1.26 (*1.75) instead of
1.44 (*1.44).

The goal:
IF H2 is less than or equal to 5, multiply by (*2).
IF H2 is greater than 5 or less than 35, multiply by 1.85
IF H2 is greater than or equal to 35, multiply by 1.75

Thank you!!!
Tobey
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Nested IF / greater than / less than help

Try it this way...

=IF(H2<=5,2*H2,IF(H2<35,1.85*H2,1.75*H2))

Rick


"Tobey" wrote in message
...
I wrote this formula:
=IF(H2<=5,H2*2,IF(AND(H25,H2<35),H2*1.85,IF(H2=3 5,H2*1.75)))

but it is taking H2 value: .72 and returning 1.26 (*1.75) instead of
1.44 (*1.44).

The goal:
IF H2 is less than or equal to 5, multiply by (*2).
IF H2 is greater than 5 or less than 35, multiply by 1.85
IF H2 is greater than or equal to 35, multiply by 1.75

Thank you!!!
Tobey


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default Nested IF / greater than / less than help

Try this

=IF(H2<=5,H2*2,IF(H2<35,H2*1.85,H2*1.71))

Mike

"Tobey" wrote:

I wrote this formula:
=IF(H2<=5,H2*2,IF(AND(H25,H2<35),H2*1.85,IF(H2=3 5,H2*1.75)))

but it is taking H2 value: .72 and returning 1.26 (*1.75) instead of
1.44 (*1.44).

The goal:
IF H2 is less than or equal to 5, multiply by (*2).
IF H2 is greater than 5 or less than 35, multiply by 1.85
IF H2 is greater than or equal to 35, multiply by 1.75

Thank you!!!
Tobey

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default Nested IF / greater than / less than help

oops,

I meant
=IF(H2<=5,H2*2,IF(H2<35,H2*1.85,H2*1.75))


"Mike H" wrote:

Try this

=IF(H2<=5,H2*2,IF(H2<35,H2*1.85,H2*1.71))

Mike

"Tobey" wrote:

I wrote this formula:
=IF(H2<=5,H2*2,IF(AND(H25,H2<35),H2*1.85,IF(H2=3 5,H2*1.75)))

but it is taking H2 value: .72 and returning 1.26 (*1.75) instead of
1.44 (*1.44).

The goal:
IF H2 is less than or equal to 5, multiply by (*2).
IF H2 is greater than 5 or less than 35, multiply by 1.85
IF H2 is greater than or equal to 35, multiply by 1.75

Thank you!!!
Tobey



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
Nested Greater than or less than if statements charlie Excel Worksheet Functions 6 April 24th 23 07:46 PM
If formula: if A1 is greater than B1 and A1 is greater than zero.. Jason Excel Discussion (Misc queries) 2 April 5th 10 06:11 PM
Nested Greater than or less than Formula Bec G (Oz) Excel Discussion (Misc queries) 5 February 11th 10 06:35 AM
Nested If statement to find greater than but less than numbers Aaron Excel Worksheet Functions 3 November 10th 06 03:14 AM
CountIf Greater Than/Find Greater Than Sisilla[_2_] Excel Programming 12 October 6th 06 08:04 PM


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