Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / September 2007

Tip: Looking for answers? Try searching our database.

modified if equation.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
SteveDB1 - 20 Sep 2007 17:06 GMT
Hi all.
I'm interested in doing an if equation that will have a statement inlcuded
in my false answer.
I.e.,
=if(a1=e1,"ok","Amount short by: " a1-e1)
And for the false, my answer would become:
Amount short by: ....
Is it possible to do this?
I've tried with the above form and of course it doesn't work.
Thanks for your responses.
Dave - 20 Sep 2007 17:10 GMT
Perhaps:-

=IF(A1=E1,"OK","Amount short by: " & A1-E1)

Mike

> Hi all.
> I'm interested in doing an if equation that will have a statement inlcuded
[quoted text clipped - 6 lines]
> I've tried with the above form and of course it doesn't work.
> Thanks for your responses.
Pete_UK - 20 Sep 2007 17:13 GMT
Try this:

=if(a1=e1,"ok","Amount short by: " & a1-e1)

Hope this helps.

Pete

> Hi all.
> I'm interested in doing an if equation that will have a statement inlcuded
[quoted text clipped - 6 lines]
> I've tried with the above form and of course it doesn't work.
> Thanks for your responses.
SteveDB1 - 20 Sep 2007 17:48 GMT
doh!
why I didn't think about that, I'll never know.
I think that I once tried &&, and it gave me an error....
Thanks guys.
It works great.
Have a great day, evening, and weekend.

> Try this:
>
[quoted text clipped - 14 lines]
> > I've tried with the above form and of course it doesn't work.
> > Thanks for your responses.
Pete_UK - 20 Sep 2007 20:27 GMT
Yeah, cheers Steve.

Pete

> doh!
> why I didn't think about that, I'll never know.
[quoted text clipped - 23 lines]
>
> - Show quoted text -
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.