View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default Need help with Nested IF - How does Excel read

=IF(V22=J22,J22, V22)

would be equivalent and the nested IF is extraneous.

--
Regards,
Tom Ogilvy


wrote in message
ups.com...
Hi,

I'm working on a spreadsheet and have come across a seemingly simple
nested IF but am confused if it is correct - previous owner of process
is not available.

Here is the original formula

=IF(V22=J22,IF(J22<V22,J22,J22),V22)

I read this as when V22 = J, then return J22 (true), else return V22
(false). The formula looks complicated to me because the second IF
appears to return J22 in all cases when V22=J22, otherwise the false
part is retuurn V22 when V22 is < J22.

I think I can get the same result with the following:

=IF(V22=J22,J22, V22)

Am I missing something/anything is how the nested IF works in the
original formula? Thanks for the look.

Chip