LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 621
Default Formula Help PLease

Joe

Jennifer's problem was resolved in her other posting Jun 29th over in
excel.newusers group.

Message-ID: om


Gord


On Tue, 5 Jul 2011 16:00:00 -0700, "joeu2004" wrote:

"Jennifer" wrote:
Could someone tell me what's wrong with this formula?
=IF((C1=C2),"",OR(IF((C1C2),"C2-C1"),OR(IF((C1<C2),"C2-C1"))


Well, it would be helpful if __you__ told us what is wrong with it.

That is, what does it do that you don't like? And what result do you want
when C1=C2, C1<C2 and C2C1?

We are not mindreaders. But sometimes our wild-a.s.s guesses hit the mark.
Perhaps one of the following meets your needs:

=IF(C1=C2,"",C2-C1)

or

=IF(C1=C2,"",ABS(C2-C1))

(The latter assumes you have a typo in the last term of your IF expression,
among other mistakes.)



 
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



All times are GMT +1. The time now is 08:54 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"