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

Tip: Looking for answers? Try searching our database.

Formula

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Yitzhack - 31 Jul 2008 04:33 GMT
I'm working on a project where I'm calculating the number of weeks per
quarter. What a need is a formula where 40=p, 80=pp 120=ppp and finally
160=pppp. Is that even possible?

Thanks

Signature

Regards
YM

David Biddulph - 31 Jul 2008 08:29 GMT
=IF(A2=40,"p",IF(A2=80,"pp",IF(A2=120,"ppp",IF(A2=160,"whatever answer you
want if A2 isn't any of the numbers you quoted"))))

Another approach, depending on how you wish to treat your undefined cases,
might be =REPT("p",MIN(A2/40,4))
--
David Biddulph

> I'm working on a project where I'm calculating the number of weeks per
> quarter. What a need is a formula where 40=p, 80=pp 120=ppp and finally
> 160=pppp. Is that even possible?
>
> Thanks
Yitzhack - 01 Aug 2008 00:31 GMT
that's what i needed. Thanks
Signature

Regards
YM

> =IF(A2=40,"p",IF(A2=80,"pp",IF(A2=120,"ppp",IF(A2=160,"whatever answer you
> want if A2 isn't any of the numbers you quoted"))))
[quoted text clipped - 9 lines]
> >
> > Thanks
 
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.