Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
sfar007
 
Posts: n/a
Default Problem with nested if function. PLS HELP




Hi,

I need some help with the nested if function.

In one cell (J225), i have the following function (which works
perfectly):
=IF(AND(H2250,F2250),SUM(F225/I225),"")

My problem is with the nested if function in the adjacent cell (K225):
=IF(J22530,"5",IF(J22526.5,"4",IF(J22520.5,"3", IF(J22517.49999999,"2",IF(J225=1,"1","")))))

Whenever J225 is blank, the result in K225 should also remain blank.
However, this is not the case as the result is coming out as "5".

Please note, that if i remove the 1st function (J225), the 2nd function
(K225) works perfectly!!!

thanks


--
sfar007
------------------------------------------------------------------------
sfar007's Profile: http://www.excelforum.com/member.php...o&userid=35131
View this thread: http://www.excelforum.com/showthread...hreadid=548890

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
David Biddulph
 
Posts: n/a
Default Problem with nested if function. PLS HELP

"sfar007" wrote in
message ...



Hi,

I need some help with the nested if function.

In one cell (J225), i have the following function (which works
perfectly):
=IF(AND(H2250,F2250),SUM(F225/I225),"")

My problem is with the nested if function in the adjacent cell (K225):
=IF(J22530,"5",IF(J22526.5,"4",IF(J22520.5,"3", IF(J22517.49999999,"2",IF(J225=1,"1","")))))

Whenever J225 is blank, the result in K225 should also remain blank.
However, this is not the case as the result is coming out as "5".

Please note, that if i remove the 1st function (J225), the 2nd function
(K225) works perfectly!!!


=IF(J225="","",IF(J22530,"5",IF(J22526.5,"4",IF( J22520.5,"3",IF(J22517.49999999,"2",IF(J225=1," 1",""))))))
--
David Biddulph


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
sfar007
 
Posts: n/a
Default Problem with nested if function. PLS HELP


thanks a lot dave. it works :)


--
sfar007
------------------------------------------------------------------------
sfar007's Profile: http://www.excelforum.com/member.php...o&userid=35131
View this thread: http://www.excelforum.com/showthread...hreadid=548890

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
Custom functions calculating time arguments Help Desperate Bill_De Excel Worksheet Functions 12 April 25th 06 02:22 AM
function problem regarding cell range chindo Excel Worksheet Functions 1 November 10th 05 03:06 AM
DIAS.LAB function problem Gerardo Excel Discussion (Misc queries) 1 October 31st 05 05:50 PM
Problem with function "Worksheet_Change" konpego Excel Worksheet Functions 0 June 23rd 05 05:46 AM
Match Function Problem - Won't Find Certain Numbers PE Excel Discussion (Misc queries) 2 May 9th 05 03:53 PM


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