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 / May 2008

Tip: Looking for answers? Try searching our database.

Show text massege when formula result is true

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Papin - 29 May 2008 20:16 GMT
Can i use the if function with the cell function?
Signature

if cell a1 = 100 then " Your are close to 3%"
if cell a1 = 300 then " Your are close to 6%"
if cell a1 = 600 then " Your are close to 9%"

text masseges
" Your are close to 3%"
" Your are close to 6%"
" Your are close to 9%"

thanks

Excel Rocks

Sandy Mann - 29 May 2008 20:37 GMT
If you mean exactly those figures thentry:

=IF(A1=100,"You are close to 3%",IF(A1=300,"You are close to
6%",IF(A1=600,"You are close to 6%","Other answer")))

Signature

HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings

sandymann2@mailinator.com
Replace @mailinator.com with @tiscali.co.uk

> Can i use the if function with the cell function?
PCLIVE - 29 May 2008 20:52 GMT
Why not just give an exact percentage?
With A1 as your current progress out of the overall process (figure in B1):

="You are at " & (A1/B1*100)& "%."

Does that help?
Paul

> Can i use the if function with the cell function?
Sandy Mann - 29 May 2008 21:11 GMT
> ="You are at " & (A1/B1*100)& "%."

For to work wouldn't B1 have to be 3333.3333 for 3%, 5000 for 6% and
6666.66667 for 9%?

I would also suggest:

="You are at " & TEXT(A1/B1,"#%")

to prevent numerous digits being returned from the division.

Signature

HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings

sandymann2@mailinator.com
Replace @mailinator.com with @tiscali.co.uk

> Why not just give an exact percentage?
> With A1 as your current progress out of the overall process (figure in
[quoted text clipped - 6 lines]
>
>> Can i use the if function with the cell function?
PCLIVE - 29 May 2008 21:16 GMT
Good point Sandy!  The theory was good though :-)

>> ="You are at " & (A1/B1*100)& "%."
>
[quoted text clipped - 17 lines]
>>
>>> Can i use the if function with the cell function?
Reitanos - 29 May 2008 21:18 GMT
Sure. You can either nest a few IFs or use math to make the % show up
properly. I'm having a problem with your example numbers because if
100 is 3% it would mean that 300 is 9%.

I think your formula might look like this (and not need the IF at all)
with the changes I made to your numbers:
="You are close to "&TRUNC(A1/33,0)&"%"

If the numbers cannot be calculated directly, you could use a LOOKUP
instead of the division.

> Can i use the if function with the cell function?
> --
[quoted text clipped - 10 lines]
>
> Excel Rocks
Reitanos - 29 May 2008 21:21 GMT
Excuse me if this post is a dupe, because it didn't seem to show up
after the first attempt.

You can either nest a few IFs or use math to make the % show up
properly. I'm having a problem with your example numbers because if
100 is 3% it would mean that 300 is 9%.

I think your formula might look like this (and not need the IF at all)
with the changes I made to your numbers:
="You are close to "&TRUNC(A1/33,0)&"%"

If the numbers cannot be calculated directly, you could use a LOOKUP
instead of the division.

> Can i use the if function with the cell function?
> --
[quoted text clipped - 10 lines]
>
> Excel Rocks
 
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.